Skip to content

Commit

Permalink
Merge pull request #2 from npm-packages-collection/32teeth/feature/touch
Browse files Browse the repository at this point in the history
update: touch function imporoved
  • Loading branch information
32teeth authored Oct 30, 2024
2 parents 2021c4b + e0641b9 commit 4d422cd
Show file tree
Hide file tree
Showing 9 changed files with 2,577 additions and 300 deletions.
2 changes: 1 addition & 1 deletion example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ document.addEventListener('DOMContentLoaded', () => {
});
const multikey = new MultiKeyHandler(function(keys) {
GamePad.events(keys);
}, { keys, arrows: true, debug: true });
}, { keys, arrows: true, debug: false });
});
28 changes: 18 additions & 10 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 5 additions & 37 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,13 @@
{
"name": "hud-gamepad-example",
"description": "A Heads Up Display (HUD) for Gamepads, Keyboards, and more",
"author": "Eugene Yevhen Andruszczenko <[email protected]>",
"contributors": [
"32teeth <[email protected]> (https://github.com/32teeth)"
],
"repository": {
"type": "git",
"url": "git+https://github.com/32teeth/hud-gamepad.git"
},
"license": "ISC",
"version": "0.5.9",
"keywords": [
"gaming",
"gamepad",
"game-pad",
"controller",
"hud",
"heads-up-display"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"engines": {
"node": "20.x",
"npm": "10.x"
},
"main": "index.js",
"private": true,
"type": "module",
"scripts": {
"clean": "npm run clean:node",
"clean:node": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"example:setup": "npm run clean && npm install ../hud-gamepad.tgz && npm run example:serve",
"example:serve": "live-server --port=9000",
"example:echo": "echo 'HUD Gamepad Example'"
"start": "cd .. && npm run start"
},
"dependencies": {
"hud-gamepad": "file:../hud-gamepad.tgz"
},
"bugs": {
"url": "https://github.com/32teeth/hud-gamepad/issues"
},
"homepage": "https://github.com/32teeth/hud-gamepad#readme"
}
"npm-hud-gamepad": "file:.."
}
}
Loading

0 comments on commit 4d422cd

Please sign in to comment.