diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-17 13:14:29 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 13:14:29 +1100 |
commit | f4ba17c4a0ee59603c167b04f2d6f6eee8b2cf1b (patch) | |
tree | 11fec680226404eb46d2c61305cf7e848450c4d9 /keyboards/mt | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/mt')
-rw-r--r-- | keyboards/mt/mt980/config.h | 5 | ||||
-rw-r--r-- | keyboards/mt/mt980/info.json | 6 | ||||
-rw-r--r-- | keyboards/mt/ncr80/hotswap/config.h | 5 | ||||
-rw-r--r-- | keyboards/mt/ncr80/hotswap/info.json | 6 | ||||
-rw-r--r-- | keyboards/mt/ncr80/solder/config.h | 4 | ||||
-rw-r--r-- | keyboards/mt/ncr80/solder/info.json | 6 | ||||
-rw-r--r-- | keyboards/mt/split75/config.h | 4 | ||||
-rw-r--r-- | keyboards/mt/split75/info.json | 5 |
8 files changed, 23 insertions, 18 deletions
diff --git a/keyboards/mt/mt980/config.h b/keyboards/mt/mt980/config.h index c4693ff3db..ce455b4f78 100644 --- a/keyboards/mt/mt980/config.h +++ b/keyboards/mt/mt980/config.h @@ -12,11 +12,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define LED_NUM_LOCK_PIN C6 -#define LED_CAPS_LOCK_PIN C7 -#define LED_SCROLL_LOCK_PIN B5 -#define LED_PIN_ON_STATE 0 - #define BACKLIGHT_PIN B6 #ifdef BACKLIGHT_PIN #define BACKLIGHT_LEVELS 3 diff --git a/keyboards/mt/mt980/info.json b/keyboards/mt/mt980/info.json index 4a29ee943d..e1c9f2758f 100644 --- a/keyboards/mt/mt980/info.json +++ b/keyboards/mt/mt980/info.json @@ -8,6 +8,12 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C7", + "num_lock": "C6", + "scroll_lock": "B5", + "on_state": 0 + }, "bootmagic": { "matrix": [5, 0] }, diff --git a/keyboards/mt/ncr80/hotswap/config.h b/keyboards/mt/ncr80/hotswap/config.h index 6b583da4dd..2f7de9f066 100644 --- a/keyboards/mt/ncr80/hotswap/config.h +++ b/keyboards/mt/ncr80/hotswap/config.h @@ -36,11 +36,6 @@ #define DIODE_DIRECTION ROW2COL -#define LED_CAPS_LOCK_PIN C6 -#define LED_SCROLL_LOCK_PIN C7 -#define LED_NUM_LOCK_PIN B5 -#define LED_PIN_ON_STATE 0 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/mt/ncr80/hotswap/info.json b/keyboards/mt/ncr80/hotswap/info.json index 7a6a97c726..89f38c9588 100644 --- a/keyboards/mt/ncr80/hotswap/info.json +++ b/keyboards/mt/ncr80/hotswap/info.json @@ -8,6 +8,12 @@ "pid": "0x2002", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C6", + "num_lock": "B5", + "scroll_lock": "C7", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/mt/ncr80/solder/config.h b/keyboards/mt/ncr80/solder/config.h index 6c672f914a..a2677907ef 100644 --- a/keyboards/mt/ncr80/solder/config.h +++ b/keyboards/mt/ncr80/solder/config.h @@ -36,10 +36,6 @@ #define DIODE_DIRECTION ROW2COL -#define LED_CAPS_LOCK_PIN C6 -#define LED_SCROLL_LOCK_PIN C7 -#define LED_NUM_LOCK_PIN B5 -#define LED_PIN_ON_STATE 0 #define BACKLIGHT_PIN B6 #define BACKLIGHT_LEVELS 5 diff --git a/keyboards/mt/ncr80/solder/info.json b/keyboards/mt/ncr80/solder/info.json index 2fcc0c1af1..a01b13dd3b 100644 --- a/keyboards/mt/ncr80/solder/info.json +++ b/keyboards/mt/ncr80/solder/info.json @@ -8,6 +8,12 @@ "pid": "0x2001", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "C6", + "num_lock": "B5", + "scroll_lock": "C7", + "on_state": 0 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/mt/split75/config.h b/keyboards/mt/split75/config.h index 08b40f11ed..0f18e23646 100644 --- a/keyboards/mt/split75/config.h +++ b/keyboards/mt/split75/config.h @@ -7,10 +7,6 @@ #define MATRIX_ROWS 8 #define MATRIX_COLS 14 -#define LED_NUM_LOCK_PIN D0 -#define LED_CAPS_LOCK_PIN D1 -#define LED_SCROLL_LOCK_PIN D6 - #define RGBLED_NUM 8 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/mt/split75/info.json b/keyboards/mt/split75/info.json index 77559a1705..13f3e32c6f 100644 --- a/keyboards/mt/split75/info.json +++ b/keyboards/mt/split75/info.json @@ -8,6 +8,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "D1", + "num_lock": "D0", + "scroll_lock": "D6" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "layouts": { |