tentone / syncinput

Synchronous keyboard and mouse input for web applications. Useful for games and canvas / webgl synchronous content in web applications.
https://tentone.github.io/syncinput/
MIT License
20 stars 4 forks source link

Update README.md #2

Closed manuq closed 1 year ago

manuq commented 1 year ago

Add imports.

Also, the constants like MouseButton.LEFT or Keys.A are in separate objects.

tentone commented 1 year ago

Applied some changes to add gamepad and touch example as well.

Thanks a lot for this PR!