blob: a720d81c1838030e5e097d62ace9efe75da6f771 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# keymap taking advantage of the STM32 storage & CPU.
RGB LED is used to show layers
default bluepill LED is capslock.
there's a simple serial protocol for the keyboard to listen for color change commands from the PC.
Useful for "do stuff && cat "green">/dev/ttyACM0"
lower case letters set pre-programmed colors
Upper case letters change RGB mode
Command C takes 3-5 octets of RGB settings. Numbers can be terminated with a comma or period.
3 octets = set all LED, 4th argument specfies specfic LED, 4+5 specify start and stop LEDs.
|