2023-03-01 00:12:16 -08:00
|
|
|
# VIA support uses raw HID, don't need to enable it extra.
|
|
|
|
# Only when disabling VIA but still wanting to use RAW, need to enable it here.
|
2022-12-23 02:41:30 -08:00
|
|
|
VIA_ENABLE = yes
|
2022-12-29 06:35:36 -08:00
|
|
|
RAW_ENABLE = no
|
2022-12-23 02:41:30 -08:00
|
|
|
|
2022-12-26 10:38:23 -08:00
|
|
|
# Enabled in info.json
|
|
|
|
# EXTRAKEY_ENABLE = yes # Audio control and System control
|
2022-12-21 07:49:57 -08:00
|
|
|
|
2023-07-10 13:35:45 -07:00
|
|
|
# Enable for all. ANSI keyboard supports RGB and white, macropad only RGB, all others only white.
|
2023-03-01 00:12:16 -08:00
|
|
|
# No harm in enabling it for all.
|
|
|
|
# Also RP pico has the built-in LED wired to the same GPIO. Good for prototyping
|
2022-12-20 02:46:45 -08:00
|
|
|
BACKLIGHT_ENABLE = yes
|
|
|
|
BACKLIGHT_DRIVER = pwm
|
|
|
|
|
2023-11-26 20:55:38 -08:00
|
|
|
OS_DETECTION_ENABLE = yes
|
|
|
|
#OS_DETECTION_DEBUG_ENABLE = yes
|
|
|
|
|
2022-12-20 02:05:17 -08:00
|
|
|
# Custom matrix scanning code via ADC
|
2022-12-20 03:35:14 -08:00
|
|
|
CUSTOM_MATRIX = lite
|
2023-03-21 13:37:22 -07:00
|
|
|
SRC += matrix.c analog.c
|
2022-12-20 03:35:14 -08:00
|
|
|
|
2023-03-22 22:09:09 -07:00
|
|
|
SRC += dyn_serial.c factory.c
|
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 05:04:52 -08:00
|
|
|
|
2023-03-22 22:25:02 -07:00
|
|
|
DEFAULT_FOLDER = framework/ansi
|
2023-05-26 14:34:22 -07:00
|
|
|
|
|
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|