From a0a6820c1b46d04bc146e0723fd47265e6afe67f Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 22 Nov 2023 21:33:59 +0000 Subject: Migrate some dip switch config to info.json (#22437) --- keyboards/helix/rev3_5rows/config.h | 3 --- keyboards/helix/rev3_5rows/info.json | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'keyboards/helix/rev3_5rows') diff --git a/keyboards/helix/rev3_5rows/config.h b/keyboards/helix/rev3_5rows/config.h index f48115663c..44bbc5f194 100644 --- a/keyboards/helix/rev3_5rows/config.h +++ b/keyboards/helix/rev3_5rows/config.h @@ -41,9 +41,6 @@ along with this program. If not, see . #define SPLIT_HAND_MATRIX_GRID D7,B2 #define SPLIT_HAND_MATRIX_GRID_LOW_IS_RIGHT -/* Dip switch on matrix grid */ -#define DIP_SWITCH_MATRIX_GRID { {0,6}, {1,6}, {5,6}, {6,6} } - #ifdef RGB_MATRIX_ENABLE #define RGB_MATRIX_LED_COUNT 64 # define RGB_MATRIX_KEYPRESSES // reacts to keypresses diff --git a/keyboards/helix/rev3_5rows/info.json b/keyboards/helix/rev3_5rows/info.json index f7546b1322..43cb20dd5e 100644 --- a/keyboards/helix/rev3_5rows/info.json +++ b/keyboards/helix/rev3_5rows/info.json @@ -14,6 +14,9 @@ "val_steps": 8, "speed_steps": 10 }, + "dip_switch": { + "matrix_grid": [ [0,6], [1,6], [5,6], [6,6] ] + }, "encoder": { "rotary": [ {"pin_a": "B6", "pin_b": "B5"} -- cgit v1.2.3