microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.24k stars 113 forks source link

gamepad client needs better APIs #569

Closed mmoskal closed 11 months ago

mmoskal commented 11 months ago

Currently, gamepad sends events when any of buttons change with a bitmask. I guess we would like to be able to subscribe to specific buttons, possibly with "repeat" semantics.

pelikhan commented 11 months ago

To be clear, you want to improve the devicescript client. Are you wanting to modify the service definition?

mmoskal commented 11 months ago

Just the client

pelikhan commented 11 months ago

PR https://github.com/microsoft/devicescript/pull/573