diff options
author | Joel Challis <git@zvecr.com> | 2023-11-22 21:33:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 08:33:59 +1100 |
commit | a0a6820c1b46d04bc146e0723fd47265e6afe67f (patch) | |
tree | 85f835c57123479db51f7015cc539d22b24b3d54 /keyboards/ducky/one2sf | |
parent | 3a5e4253fcfe840170df5ae1ce623ab72c942d70 (diff) |
Migrate some dip switch config to info.json (#22437)
Diffstat (limited to 'keyboards/ducky/one2sf')
-rw-r--r-- | keyboards/ducky/one2sf/1967st/config.h | 2 | ||||
-rw-r--r-- | keyboards/ducky/one2sf/1967st/info.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/ducky/one2sf/1967st/config.h b/keyboards/ducky/one2sf/1967st/config.h index 92448f54d1..1bb511107d 100644 --- a/keyboards/ducky/one2sf/1967st/config.h +++ b/keyboards/ducky/one2sf/1967st/config.h @@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define DIP_SWITCH_MATRIX_GRID { {0,14}, {1,14}, {2,14}, {3,14} } - #define GPIO_INPUT_PIN_DELAY (NUC123_HCLK / 6 / 1000000L) diff --git a/keyboards/ducky/one2sf/1967st/info.json b/keyboards/ducky/one2sf/1967st/info.json index 72ba3c8ae8..3774be1bc0 100644 --- a/keyboards/ducky/one2sf/1967st/info.json +++ b/keyboards/ducky/one2sf/1967st/info.json @@ -13,6 +13,9 @@ "rows": ["D11", "B4", "B5", "B6", "B7"] }, "diode_direction": "COL2ROW", + "dip_switch": { + "matrix_grid": [ [0,14], [1,14], [2,14], [3,14] ] + }, "layouts": { "LAYOUT_all": { "layout": [ |