Re: [w3c/gamepad] Add gamepad input events (#152)

> Events are also how the underlying hardware interfaces work, they generate interrupts when the controller state changes. Providing an event-based API allows developers to get those events as quickly as possible without wasting cycles polling.

Ah, I thought HID was polling based and this API was an abstraction layer on top of polling. If it's event-driven, then this makes a lot more sense.

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

Message ID: <w3c/gamepad/pull/152/c1135131803@github.com>

Received on Monday, 23 May 2022 20:59:03 UTC