2017-12-03 16:32:07 +01:00
|
|
|
# Set the LFK87 hardware version.
|
|
|
|
#
|
|
|
|
# A - Green PCB. at90usb1286 Only 3 exist
|
|
|
|
# B - We don't talk about RevB
|
|
|
|
# C-D - Black PCB. at90usb646 First public release
|
|
|
|
#
|
|
|
|
LFK_REV = C
|
|
|
|
|
2019-09-19 18:55:03 +02:00
|
|
|
BOOTLOADER = atmel-dfu
|
2017-12-03 16:32:07 +01:00
|
|
|
OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
|
|
|
|
|
|
|
|
# Extra source files for IS3731 lighting
|
|
|
|
SRC = TWIlib.c issi.c lighting.c
|
|
|
|
|
2018-07-18 20:31:31 +02:00
|
|
|
LAYOUTS = tkl_ansi tkl_iso
|
2018-12-10 20:38:57 +01:00
|
|
|
|
|
|
|
# Build Options
|
2021-12-08 00:40:26 +01:00
|
|
|
# change yes to no to disable
|
2018-12-10 20:38:57 +01:00
|
|
|
#
|
2021-08-07 08:59:56 +02:00
|
|
|
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
2020-01-30 19:47:48 +01:00
|
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
2018-12-10 20:38:57 +01:00
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
2021-12-09 06:05:44 +01:00
|
|
|
NKRO_ENABLE = yes # Enable N-Key Rollover
|
2020-01-31 00:44:40 +01:00
|
|
|
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
|
|
|
BACKLIGHT_DRIVER = custom
|
2021-09-21 12:04:03 +02:00
|
|
|
AUDIO_ENABLE = yes # Audio output
|
2018-12-10 20:38:57 +01:00
|
|
|
RGBLIGHT_ENABLE = yes # Enable RGB underlight
|
|
|
|
RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not WS2812
|
2021-12-01 11:13:00 +01:00
|
|
|
SLEEP_LED_ENABLE = yes
|
2018-12-10 20:38:57 +01:00
|
|
|
|
|
|
|
ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
|
|
|
|
WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
|