Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

gamepad2keyboard

# 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)