summaryrefslogtreecommitdiff
path: root/keyboards/sets3n/kk980
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sets3n/kk980')
-rw-r--r--keyboards/sets3n/kk980/config.h11
-rw-r--r--keyboards/sets3n/kk980/info.json1
2 files changed, 2 insertions, 10 deletions
diff --git a/keyboards/sets3n/kk980/config.h b/keyboards/sets3n/kk980/config.h
index d7b29ad732..cb1a301ae6 100644
--- a/keyboards/sets3n/kk980/config.h
+++ b/keyboards/sets3n/kk980/config.h
@@ -33,15 +33,6 @@
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 102
-#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,\
- 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, \
- 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, \
- 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, \
- 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, \
- 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, \
- 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, \
- 96, 97, 98, 99, 100, 101, 102 } // 1 --> ScollLock 2 --> CapsLock 3 --> Bluetooth 4 --> NumLock
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
@@ -49,6 +40,6 @@
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
#ifdef RGB_MATRIX_ENABLE
-#define RGB_MATRIX_LED_COUNT RGBLED_NUM
+#define RGB_MATRIX_LED_COUNT 102
#define RGB_MATRIX_KEYPRESSES
#endif
diff --git a/keyboards/sets3n/kk980/info.json b/keyboards/sets3n/kk980/info.json
index f59f186bf4..ffe1134514 100644
--- a/keyboards/sets3n/kk980/info.json
+++ b/keyboards/sets3n/kk980/info.json
@@ -12,6 +12,7 @@
"pin": "B7"
},
"rgblight": {
+ "led_count": 102,
"max_brightness": 230
},
"matrix_pins": {