JoystickAPI: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
== API Tutorial ==
== API Tutorial ==


This API introduces new events on the window object for reading joystick and controller (hereby referred to as joystick) state.
This API introduces new events on the window object for reading joystick and controller (hereby referred to as joystick) state.  In addition to these events, the API also adds a Joystick object, which can be used to query the state of connected joysticks.


=== Connecting to a Joystick ===
=== Connecting to a Joystick ===
Confirmed users
656

edits

Navigation menu