4 ms·
This might be an appropriate use for the Gamepad API which can be queried on every animation frame for a button’s state. https://developer.mozilla.org/en-US/do
by pininja 3y ago
This might be an appropriate use for the Gamepad API which can be queried on every animation frame for a button’s state.
https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API...
- Waterluvian 3y agoThe Gamepad API is fun, but we’re not trying to implement a gamepad.