JoystickAPI: Difference between revisions

Jump to navigation Jump to search
Line 16: Line 16:
== API Tutorial ==
== API Tutorial ==


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.
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