summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-11-22 21:33:59 +0000
committerGitHub <noreply@github.com>2023-11-23 08:33:59 +1100
commita0a6820c1b46d04bc146e0723fd47265e6afe67f (patch)
tree85f835c57123479db51f7015cc539d22b24b3d54 /keyboards/handwired
parent3a5e4253fcfe840170df5ae1ce623ab72c942d70 (diff)
Migrate some dip switch config to info.json (#22437)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/6key/config.h20
-rw-r--r--keyboards/handwired/6key/info.json3
2 files changed, 3 insertions, 20 deletions
diff --git a/keyboards/handwired/6key/config.h b/keyboards/handwired/6key/config.h
deleted file mode 100644
index 0ba89040c7..0000000000
--- a/keyboards/handwired/6key/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
- /* Copyright 2020 Bratzworth
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-/* dip switch */
-#define DIP_SWITCH_PINS { C6 }
diff --git a/keyboards/handwired/6key/info.json b/keyboards/handwired/6key/info.json
index 39c26006d6..8e33a60e2e 100644
--- a/keyboards/handwired/6key/info.json
+++ b/keyboards/handwired/6key/info.json
@@ -13,6 +13,9 @@
"rows": ["B4", "D0"]
},
"diode_direction": "COL2ROW",
+ "dip_switch": {
+ "pins": ["C6"]
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {