kash / cubedesk

Community and timer for the Rubik's Cube
https://cubedesk.io
GNU General Public License v3.0
120 stars 8 forks source link

Support for GAN Smart Timer via its bluetooth protocol #129

Closed afedotov closed 1 year ago

afedotov commented 1 year ago

This PR adds support for GAN Smart Timer using Web Bluetooth API and timer's bluetooth protocol.

Made using my gan-web-bluetooth library designed for interaction with GAN Smart Timer.

I've not included updated yarn.lock file, suppose you make yarn install && yarn upgrade by yourself upon release process.

Since GAN Smart Timer allows you to get rid of keyboard usage during solving (inspection timer can be started/canceled just by pressing timer's big reset button) this involves little refactoring. Inspection start/stop procedure has been moved from KeyWatcher component.