SuperFlyTV / xkeys

A Node.js module to interact with the X-keys panels.
MIT License
33 stars 12 forks source link

Add implementation of XKeysWatcher for WebHID version #108

Closed nytamin closed 3 months ago

nytamin commented 3 months ago

This PR is a continuation of https://github.com/SuperFlyTV/xkeys/pull/105

The PR reworks the XKeysWatcher into an abstract class in core, to share as much code as possible between the node and WebHID versions.

nytamin commented 3 months ago

Hey @loucadufault, please give this one a test (use the webhid demo, ie run yarn build and then open xkeys/packages/webhid-demo/dist/index.html in Chrome), and let me know if you find something that would need fixing!