This proposal adds input events for gamepad button and axis inputs.
The current polling-based model for Gamepad API inputs requires applications to repeatedly fetch and compare the full gamepad state in order to detect button presses and axis movements. Providing an alternative event-based model allows applications to remove the polling loop and only respond to relevant events. Applications switching from polling to events may also see a reduction in average input latency.
Specification currently under development in a Working Group
Status in Chromium
Consensus & Standardization
Intent to Prototype urlIntent to Prototype thread
Search tagsgamepad, button, axis, event,
Last updated on 2021-09-23