aboutsummaryrefslogtreecommitdiff
path: root/keyboards/sparrow62
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-07-13 13:29:16 +0100
committerGitHub <[email protected]>2024-07-13 13:29:16 +0100
commitf0807ea64f97c5d2af856d987a7a5088676b38ad (patch)
tree3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/sparrow62
parent26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff)
downloadqmk_firmware-f0807ea64f97c5d2af856d987a7a5088676b38ad.tar.gz
qmk_firmware-f0807ea64f97c5d2af856d987a7a5088676b38ad.zip
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/sparrow62')
-rw-r--r--keyboards/sparrow62/config.h20
-rw-r--r--keyboards/sparrow62/keyboard.json3
2 files changed, 3 insertions, 20 deletions
diff --git a/keyboards/sparrow62/config.h b/keyboards/sparrow62/config.h
deleted file mode 100644
index 2b9669e938..0000000000
--- a/keyboards/sparrow62/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-Copyright 2020 Atsushi Morimoto @74th
-
-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
-
-#define SPLIT_HAND_PIN F4
diff --git a/keyboards/sparrow62/keyboard.json b/keyboards/sparrow62/keyboard.json
index 796d18b9bb..6f5ebd540f 100644
--- a/keyboards/sparrow62/keyboard.json
+++ b/keyboards/sparrow62/keyboard.json
@@ -29,6 +29,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
+ "handedness": {
+ "pin": "F4"
+ },
"soft_serial_pin": "D2"
},
"processor": "atmega32u4",