diff options
author | Joel Challis <[email protected]> | 2023-11-22 21:33:59 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-23 08:33:59 +1100 |
commit | a0a6820c1b46d04bc146e0723fd47265e6afe67f (patch) | |
tree | 85f835c57123479db51f7015cc539d22b24b3d54 /keyboards/inland | |
parent | 3a5e4253fcfe840170df5ae1ce623ab72c942d70 (diff) | |
download | qmk_firmware-a0a6820c1b46d04bc146e0723fd47265e6afe67f.tar.gz qmk_firmware-a0a6820c1b46d04bc146e0723fd47265e6afe67f.zip |
Migrate some dip switch config to info.json (#22437)
Diffstat (limited to 'keyboards/inland')
-rw-r--r-- | keyboards/inland/kb83/config.h | 5 | ||||
-rw-r--r-- | keyboards/inland/kb83/info.json | 3 | ||||
-rw-r--r-- | keyboards/inland/v83p/config.h | 4 | ||||
-rw-r--r-- | keyboards/inland/v83p/info.json | 3 |
4 files changed, 6 insertions, 9 deletions
diff --git a/keyboards/inland/kb83/config.h b/keyboards/inland/kb83/config.h index bc2ca9071b..f9c080dccf 100644 --- a/keyboards/inland/kb83/config.h +++ b/keyboards/inland/kb83/config.h @@ -16,13 +16,8 @@ #pragma once - #define RGB_TRIGGER_ON_KEYDOWN -/* DIP switch */ -#define DIP_SWITCH_PINS \ - { A9 } - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/inland/kb83/info.json b/keyboards/inland/kb83/info.json index f0da3f50b6..d8e029c5fa 100644 --- a/keyboards/inland/kb83/info.json +++ b/keyboards/inland/kb83/info.json @@ -18,6 +18,9 @@ "rows": ["B15", "C6", "C7", "C8", "C9", "A8"] }, "diode_direction": "ROW2COL", + "dip_switch": { + "pins": ["A9"] + }, "eeprom": { "driver": "wear_leveling", "wear_leveling": { diff --git a/keyboards/inland/v83p/config.h b/keyboards/inland/v83p/config.h index 1553c3e632..c1e9f4825e 100644 --- a/keyboards/inland/v83p/config.h +++ b/keyboards/inland/v83p/config.h @@ -4,10 +4,6 @@ #define ENCODER_DEFAULT_POS 0x3 -/* DIP switch */ -#define DIP_SWITCH_PINS \ - { C11 } - /* I2C Config for LED Driver */ #define SNLED27351_DRIVER_COUNT 2 #define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND diff --git a/keyboards/inland/v83p/info.json b/keyboards/inland/v83p/info.json index 900937570f..69df93e6d0 100644 --- a/keyboards/inland/v83p/info.json +++ b/keyboards/inland/v83p/info.json @@ -34,6 +34,9 @@ "cols": ["C1","C2","C3","A0","A1","A2","A3","A4","A5","A6","A7","C4","C5","B0","B1","B2"], "rows": ["B15", "C6", "C7", "C8", "C9", "B14"] }, + "dip_switch": { + "pins": ["C11"] + }, "encoder": { "rotary": [ { "pin_a": "A8", "pin_b": "B13" } |