summaryrefslogtreecommitdiff
path: root/keyboards/lfkeyboards/lfk78
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lfkeyboards/lfk78')
-rw-r--r--keyboards/lfkeyboards/lfk78/config.h5
-rw-r--r--keyboards/lfkeyboards/lfk78/post_rules.mk6
-rw-r--r--keyboards/lfkeyboards/lfk78/revb/config.h3
-rw-r--r--keyboards/lfkeyboards/lfk78/revb/info.json4
-rw-r--r--keyboards/lfkeyboards/lfk78/revc/config.h3
-rw-r--r--keyboards/lfkeyboards/lfk78/revc/info.json4
-rw-r--r--keyboards/lfkeyboards/lfk78/revj/config.h3
-rw-r--r--keyboards/lfkeyboards/lfk78/revj/info.json4
8 files changed, 15 insertions, 17 deletions
diff --git a/keyboards/lfkeyboards/lfk78/config.h b/keyboards/lfkeyboards/lfk78/config.h
index 5748d29987..39c4294aa5 100644
--- a/keyboards/lfkeyboards/lfk78/config.h
+++ b/keyboards/lfkeyboards/lfk78/config.h
@@ -19,14 +19,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PWM_MAP { 8, 16, 40, 55, 70, 128, 200, 255 }
-#define TAPPING_TERM 200
-
#define AUDIO_PIN C6
#define AUDIO_VOICES
-# define RGBLIGHT_HUE_STEP 10
-# define RGBLIGHT_SAT_STEP 17
-# define RGBLIGHT_VAL_STEP 17
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/lfkeyboards/lfk78/post_rules.mk b/keyboards/lfkeyboards/lfk78/post_rules.mk
index 03f975b9df..817a085f5e 100644
--- a/keyboards/lfkeyboards/lfk78/post_rules.mk
+++ b/keyboards/lfkeyboards/lfk78/post_rules.mk
@@ -2,13 +2,13 @@
SRC += TWIlib.c issi.c lighting.c
ifeq ($(strip $(ISSI_ENABLE)), yes)
- TMK_COMMON_DEFS += -DISSI_ENABLE
+ OPT_DEFS += -DISSI_ENABLE
endif
ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
- TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
+ OPT_DEFS += -DWATCHDOG_ENABLE
endif
ifeq ($(strip $(CAPSLOCK_LED)), yes)
- TMK_COMMON_DEFS += -DCAPSLOCK_LED
+ OPT_DEFS += -DCAPSLOCK_LED
endif
diff --git a/keyboards/lfkeyboards/lfk78/revb/config.h b/keyboards/lfkeyboards/lfk78/revb/config.h
deleted file mode 100644
index 377ea21123..0000000000
--- a/keyboards/lfkeyboards/lfk78/revb/config.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-#define RGBLED_NUM 31
diff --git a/keyboards/lfkeyboards/lfk78/revb/info.json b/keyboards/lfkeyboards/lfk78/revb/info.json
index 92662bacc7..bee0a0305b 100644
--- a/keyboards/lfkeyboards/lfk78/revb/info.json
+++ b/keyboards/lfkeyboards/lfk78/revb/info.json
@@ -17,6 +17,10 @@
"driver": "custom",
"levels": 8
},
+ "rgblight": {
+ "hue_steps": 10,
+ "led_count": 31
+ },
"ws2812": {
"pin": "C7"
},
diff --git a/keyboards/lfkeyboards/lfk78/revc/config.h b/keyboards/lfkeyboards/lfk78/revc/config.h
deleted file mode 100644
index 78343dc888..0000000000
--- a/keyboards/lfkeyboards/lfk78/revc/config.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-#define RGBLED_NUM 27
diff --git a/keyboards/lfkeyboards/lfk78/revc/info.json b/keyboards/lfkeyboards/lfk78/revc/info.json
index 830205c584..a0f3327dda 100644
--- a/keyboards/lfkeyboards/lfk78/revc/info.json
+++ b/keyboards/lfkeyboards/lfk78/revc/info.json
@@ -17,6 +17,10 @@
"driver": "custom",
"levels": 8
},
+ "rgblight": {
+ "hue_steps": 10,
+ "led_count": 27
+ },
"ws2812": {
"pin": "C7"
},
diff --git a/keyboards/lfkeyboards/lfk78/revj/config.h b/keyboards/lfkeyboards/lfk78/revj/config.h
deleted file mode 100644
index 78343dc888..0000000000
--- a/keyboards/lfkeyboards/lfk78/revj/config.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-#define RGBLED_NUM 27
diff --git a/keyboards/lfkeyboards/lfk78/revj/info.json b/keyboards/lfkeyboards/lfk78/revj/info.json
index 8f9198b089..3bfbcc147a 100644
--- a/keyboards/lfkeyboards/lfk78/revj/info.json
+++ b/keyboards/lfkeyboards/lfk78/revj/info.json
@@ -17,6 +17,10 @@
"driver": "custom",
"levels": 8
},
+ "rgblight": {
+ "hue_steps": 10,
+ "led_count": 27
+ },
"ws2812": {
"pin": "C7"
},