Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cvan/gamepad2keyboard
synthesises browser keyboard events from gamepad controls
https://github.com/cvan/gamepad2keyboard
Last synced: 2 days ago
JSON representation
synthesises browser keyboard events from gamepad controls
- Host: GitHub
- URL: https://github.com/cvan/gamepad2keyboard
- Owner: cvan
- License: mit
- Created: 2014-11-21T02:23:26.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-30T21:05:35.000Z (almost 10 years ago)
- Last Synced: 2025-01-29T18:02:41.972Z (9 days ago)
- Language: JavaScript
- Homepage:
- Size: 258 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# gamepad2keyboard
Synthesises JavaScript browser keyboard events from button/axis changes from the Gamepad API (`navigator.getGamepads`).
## Installation
### npm
1. Install from npm:
npm install gamepad2keyboard
### GitHub
1. Clone the git repository from GitHub:
git clone [email protected]:cvan/gamepad2keyboard.git
2. Open the working directory:
cd gamepad2keyboard
3. Install the Node dependencies:
npm install
## Development
To run the file watchers, run this from the command line:
npm run watch
## Licence
[MIT Licence](LICENCE)
## Contributing
[Contributions are very welcome!](CONTRIBUTING.md)