aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/thk
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2023-11-28 16:39:48 +1100
committerNick Brassel <[email protected]>2023-11-28 16:40:47 +1100
commit0115951de12bd4c798a43a380651c34552552e85 (patch)
tree62999011ae782d93aa6dc9c889615db2a840cafc /keyboards/planck/thk
parent0379d1f59e58cefa18cdb72ba1b77507d1108ae6 (diff)
parent4d99e0a23cff02f4c6e55e093b5de08a9be0df7c (diff)
downloadqmk_firmware-0.23.0.tar.gz
qmk_firmware-0.23.0.zip
`develop` -> `master`, 2023q4 edition0.23.0
Diffstat (limited to 'keyboards/planck/thk')
-rw-r--r--keyboards/planck/thk/config.h2
-rw-r--r--keyboards/planck/thk/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/planck/thk/config.h b/keyboards/planck/thk/config.h
index cfb88aa0eb..4087ce2b28 100644
--- a/keyboards/planck/thk/config.h
+++ b/keyboards/planck/thk/config.h
@@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define DIP_SWITCH_PINS { D0, D1, D4, D6 }
-
// THK uses D5 for audio
#undef AUDIO_PIN
#define AUDIO_PIN D5
diff --git a/keyboards/planck/thk/info.json b/keyboards/planck/thk/info.json
index f62e074e68..24b8d5f0a5 100644
--- a/keyboards/planck/thk/info.json
+++ b/keyboards/planck/thk/info.json
@@ -13,6 +13,9 @@
"rows": ["A7", "A6", "A5", "A4"]
},
"diode_direction": "COL2ROW",
+ "dip_switch": {
+ "pins": ["D0", "D1", "D4", "D6"]
+ },
"encoder": {
"rotary": [
{"pin_a": "B4", "pin_b": "B3"},