aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/sinc
diff options
context:
space:
mode:
authorJoel Challis2024-07-13 14:29:16 +0200
committerGitHub2024-07-13 14:29:16 +0200
commitf0807ea64f97c5d2af856d987a7a5088676b38ad (patch)
tree3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/keebio/sinc
parent26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff)
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/keebio/sinc')
-rw-r--r--keyboards/keebio/sinc/rev1/config.h3
-rw-r--r--keyboards/keebio/sinc/rev1/keyboard.json3
-rw-r--r--keyboards/keebio/sinc/rev2/config.h3
-rw-r--r--keyboards/keebio/sinc/rev2/keyboard.json3
-rw-r--r--keyboards/keebio/sinc/rev3/config.h2
-rw-r--r--keyboards/keebio/sinc/rev3/keyboard.json3
-rw-r--r--keyboards/keebio/sinc/rev4/config.h2
-rw-r--r--keyboards/keebio/sinc/rev4/keyboard.json3
8 files changed, 12 insertions, 10 deletions
diff --git a/keyboards/keebio/sinc/rev1/config.h b/keyboards/keebio/sinc/rev1/config.h
index 80762574ab..572ff9a83a 100644
--- a/keyboards/keebio/sinc/rev1/config.h
+++ b/keyboards/keebio/sinc/rev1/config.h
@@ -16,7 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-// wiring of each half
-#define SPLIT_HAND_PIN F7
-
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
diff --git a/keyboards/keebio/sinc/rev1/keyboard.json b/keyboards/keebio/sinc/rev1/keyboard.json
index 7a5cb29298..929d0c0d82 100644
--- a/keyboards/keebio/sinc/rev1/keyboard.json
+++ b/keyboards/keebio/sinc/rev1/keyboard.json
@@ -39,6 +39,9 @@
]
}
},
+ "handedness": {
+ "pin": "F7"
+ },
"matrix_pins": {
"right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"],
diff --git a/keyboards/keebio/sinc/rev2/config.h b/keyboards/keebio/sinc/rev2/config.h
index 80762574ab..572ff9a83a 100644
--- a/keyboards/keebio/sinc/rev2/config.h
+++ b/keyboards/keebio/sinc/rev2/config.h
@@ -16,7 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-// wiring of each half
-#define SPLIT_HAND_PIN F7
-
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
diff --git a/keyboards/keebio/sinc/rev2/keyboard.json b/keyboards/keebio/sinc/rev2/keyboard.json
index e68370cb6c..71d1f62279 100644
--- a/keyboards/keebio/sinc/rev2/keyboard.json
+++ b/keyboards/keebio/sinc/rev2/keyboard.json
@@ -39,6 +39,9 @@
]
}
},
+ "handedness": {
+ "pin": "F7"
+ },
"matrix_pins": {
"right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"],
diff --git a/keyboards/keebio/sinc/rev3/config.h b/keyboards/keebio/sinc/rev3/config.h
index 89c8c0f3d8..3771f8da1d 100644
--- a/keyboards/keebio/sinc/rev3/config.h
+++ b/keyboards/keebio/sinc/rev3/config.h
@@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define SPLIT_HAND_PIN GP4
-
#define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN GP0
#define SERIAL_USART_RX_PIN GP1
diff --git a/keyboards/keebio/sinc/rev3/keyboard.json b/keyboards/keebio/sinc/rev3/keyboard.json
index 81b5e1c4c0..9ee599dd20 100644
--- a/keyboards/keebio/sinc/rev3/keyboard.json
+++ b/keyboards/keebio/sinc/rev3/keyboard.json
@@ -20,6 +20,9 @@
]
}
},
+ "handedness": {
+ "pin": "GP4"
+ },
"matrix_pins": {
"right": {
"cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"],
diff --git a/keyboards/keebio/sinc/rev4/config.h b/keyboards/keebio/sinc/rev4/config.h
index 0a9b9846eb..5042d0c924 100644
--- a/keyboards/keebio/sinc/rev4/config.h
+++ b/keyboards/keebio/sinc/rev4/config.h
@@ -3,8 +3,6 @@
#pragma once
-#define SPLIT_HAND_PIN GP4
-
#define USB_VBUS_PIN GP14
#define SERIAL_USART_FULL_DUPLEX
diff --git a/keyboards/keebio/sinc/rev4/keyboard.json b/keyboards/keebio/sinc/rev4/keyboard.json
index bfbceef02e..63b8994e8b 100644
--- a/keyboards/keebio/sinc/rev4/keyboard.json
+++ b/keyboards/keebio/sinc/rev4/keyboard.json
@@ -20,6 +20,9 @@
]
}
},
+ "handedness": {
+ "pin": "GP4"
+ },
"matrix_pins": {
"right": {
"cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"],