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

> Handling Gamepads from workers would be like handling mouse/keyboard/touch/pointer events from workers, which is (of course) not done.

Unlike mouse/keyboard/touch or pointer inputs which are handled by events, the gamepad API requires polling to obtain input values.
A polling job is definitely something I would like to handle in a worker and not burden the main thread with that. Especially in cases where the polling rate is not synchronized with the animation frame.

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

Received on Sunday, 19 November 2017 16:01:42 UTC