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/handwired/sono1 | |
parent | d784f78bd0a034c1d6085379615014fd701536ab (diff) |
Move LED indicator config to data driven (#19800)
Diffstat (limited to 'keyboards/handwired/sono1')
-rw-r--r-- | keyboards/handwired/sono1/stm32f103/config.h | 6 | ||||
-rw-r--r-- | keyboards/handwired/sono1/stm32f103/info.json | 6 | ||||
-rw-r--r-- | keyboards/handwired/sono1/t2pp/config.h | 6 | ||||
-rw-r--r-- | keyboards/handwired/sono1/t2pp/info.json | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/keyboards/handwired/sono1/stm32f103/config.h b/keyboards/handwired/sono1/stm32f103/config.h index ec0ddfbe05..b961eaffd6 100644 --- a/keyboards/handwired/sono1/stm32f103/config.h +++ b/keyboards/handwired/sono1/stm32f103/config.h @@ -21,11 +21,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { A5, B3, A9, A10, B13, B14, B15, A8, B7, B8, B9, C13, A15, A0, A1 } #define MATRIX_COL_PINS { A4, A3, B11, B10, B1, B0, A7, A6 } - -#define LED_KANA_PIN A2 -#define LED_CAPS_LOCK_PIN B5 #define LED_CTRL_XFER_PIN B6 -#define LED_NUM_LOCK_PIN B4 #define LED_KB_LOCK_PIN B12 -#define LED_PIN_ON_STATE 0 - diff --git a/keyboards/handwired/sono1/stm32f103/info.json b/keyboards/handwired/sono1/stm32f103/info.json index 241cf5e9a2..b25392382a 100644 --- a/keyboards/handwired/sono1/stm32f103/info.json +++ b/keyboards/handwired/sono1/stm32f103/info.json @@ -2,6 +2,12 @@ "usb": { "device_version": "0.0.1" }, + "indicators": { + "caps_lock": "B5", + "num_lock": "B4", + "kana": "A2", + "on_state": 0 + }, "processor": "STM32F103", "bootloader": "stm32duino" } diff --git a/keyboards/handwired/sono1/t2pp/config.h b/keyboards/handwired/sono1/t2pp/config.h index 4097132e86..15bea036a2 100644 --- a/keyboards/handwired/sono1/t2pp/config.h +++ b/keyboards/handwired/sono1/t2pp/config.h @@ -21,11 +21,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { F7, F6, F5, F4, F3, F2, F1, F0, D7, B7, D0, D1, D2, D3, D4 } #define MATRIX_COL_PINS { C6, C5, C4, C3, C2, C1, C0, E1 } - -#define LED_KANA_PIN D5 -#define LED_CAPS_LOCK_PIN B3 #define LED_CTRL_XFER_PIN B4 -#define LED_NUM_LOCK_PIN B2 #define LED_KB_LOCK_PIN B1 -#define LED_PIN_ON_STATE 0 - diff --git a/keyboards/handwired/sono1/t2pp/info.json b/keyboards/handwired/sono1/t2pp/info.json index 69ccef72ae..3e637c3e94 100644 --- a/keyboards/handwired/sono1/t2pp/info.json +++ b/keyboards/handwired/sono1/t2pp/info.json @@ -2,6 +2,12 @@ "usb": { "device_version": "0.0.2" }, + "indicators": { + "caps_lock": "B3", + "num_lock": "B2", + "kana": "D5", + "on_state": 0 + }, "processor": "at90usb1286", "bootloader": "halfkay" } |