aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/recompile_keys
diff options
context:
space:
mode:
authorJoel Challis2024-07-13 14:29:16 +0200
committerGitHub2024-07-13 14:29:16 +0200
commitf0807ea64f97c5d2af856d987a7a5088676b38ad (patch)
tree3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/recompile_keys
parent26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff)
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/recompile_keys')
-rw-r--r--keyboards/recompile_keys/choco60/rev1/config.h20
-rw-r--r--keyboards/recompile_keys/choco60/rev1/keyboard.json3
-rw-r--r--keyboards/recompile_keys/choco60/rev2/config.h2
-rw-r--r--keyboards/recompile_keys/choco60/rev2/keyboard.json3
-rw-r--r--keyboards/recompile_keys/cocoa40/config.h20
-rw-r--r--keyboards/recompile_keys/cocoa40/keyboard.json3
6 files changed, 9 insertions, 42 deletions
diff --git a/keyboards/recompile_keys/choco60/rev1/config.h b/keyboards/recompile_keys/choco60/rev1/config.h
deleted file mode 100644
index ba9e3a474e..0000000000
--- a/keyboards/recompile_keys/choco60/rev1/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-Copyright 2019 Naoto Takai
-
-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 D0
diff --git a/keyboards/recompile_keys/choco60/rev1/keyboard.json b/keyboards/recompile_keys/choco60/rev1/keyboard.json
index 916c3de8d0..150037acee 100644
--- a/keyboards/recompile_keys/choco60/rev1/keyboard.json
+++ b/keyboards/recompile_keys/choco60/rev1/keyboard.json
@@ -12,6 +12,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
+ "handedness": {
+ "pin": "D0"
+ },
"soft_serial_pin": "D3"
},
"processor": "atmega32u4",
diff --git a/keyboards/recompile_keys/choco60/rev2/config.h b/keyboards/recompile_keys/choco60/rev2/config.h
index e081d748ce..35a347ee91 100644
--- a/keyboards/recompile_keys/choco60/rev2/config.h
+++ b/keyboards/recompile_keys/choco60/rev2/config.h
@@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define SPLIT_HAND_PIN D1
-
#define SPLIT_USB_DETECT
diff --git a/keyboards/recompile_keys/choco60/rev2/keyboard.json b/keyboards/recompile_keys/choco60/rev2/keyboard.json
index fbc947a9f0..47c5a0beb9 100644
--- a/keyboards/recompile_keys/choco60/rev2/keyboard.json
+++ b/keyboards/recompile_keys/choco60/rev2/keyboard.json
@@ -12,6 +12,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
+ "handedness": {
+ "pin": "D1"
+ },
"soft_serial_pin": "D0",
"matrix_pins": {
"right": {
diff --git a/keyboards/recompile_keys/cocoa40/config.h b/keyboards/recompile_keys/cocoa40/config.h
deleted file mode 100644
index 976a698c5d..0000000000
--- a/keyboards/recompile_keys/cocoa40/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-Copyright 2019 'Naoto Takai'
-
-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 D3
diff --git a/keyboards/recompile_keys/cocoa40/keyboard.json b/keyboards/recompile_keys/cocoa40/keyboard.json
index f964ff6621..465cd395c7 100644
--- a/keyboards/recompile_keys/cocoa40/keyboard.json
+++ b/keyboards/recompile_keys/cocoa40/keyboard.json
@@ -23,6 +23,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
+ "handedness": {
+ "pin": "D3"
+ },
"soft_serial_pin": "D2"
},
"processor": "atmega32u4",