summaryrefslogtreecommitdiff
path: root/keyboards/ai03
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-07-13 13:29:16 +0100
committerGitHub <noreply@github.com>2024-07-13 13:29:16 +0100
commitf0807ea64f97c5d2af856d987a7a5088676b38ad (patch)
tree3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/ai03
parent26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff)
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/ai03')
-rw-r--r--keyboards/ai03/orbit/config.h38
-rw-r--r--keyboards/ai03/orbit/keyboard.json3
-rw-r--r--keyboards/ai03/orbit_x/config.h1
-rw-r--r--keyboards/ai03/orbit_x/keyboard.json3
4 files changed, 6 insertions, 39 deletions
diff --git a/keyboards/ai03/orbit/config.h b/keyboards/ai03/orbit/config.h
deleted file mode 100644
index f3a4ae2db3..0000000000
--- a/keyboards/ai03/orbit/config.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/*
2Copyright 2018 Ryota Goto
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#define SELECT_SOFT_SERIAL_SPEED 1
21
22#define SPLIT_HAND_PIN D5
23
24/*
25 * Feature disable options
26 * These options are also useful to firmware size reduction.
27 */
28
29/* disable debug print */
30//#define NO_DEBUG
31
32/* disable print */
33//#define NO_PRINT
34
35/* disable action features */
36//#define NO_ACTION_LAYER
37//#define NO_ACTION_TAPPING
38//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ai03/orbit/keyboard.json b/keyboards/ai03/orbit/keyboard.json
index ec30802812..a5a60c12b6 100644
--- a/keyboards/ai03/orbit/keyboard.json
+++ b/keyboards/ai03/orbit/keyboard.json
@@ -31,6 +31,9 @@
31 }, 31 },
32 "split": { 32 "split": {
33 "enabled": true, 33 "enabled": true,
34 "handedness": {
35 "pin": "D5"
36 },
34 "soft_serial_pin": "D0", 37 "soft_serial_pin": "D0",
35 "matrix_pins": { 38 "matrix_pins": {
36 "right": { 39 "right": {
diff --git a/keyboards/ai03/orbit_x/config.h b/keyboards/ai03/orbit_x/config.h
index 2c63852cbe..8de0482312 100644
--- a/keyboards/ai03/orbit_x/config.h
+++ b/keyboards/ai03/orbit_x/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define SPLIT_HAND_PIN D5
21#define SPLIT_USB_DETECT 20#define SPLIT_USB_DETECT
22#define SPLIT_USB_TIMEOUT 2500 21#define SPLIT_USB_TIMEOUT 2500
23 22
diff --git a/keyboards/ai03/orbit_x/keyboard.json b/keyboards/ai03/orbit_x/keyboard.json
index edfbbb2796..7323841219 100644
--- a/keyboards/ai03/orbit_x/keyboard.json
+++ b/keyboards/ai03/orbit_x/keyboard.json
@@ -28,6 +28,9 @@
28 "diode_direction": "COL2ROW", 28 "diode_direction": "COL2ROW",
29 "split": { 29 "split": {
30 "enabled": true, 30 "enabled": true,
31 "handedness": {
32 "pin": "D5"
33 },
31 "soft_serial_pin": "D0", 34 "soft_serial_pin": "D0",
32 "matrix_pins": { 35 "matrix_pins": {
33 "right": { 36 "right": {