Daniel Schaefer c593ebe3bd lotus: Add WIP factory HID protocol
Use like:

```sh
./hidapitester --vidpid 32ac/0012 --usagePage 0xFF60 --usage 0x0061 -v \
    --open -l32 --send-output 0,1 --read-input

./hidapitester --vidpid 32ac/0012 --usagePage 0xFF60 --usage 0x0061 -v \
  --open -l32 --send-output 0,11,0

./hidapitester --vidpid 32ac/0012 --usagePage 0xFF60 --usage 0x0061 -v \
  --open -l32 --send-output 0,11,1,4

./hidapitester --vidpid 32ac/0012 --usagePage 0xFF60 --usage 0x0061 -v \
  --open -l32 --send-output 0,11,2,1

./hidapitester --vidpid 32ac/0012 --usagePage 0xFF60 --usage 0x0061 -v \
  --open -l32 --send-output 0,11,2,0
```

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-01-03 21:20:28 +08:00

20 lines
422 B
Makefile

VIA_ENABLE = yes
RAW_ENABLE = no
# Enabled in info.json
# EXTRAKEY_ENABLE = yes # Audio control and System control
SERIAL_DRIVER = vendor
# Keep it enabled for all, at the moment. Because The rpi-pico has an LED that I can use for debugging
BACKLIGHT_ENABLE = yes
BACKLIGHT_DRIVER = pwm
# Custom matrix scanning code via ADC
CUSTOM_MATRIX = lite
SRC += matrix.c
SRC += factory.c
DEFAULT_FOLDER = lotus/ansi