aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/lfkeyboards/lfk78/keymaps/ca178858/rules.mk13
-rw-r--r--keyboards/lfkeyboards/lfk78/keymaps/default/rules.mk17
-rw-r--r--keyboards/lfkeyboards/lfk78/keymaps/iso/rules.mk14
-rw-r--r--keyboards/lfkeyboards/lfk78/keymaps/split_bs_osx/rules.mk18
-rw-r--r--keyboards/lfkeyboards/lfk78/lfk78.c9
-rw-r--r--keyboards/lfkeyboards/lfk78/rules.mk49
-rw-r--r--keyboards/lfkeyboards/lfk87/keymaps/ca178858/rules.mk11
-rw-r--r--keyboards/lfkeyboards/lfk87/keymaps/default/rules.mk11
-rw-r--r--keyboards/lfkeyboards/lfk87/keymaps/gbchk/rules.mk13
-rw-r--r--keyboards/lfkeyboards/lfk87/keymaps/iso/rules.mk11
-rw-r--r--keyboards/lfkeyboards/lfk87/lfk87.c9
-rw-r--r--keyboards/lfkeyboards/lfk87/rules.mk34
-rw-r--r--keyboards/lfkeyboards/lfkpad/keymaps/default/rules.mk13
-rw-r--r--keyboards/lfkeyboards/lfkpad/rules.mk28
-rw-r--r--keyboards/lfkeyboards/mini1800/keymaps/ca178858/rules.mk3
-rw-r--r--keyboards/lfkeyboards/mini1800/keymaps/default/rules.mk4
-rw-r--r--keyboards/lfkeyboards/mini1800/mini1800.c10
17 files changed, 143 insertions, 124 deletions
diff --git a/keyboards/lfkeyboards/lfk78/keymaps/ca178858/rules.mk b/keyboards/lfkeyboards/lfk78/keymaps/ca178858/rules.mk
index 394c58b37..98e3d5a78 100644
--- a/keyboards/lfkeyboards/lfk78/keymaps/ca178858/rules.mk
+++ b/keyboards/lfkeyboards/lfk78/keymaps/ca178858/rules.mk
@@ -23,19 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be di
23WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms
24 24
25 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 26# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired
40# # 27# #
41# # RevB - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight 28# # RevB - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight
diff --git a/keyboards/lfkeyboards/lfk78/keymaps/default/rules.mk b/keyboards/lfkeyboards/lfk78/keymaps/default/rules.mk
index 555ad9723..1477c3ac7 100644
--- a/keyboards/lfkeyboards/lfk78/keymaps/default/rules.mk
+++ b/keyboards/lfkeyboards/lfk78/keymaps/default/rules.mk
@@ -14,7 +14,7 @@ MIDI_ENABLE = no # MIDI controls
14AUDIO_ENABLE = yes # Audio output on port C6 14AUDIO_ENABLE = yes # Audio output on port C6
15UNICODE_ENABLE = no # Unicode 15UNICODE_ENABLE = no # Unicode
16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
17RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. 17RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
18RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base 18RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base
19SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 19SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
20TAP_DANCE_ENABLE = no 20TAP_DANCE_ENABLE = no
@@ -23,21 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install thi
23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
24CAPSLOCK_LED = no # Toggle back light LED of Caps Lock 24CAPSLOCK_LED = no # Toggle back light LED of Caps Lock
25 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
38ifeq ($(strip $(CAPSLOCK_LED)), yes)
39 TMK_COMMON_DEFS += -DCAPSLOCK_LED
40endif
41 26
42# Override the LFK78 hardware version: 27# Override the LFK78 hardware version:
43# 28#
diff --git a/keyboards/lfkeyboards/lfk78/keymaps/iso/rules.mk b/keyboards/lfkeyboards/lfk78/keymaps/iso/rules.mk
index 147e95bc8..3cfc994cb 100644
--- a/keyboards/lfkeyboards/lfk78/keymaps/iso/rules.mk
+++ b/keyboards/lfkeyboards/lfk78/keymaps/iso/rules.mk
@@ -14,7 +14,7 @@ MIDI_ENABLE = no # MIDI controls
14AUDIO_ENABLE = yes # Audio output on port C6 14AUDIO_ENABLE = yes # Audio output on port C6
15UNICODE_ENABLE = no # Unicode 15UNICODE_ENABLE = no # Unicode
16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
17RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. 17RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
18RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base 18RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base
19SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 19SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
20TAP_DANCE_ENABLE = no 20TAP_DANCE_ENABLE = no
@@ -23,18 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this mu
23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
24 24
25 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 26
39# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired 27# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired
40# # 28# #
diff --git a/keyboards/lfkeyboards/lfk78/keymaps/split_bs_osx/rules.mk b/keyboards/lfkeyboards/lfk78/keymaps/split_bs_osx/rules.mk
index 555ad9723..f789b6866 100644
--- a/keyboards/lfkeyboards/lfk78/keymaps/split_bs_osx/rules.mk
+++ b/keyboards/lfkeyboards/lfk78/keymaps/split_bs_osx/rules.mk
@@ -14,7 +14,7 @@ MIDI_ENABLE = no # MIDI controls
14AUDIO_ENABLE = yes # Audio output on port C6 14AUDIO_ENABLE = yes # Audio output on port C6
15UNICODE_ENABLE = no # Unicode 15UNICODE_ENABLE = no # Unicode
16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
17RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. 17RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
18RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base 18RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base
19SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 19SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
20TAP_DANCE_ENABLE = no 20TAP_DANCE_ENABLE = no
@@ -23,22 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install thi
23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
24CAPSLOCK_LED = no # Toggle back light LED of Caps Lock 24CAPSLOCK_LED = no # Toggle back light LED of Caps Lock
25 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
38ifeq ($(strip $(CAPSLOCK_LED)), yes)
39 TMK_COMMON_DEFS += -DCAPSLOCK_LED
40endif
41
42# Override the LFK78 hardware version: 26# Override the LFK78 hardware version:
43# 27#
44# B - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight 28# B - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight
diff --git a/keyboards/lfkeyboards/lfk78/lfk78.c b/keyboards/lfkeyboards/lfk78/lfk78.c
index e02739e4f..60b7ab4ce 100644
--- a/keyboards/lfkeyboards/lfk78/lfk78.c
+++ b/keyboards/lfkeyboards/lfk78/lfk78.c
@@ -13,6 +13,15 @@ uint16_t click_hz = CLICK_HZ;
13uint16_t click_time = CLICK_MS; 13uint16_t click_time = CLICK_MS;
14uint8_t click_toggle = CLICK_ENABLED; 14uint8_t click_toggle = CLICK_ENABLED;
15 15
16__attribute__((weak))
17const Layer_Info layer_info[] = {
18 // Layer Mask Red Green Blue
19 {0x00000000, 0xFFFFFFFF, {0x0000, 0x0FFF, 0x0000}}, // base layer - green
20 {0x00000002, 0xFFFFFFFE, {0x0000, 0x0000, 0x0FFF}}, // function layer - blue
21 {0x00000004, 0xFFFFFFFC, {0x0FFF, 0x0000, 0x0FFF}}, // settings layer - magenta
22 {0xFFFFFFFF, 0xFFFFFFFF, {0x0FFF, 0x0FFF, 0x0FFF}}, // unknown layer - REQUIRED - white
23};
24
16void matrix_init_kb(void) 25void matrix_init_kb(void)
17{ 26{
18 matrix_init_user(); 27 matrix_init_user();
diff --git a/keyboards/lfkeyboards/lfk78/rules.mk b/keyboards/lfkeyboards/lfk78/rules.mk
index 091cd7755..cc314c97a 100644
--- a/keyboards/lfkeyboards/lfk78/rules.mk
+++ b/keyboards/lfkeyboards/lfk78/rules.mk
@@ -32,3 +32,52 @@ F_USB = $(F_CPU)
32 32
33# Interrupt driven control endpoint task(+60) 33# Interrupt driven control endpoint task(+60)
34OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 34OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
35
36BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
37MOUSEKEY_ENABLE = no # Mouse keys(+4700)
38EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
39CONSOLE_ENABLE = no # Console for debug(+400)
40COMMAND_ENABLE = no # Commands for debug and configuration
41NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
42BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
43MIDI_ENABLE = no # MIDI controls
44AUDIO_ENABLE = yes # Audio output on port C6
45UNICODE_ENABLE = no # Unicode
46BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
47RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
48RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base
49SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
50TAP_DANCE_ENABLE = no
51
52ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
53WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
54CAPSLOCK_LED = no # Toggle back light LED of Caps Lock
55
56
57ifeq ($(strip $(ISSI_ENABLE)), yes)
58 TMK_COMMON_DEFS += -DISSI_ENABLE
59endif
60
61ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
62 TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
63endif
64
65ifeq ($(strip $(CAPSLOCK_LED)), yes)
66 TMK_COMMON_DEFS += -DCAPSLOCK_LED
67endif
68
69# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired
70# #
71# # RevB - first public release, uses atmega32u4, has audio, ISSI matrix split between RGB and backlight
72# # RevC/D - at90usb1286, no audio, ISSI device 0 is backlight, 4 is RGB
73# #
74# # Set to B, C or D
75# LFK_REV = D
76
77# ifeq ($(LFK_REV), B)
78# MCU = atmega32u4
79# else
80# MCU = at90usb1286
81# endif
82# OPT_DEFS += -DLFK_REV_$(LFK_REV)
83# OPT_DEFS += -DUSB_PRODUCT=\"LFK_Rev$(LFK_REV)\"
diff --git a/keyboards/lfkeyboards/lfk87/keymaps/ca178858/rules.mk b/keyboards/lfkeyboards/lfk87/keymaps/ca178858/rules.mk
index 9819cdbee..f28ec80ea 100644
--- a/keyboards/lfkeyboards/lfk87/keymaps/ca178858/rules.mk
+++ b/keyboards/lfkeyboards/lfk87/keymaps/ca178858/rules.mk
@@ -23,17 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be di
23WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms
24 24
25 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 26
38 27
39# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired 28# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired
diff --git a/keyboards/lfkeyboards/lfk87/keymaps/default/rules.mk b/keyboards/lfkeyboards/lfk87/keymaps/default/rules.mk
index c1f1070fd..c079c264e 100644
--- a/keyboards/lfkeyboards/lfk87/keymaps/default/rules.mk
+++ b/keyboards/lfkeyboards/lfk87/keymaps/default/rules.mk
@@ -23,17 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be di
23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
24 24
25 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 26
38 27
39# Override the LFK87 hardware version. 28# Override the LFK87 hardware version.
diff --git a/keyboards/lfkeyboards/lfk87/keymaps/gbchk/rules.mk b/keyboards/lfkeyboards/lfk87/keymaps/gbchk/rules.mk
index c1f1070fd..f7b39455b 100644
--- a/keyboards/lfkeyboards/lfk87/keymaps/gbchk/rules.mk
+++ b/keyboards/lfkeyboards/lfk87/keymaps/gbchk/rules.mk
@@ -23,19 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be di
23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
24 24
25 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# Override the LFK87 hardware version. 26# Override the LFK87 hardware version.
40# 27#
41# A - Green PCB. at90usb1286 Only 3 exist 28# A - Green PCB. at90usb1286 Only 3 exist
diff --git a/keyboards/lfkeyboards/lfk87/keymaps/iso/rules.mk b/keyboards/lfkeyboards/lfk87/keymaps/iso/rules.mk
index 68e200a5d..7823dea78 100644
--- a/keyboards/lfkeyboards/lfk87/keymaps/iso/rules.mk
+++ b/keyboards/lfkeyboards/lfk87/keymaps/iso/rules.mk
@@ -23,17 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install thi
23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
24 24
25 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 26
38 27
39# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired 28# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired
diff --git a/keyboards/lfkeyboards/lfk87/lfk87.c b/keyboards/lfkeyboards/lfk87/lfk87.c
index e9f184e36..4b34fcef7 100644
--- a/keyboards/lfkeyboards/lfk87/lfk87.c
+++ b/keyboards/lfkeyboards/lfk87/lfk87.c
@@ -14,6 +14,15 @@ uint16_t click_hz = CLICK_HZ;
14uint16_t click_time = CLICK_MS; 14uint16_t click_time = CLICK_MS;
15uint8_t click_toggle = CLICK_ENABLED; 15uint8_t click_toggle = CLICK_ENABLED;
16 16
17__attribute__((weak))
18const Layer_Info layer_info[] = {
19 // Layer Mask Red Green Blue
20 {0x00000000, 0xFFFFFFFF, {0x00, 0xFF, 0x00}}, // base layers - green
21 {0x00000002, 0xFFFFFFFE, {0x00, 0x00, 0xFF}}, // function layer - blue
22 {0x00000004, 0xFFFFFFFC, {0xFF, 0x00, 0xFF}}, // settings layer - magenta
23 {0xFFFFFFFF, 0xFFFFFFFF, {0xFF, 0xFF, 0xFF}}, // unknown layer - REQUIRED - white
24};
25
17void matrix_init_kb(void) 26void matrix_init_kb(void)
18{ 27{
19 // put your keyboard start-up code here 28 // put your keyboard start-up code here
diff --git a/keyboards/lfkeyboards/lfk87/rules.mk b/keyboards/lfkeyboards/lfk87/rules.mk
index 19b41de09..c10f47306 100644
--- a/keyboards/lfkeyboards/lfk87/rules.mk
+++ b/keyboards/lfkeyboards/lfk87/rules.mk
@@ -31,3 +31,37 @@ F_USB = $(F_CPU)
31OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 31OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
32 32
33LAYOUTS = tkl_ansi tkl_iso 33LAYOUTS = tkl_ansi tkl_iso
34
35# Build Options
36# change to "no" to disable the options, or define them in the Makefile in
37# the appropriate keymap folder that will get included automatically
38#
39
40BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
41MOUSEKEY_ENABLE = no # Mouse keys(+4700)
42EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
43CONSOLE_ENABLE = no # Console for debug(+400)
44COMMAND_ENABLE = no # Commands for debug and configuration
45NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
46BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
47MIDI_ENABLE = no # MIDI controls
48AUDIO_ENABLE = yes # Audio output on port C6
49UNICODE_ENABLE = no # Unicode
50BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
51RGBLIGHT_ENABLE = yes # Enable RGB underlight
52RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not WS2812
53SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
54TAP_DANCE_ENABLE = no
55
56ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
57WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
58
59
60
61ifeq ($(strip $(ISSI_ENABLE)), yes)
62 OPT_DEFS += -DISSI_ENABLE
63endif
64
65ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
66 OPT_DEFS += -DWATCHDOG_ENABLE
67endif
diff --git a/keyboards/lfkeyboards/lfkpad/keymaps/default/rules.mk b/keyboards/lfkeyboards/lfkpad/keymaps/default/rules.mk
index 1653f4e30..cc21b32dc 100644
--- a/keyboards/lfkeyboards/lfkpad/keymaps/default/rules.mk
+++ b/keyboards/lfkeyboards/lfkpad/keymaps/default/rules.mk
@@ -14,7 +14,7 @@ MIDI_ENABLE = no # MIDI controls
14AUDIO_ENABLE = no # Audio output on port C6 14AUDIO_ENABLE = no # Audio output on port C6
15UNICODE_ENABLE = no # Unicode 15UNICODE_ENABLE = no # Unicode
16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 16BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
17RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. 17RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
18RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base 18RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base
19SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 19SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
20TAP_DANCE_ENABLE = no 20TAP_DANCE_ENABLE = no
@@ -23,17 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this mu
23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
24 24
25 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 26
38 27
39# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired 28# # Set the LFK78 hardware version. This is defined in rules.mk, but can be overidden here if desired
diff --git a/keyboards/lfkeyboards/lfkpad/rules.mk b/keyboards/lfkeyboards/lfkpad/rules.mk
index e28e398cc..83553f64c 100644
--- a/keyboards/lfkeyboards/lfkpad/rules.mk
+++ b/keyboards/lfkeyboards/lfkpad/rules.mk
@@ -11,3 +11,31 @@ ARCH = AVR8
11OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 11OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
12 12
13LAYOUTS = numpad_6x4 13LAYOUTS = numpad_6x4
14
15BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
16MOUSEKEY_ENABLE = no # Mouse keys(+4700)
17EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
18CONSOLE_ENABLE = no # Console for debug(+400)
19COMMAND_ENABLE = no # Commands for debug and configuration
20NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
22MIDI_ENABLE = no # MIDI controls
23AUDIO_ENABLE = no # Audio output on port C6
24UNICODE_ENABLE = no # Unicode
25BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
26RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
27RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not qmk base
28SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
29TAP_DANCE_ENABLE = no
30
31ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
32WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
33
34
35ifeq ($(strip $(ISSI_ENABLE)), yes)
36 TMK_COMMON_DEFS += -DISSI_ENABLE
37endif
38
39ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
40 TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
41endif
diff --git a/keyboards/lfkeyboards/mini1800/keymaps/ca178858/rules.mk b/keyboards/lfkeyboards/mini1800/keymaps/ca178858/rules.mk
index 16452df67..2c6035d58 100644
--- a/keyboards/lfkeyboards/mini1800/keymaps/ca178858/rules.mk
+++ b/keyboards/lfkeyboards/mini1800/keymaps/ca178858/rules.mk
@@ -23,9 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be di
23WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms
24 24
25 25
26ifndef QUANTUM_DIR
27 include ../../../../Makefile
28endif
29 26
30ifeq ($(strip $(ISSI_ENABLE)), yes) 27ifeq ($(strip $(ISSI_ENABLE)), yes)
31 TMK_COMMON_DEFS += -DISSI_ENABLE 28 TMK_COMMON_DEFS += -DISSI_ENABLE
diff --git a/keyboards/lfkeyboards/mini1800/keymaps/default/rules.mk b/keyboards/lfkeyboards/mini1800/keymaps/default/rules.mk
index d6e35e353..1598173f3 100644
--- a/keyboards/lfkeyboards/mini1800/keymaps/default/rules.mk
+++ b/keyboards/lfkeyboards/mini1800/keymaps/default/rules.mk
@@ -23,10 +23,6 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be di
23WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms 23WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms
24 24
25 25
26ifndef QUANTUM_DIR
27 include ../../../../Makefile
28endif
29
30ifeq ($(strip $(ISSI_ENABLE)), yes) 26ifeq ($(strip $(ISSI_ENABLE)), yes)
31 TMK_COMMON_DEFS += -DISSI_ENABLE 27 TMK_COMMON_DEFS += -DISSI_ENABLE
32endif 28endif
diff --git a/keyboards/lfkeyboards/mini1800/mini1800.c b/keyboards/lfkeyboards/mini1800/mini1800.c
index f0692d46c..d5f4193c1 100644
--- a/keyboards/lfkeyboards/mini1800/mini1800.c
+++ b/keyboards/lfkeyboards/mini1800/mini1800.c
@@ -17,6 +17,16 @@ uint16_t click_time = CLICK_MS;
17uint8_t click_toggle = CLICK_ENABLED; 17uint8_t click_toggle = CLICK_ENABLED;
18float my_song[][2] = SONG(ZELDA_PUZZLE); 18float my_song[][2] = SONG(ZELDA_PUZZLE);
19 19
20// Colors of the layer indicator LED
21// This list needs to define layer 0xFFFFFFFF, it is the end of the list, and the unknown layer
22__attribute__((weak))
23const Layer_Info layer_info[] = {
24 // Layer Mask Red Green Blue
25 {0x00000000, 0xFFFFFFFF, {0x00, 0xFF, 0x00}}, // base layers - green
26 {0x00000002, 0xFFFFFFFE, {0x00, 0x00, 0xFF}}, // function layer - blue
27 {0x00000004, 0xFFFFFFFC, {0xFF, 0x00, 0xFF}}, // settings layer - magenta
28 {0xFFFFFFFF, 0xFFFFFFFF, {0xFF, 0xFF, 0xFF}}, // unknown layer - REQUIRED - white
29};
20 30
21void matrix_init_kb(void) 31void matrix_init_kb(void)
22{ 32{