Replace outdated RGB/Audio information
[jackhill/qmk/firmware.git] / keyboards / lfkeyboards / lfkpad / keymaps / default / rules.mk
CommitLineData
3f3d0551 1# Build Options
2# change to "no" to disable the options, or define them in the Makefile in
3# the appropriate keymap folder that will get included automatically
4#
5
6BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
7MOUSEKEY_ENABLE = no # Mouse keys(+4700)
8EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
9CONSOLE_ENABLE = no # Console for debug(+400)
10COMMAND_ENABLE = no # Commands for debug and configuration
11NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
12BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
13MIDI_ENABLE = no # MIDI controls
14AUDIO_ENABLE = no # Audio output on port C6
15UNICODE_ENABLE = no # Unicode
16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
00b6f148 17RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
3f3d0551 18RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base
19SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
20TAP_DANCE_ENABLE = no
21
22ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
24
25
26ifndef QUANTUM_DIR
27 include ../../../../Makefile
28endif
29
30ifeq ($(strip $(ISSI_ENABLE)), yes)
31 TMK_COMMON_DEFS += -DISSI_ENABLE
32endif
33
34ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
35 TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
36endif
37
38
39# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired
40# #
41# # RevB - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight
42# # RevC/D - at90usb1286, no audio, ISSI device 0 is backlight, 4 is RGB
43# #
44# # Set to B, C or D
45# LFK_REV = D
46
47# ifeq ($(LFK_REV), B)
48# MCU = atmega32u4
49# else
50# MCU = at90usb1286
51# endif
52# OPT_DEFS += -DLFK_REV_$(LFK_REV)
53# OPT_DEFS += -DUSB_PRODUCT=\"LFK_Rev$(LFK_REV)\"