Re: [w3c/gamepad] Make gamepads accessible by web worker (#37)

This should be re-opened.

It's exactly as @Mictronics said, Gamepad polling is *not* events. The raw Gamepad object is functionally useless; you have to "sample" (reduce) multiple Gamepad polls into something usable (eg, to read a shoryuken input). If you have a high intensity game (like a fighting game) which needs a sample every game tick, and reduces multiple polls per sample, then you need to put your gamepad polling and sampling on another thread (preferably with the game).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/37#issuecomment-1129146777
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/issues/37/1129146777@github.com>

Received on Tuesday, 17 May 2022 17:45:22 UTC