aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/riblee_split
diff options
context:
space:
mode:
authorJoel Challis2024-07-13 14:29:16 +0200
committerGitHub2024-07-13 14:29:16 +0200
commitf0807ea64f97c5d2af856d987a7a5088676b38ad (patch)
tree3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/handwired/riblee_split
parent26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff)
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/handwired/riblee_split')
-rw-r--r--keyboards/handwired/riblee_split/config.h3
-rw-r--r--keyboards/handwired/riblee_split/keyboard.json3
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/handwired/riblee_split/config.h b/keyboards/handwired/riblee_split/config.h
index c3b0720ba5..f0fa2b1f2f 100644
--- a/keyboards/handwired/riblee_split/config.h
+++ b/keyboards/handwired/riblee_split/config.h
@@ -3,9 +3,6 @@
#pragma once
-// If the pin is high, then the controller assumes it is the left hand, and if it’s low, it’s assumed to be the right side.
-#define SPLIT_HAND_PIN C15
-
#define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN B6
#define SERIAL_USART_RX_PIN B7
diff --git a/keyboards/handwired/riblee_split/keyboard.json b/keyboards/handwired/riblee_split/keyboard.json
index 0a607036f9..f24dbe2ce6 100644
--- a/keyboards/handwired/riblee_split/keyboard.json
+++ b/keyboards/handwired/riblee_split/keyboard.json
@@ -25,6 +25,9 @@
},
"split": {
"enabled": true,
+ "handedness": {
+ "pin": "C15"
+ },
"serial": {
"driver": "usart"
},