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/abacus | |
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/abacus')
-rw-r--r-- | keyboards/abacus/config.h | 2 | ||||
-rw-r--r-- | keyboards/abacus/info.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/abacus/config.h b/keyboards/abacus/config.h index ca764a9eeb..84e1acbb3c 100644 --- a/keyboards/abacus/config.h +++ b/keyboards/abacus/config.h @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define DIP_SWITCH_PINS { D0 } - /* 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/abacus/info.json b/keyboards/abacus/info.json index 2e14782997..ad8ebcc865 100644 --- a/keyboards/abacus/info.json +++ b/keyboards/abacus/info.json @@ -13,6 +13,9 @@ "rows": ["D3", "D2", "D4", "C6"] }, "diode_direction": "COL2ROW", + "dip_switch": { + "pins": ["D0"] + }, "encoder": { "rotary": [ {"pin_a": "F1", "pin_b": "F0"} |