My personal project for playing around with RAWHID on my Planck keyboard. Ideally I'd like to fully "clone" the VIA keyboard suite, but also make it opensource as well. IIRC, VIA also communicates through HID. Even if it doesn't, I'm sure I can do it with HID.
- add RAW_ENABLE = YES to your rules.mk
- add "raw_hid.h" to your keymap.c
- implement raw_hid_receive(uint8_t *data, uint8_t length) in keymap.c (or take a look at my keymap.c and copy that code)
- node-hid installed
- Open up HID.js
- Modify keyboard.write() with the HSV values you desire
- run HID.js with
node HID.js
- This is in very, very early stages of development. I am not familiar with js or node in anyway.
- HSV values are hard coded, but I'm working on an adonisjs front end to communicate with the keyboard. This would be the "user interface".
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.