diff options
author | Joel Challis <[email protected]> | 2024-07-13 13:29:16 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-13 13:29:16 +0100 |
commit | f0807ea64f97c5d2af856d987a7a5088676b38ad (patch) | |
tree | 3a4ded3b045027e390eb64edb89f91c8d679bf0e /keyboards/keebio/iris | |
parent | 26e84c513c9c2ff366cfcdcdb28b417a4c4f04a7 (diff) | |
download | qmk_firmware-f0807ea64f97c5d2af856d987a7a5088676b38ad.tar.gz qmk_firmware-f0807ea64f97c5d2af856d987a7a5088676b38ad.zip |
Migrate SPLIT_HAND_PIN to json (#23924)
Diffstat (limited to 'keyboards/keebio/iris')
-rw-r--r-- | keyboards/keebio/iris/rev3/config.h | 20 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev3/keyboard.json | 3 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev4/config.h | 20 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev4/keyboard.json | 3 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev5/config.h | 2 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev5/keyboard.json | 3 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev6/config.h | 2 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev6/keyboard.json | 3 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev7/config.h | 2 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev7/keyboard.json | 3 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev8/config.h | 2 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev8/keyboard.json | 3 |
12 files changed, 18 insertions, 48 deletions
diff --git a/keyboards/keebio/iris/rev3/config.h b/keyboards/keebio/iris/rev3/config.h deleted file mode 100644 index ff730d345c..0000000000 --- a/keyboards/keebio/iris/rev3/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2017 Danny Nguyen <[email protected]> - -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 F0 diff --git a/keyboards/keebio/iris/rev3/keyboard.json b/keyboards/keebio/iris/rev3/keyboard.json index e2353d751f..9ffafa3f89 100644 --- a/keyboards/keebio/iris/rev3/keyboard.json +++ b/keyboards/keebio/iris/rev3/keyboard.json @@ -45,6 +45,9 @@ }, "split": { "enabled": true, + "handedness": { + "pin": "F0" + }, "soft_serial_pin": "D0" }, "processor": "atmega32u4", diff --git a/keyboards/keebio/iris/rev4/config.h b/keyboards/keebio/iris/rev4/config.h deleted file mode 100644 index 246049a730..0000000000 --- a/keyboards/keebio/iris/rev4/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2019 Danny Nguyen <[email protected]> - -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 D5 diff --git a/keyboards/keebio/iris/rev4/keyboard.json b/keyboards/keebio/iris/rev4/keyboard.json index ee06554d08..a43e7b88d2 100644 --- a/keyboards/keebio/iris/rev4/keyboard.json +++ b/keyboards/keebio/iris/rev4/keyboard.json @@ -53,6 +53,9 @@ ] } }, + "handedness": { + "pin": "D5" + }, "matrix_pins": { "right": { "cols": ["D4", "D7", "D3", "B7", "F0", "B3"], diff --git a/keyboards/keebio/iris/rev5/config.h b/keyboards/keebio/iris/rev5/config.h index 4b67b6632f..71d2044aa6 100644 --- a/keyboards/keebio/iris/rev5/config.h +++ b/keyboards/keebio/iris/rev5/config.h @@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define SPLIT_HAND_PIN D5 - #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) diff --git a/keyboards/keebio/iris/rev5/keyboard.json b/keyboards/keebio/iris/rev5/keyboard.json index a1f97a7831..799e510cc2 100644 --- a/keyboards/keebio/iris/rev5/keyboard.json +++ b/keyboards/keebio/iris/rev5/keyboard.json @@ -70,6 +70,9 @@ ] } }, + "handedness": { + "pin": "D5" + }, "matrix_pins": { "right": { "cols": ["D4", "D7", "D3", "B7", "F0", "B3"], diff --git a/keyboards/keebio/iris/rev6/config.h b/keyboards/keebio/iris/rev6/config.h index f52c020dee..867a96ad95 100644 --- a/keyboards/keebio/iris/rev6/config.h +++ b/keyboards/keebio/iris/rev6/config.h @@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define SPLIT_HAND_PIN D5 - #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) diff --git a/keyboards/keebio/iris/rev6/keyboard.json b/keyboards/keebio/iris/rev6/keyboard.json index 7bbaabe277..bcbacb5b22 100644 --- a/keyboards/keebio/iris/rev6/keyboard.json +++ b/keyboards/keebio/iris/rev6/keyboard.json @@ -86,6 +86,9 @@ "split": { "enabled": true, "soft_serial_pin": "D0", + "handedness": { + "pin": "D5" + }, "matrix_pins": { "right": { "cols": ["D4", "D6", "D7", "C7", "F1", "F4"], diff --git a/keyboards/keebio/iris/rev7/config.h b/keyboards/keebio/iris/rev7/config.h index eec56a2620..b5f24925c0 100644 --- a/keyboards/keebio/iris/rev7/config.h +++ b/keyboards/keebio/iris/rev7/config.h @@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define SPLIT_HAND_PIN D5 - #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) diff --git a/keyboards/keebio/iris/rev7/keyboard.json b/keyboards/keebio/iris/rev7/keyboard.json index decb81a18e..1f7677ef4d 100644 --- a/keyboards/keebio/iris/rev7/keyboard.json +++ b/keyboards/keebio/iris/rev7/keyboard.json @@ -85,6 +85,9 @@ "split": { "enabled": true, "soft_serial_pin": "D0", + "handedness": { + "pin": "D5" + }, "matrix_pins": { "right": { "cols": ["D4", "D6", "D7", "C7", "F1", "F4"], diff --git a/keyboards/keebio/iris/rev8/config.h b/keyboards/keebio/iris/rev8/config.h index 3ea59ffcf6..e9eb512981 100644 --- a/keyboards/keebio/iris/rev8/config.h +++ b/keyboards/keebio/iris/rev8/config.h @@ -3,8 +3,6 @@ #pragma once -#define SPLIT_HAND_PIN GP4 - #define USB_VBUS_PIN GP8 #define SERIAL_USART_FULL_DUPLEX diff --git a/keyboards/keebio/iris/rev8/keyboard.json b/keyboards/keebio/iris/rev8/keyboard.json index 07f9df260a..7ff198afa7 100644 --- a/keyboards/keebio/iris/rev8/keyboard.json +++ b/keyboards/keebio/iris/rev8/keyboard.json @@ -24,6 +24,9 @@ }, "split": { "enabled": true, + "handedness": { + "pin": "GP4" + }, "matrix_pins": { "right": { "cols": ["GP27", "GP28", "GP3", "GP6", "GP29", "GP16"], |