diff options
159 files changed, 243 insertions, 800 deletions
diff --git a/keyboards/afternoonlabs/breeze/rev0/config.h b/keyboards/afternoonlabs/breeze/rev0/config.h deleted file mode 100644 index 3500564544..0000000000 --- a/keyboards/afternoonlabs/breeze/rev0/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2021 eithanshavit | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define SPLIT_HAND_PIN B3 | ||
diff --git a/keyboards/afternoonlabs/breeze/rev0/keyboard.json b/keyboards/afternoonlabs/breeze/rev0/keyboard.json index f20f082ec9..e4288d3eda 100644 --- a/keyboards/afternoonlabs/breeze/rev0/keyboard.json +++ b/keyboards/afternoonlabs/breeze/rev0/keyboard.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "diode_direction": "COL2ROW", | 21 | "diode_direction": "COL2ROW", |
| 22 | "split": { | 22 | "split": { |
| 23 | "enabled": true, | 23 | "enabled": true, |
| 24 | "handedness": { | ||
| 25 | "pin": "B3" | ||
| 26 | }, | ||
| 24 | "soft_serial_pin": "D2" | 27 | "soft_serial_pin": "D2" |
| 25 | }, | 28 | }, |
| 26 | "bootmagic": { | 29 | "bootmagic": { |
diff --git a/keyboards/afternoonlabs/breeze/rev1/config.h b/keyboards/afternoonlabs/breeze/rev1/config.h deleted file mode 100644 index d6bb6df14c..0000000000 --- a/keyboards/afternoonlabs/breeze/rev1/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2021 Afternoon Labs | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define SPLIT_HAND_PIN B3 | ||
diff --git a/keyboards/afternoonlabs/breeze/rev1/keyboard.json b/keyboards/afternoonlabs/breeze/rev1/keyboard.json index ccb13551c1..22a7edb6c0 100644 --- a/keyboards/afternoonlabs/breeze/rev1/keyboard.json +++ b/keyboards/afternoonlabs/breeze/rev1/keyboard.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "diode_direction": "COL2ROW", | 21 | "diode_direction": "COL2ROW", |
| 22 | "split": { | 22 | "split": { |
| 23 | "enabled": true, | 23 | "enabled": true, |
| 24 | "handedness": { | ||
| 25 | "pin": "B3" | ||
| 26 | }, | ||
| 24 | "soft_serial_pin": "D2" | 27 | "soft_serial_pin": "D2" |
| 25 | }, | 28 | }, |
| 26 | "bootmagic": { | 29 | "bootmagic": { |
diff --git a/keyboards/afternoonlabs/oceanbreeze/rev1/config.h b/keyboards/afternoonlabs/oceanbreeze/rev1/config.h deleted file mode 100644 index d6bb6df14c..0000000000 --- a/keyboards/afternoonlabs/oceanbreeze/rev1/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2021 Afternoon Labs | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define SPLIT_HAND_PIN B3 | ||
diff --git a/keyboards/afternoonlabs/oceanbreeze/rev1/keyboard.json b/keyboards/afternoonlabs/oceanbreeze/rev1/keyboard.json index 2a80a0bc2b..f614b93ca1 100644 --- a/keyboards/afternoonlabs/oceanbreeze/rev1/keyboard.json +++ b/keyboards/afternoonlabs/oceanbreeze/rev1/keyboard.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "diode_direction": "COL2ROW", | 21 | "diode_direction": "COL2ROW", |
| 22 | "split": { | 22 | "split": { |
| 23 | "enabled": true, | 23 | "enabled": true, |
| 24 | "handedness": { | ||
| 25 | "pin": "B3" | ||
| 26 | }, | ||
| 24 | "soft_serial_pin": "D2" | 27 | "soft_serial_pin": "D2" |
| 25 | }, | 28 | }, |
| 26 | "bootmagic": { | 29 | "bootmagic": { |
diff --git a/keyboards/afternoonlabs/southern_breeze/rev1/config.h b/keyboards/afternoonlabs/southern_breeze/rev1/config.h deleted file mode 100644 index d6bb6df14c..0000000000 --- a/keyboards/afternoonlabs/southern_breeze/rev1/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2021 Afternoon Labs | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define SPLIT_HAND_PIN B3 | ||
diff --git a/keyboards/afternoonlabs/southern_breeze/rev1/keyboard.json b/keyboards/afternoonlabs/southern_breeze/rev1/keyboard.json index c4d38a7a69..2ec7b411e1 100644 --- a/keyboards/afternoonlabs/southern_breeze/rev1/keyboard.json +++ b/keyboards/afternoonlabs/southern_breeze/rev1/keyboard.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "diode_direction": "COL2ROW", | 21 | "diode_direction": "COL2ROW", |
| 22 | "split": { | 22 | "split": { |
| 23 | "enabled": true, | 23 | "enabled": true, |
| 24 | "handedness": { | ||
| 25 | "pin": "B3" | ||
| 26 | }, | ||
| 24 | "soft_serial_pin": "D2" | 27 | "soft_serial_pin": "D2" |
| 25 | }, | 28 | }, |
| 26 | "bootmagic": { | 29 | "bootmagic": { |
diff --git a/keyboards/afternoonlabs/summer_breeze/rev1/config.h b/keyboards/afternoonlabs/summer_breeze/rev1/config.h deleted file mode 100644 index d6bb6df14c..0000000000 --- a/keyboards/afternoonlabs/summer_breeze/rev1/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2021 Afternoon Labs | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define SPLIT_HAND_PIN B3 | ||
diff --git a/keyboards/afternoonlabs/summer_breeze/rev1/keyboard.json b/keyboards/afternoonlabs/summer_breeze/rev1/keyboard.json index 702a942a3c..9377f10732 100644 --- a/keyboards/afternoonlabs/summer_breeze/rev1/keyboard.json +++ b/keyboards/afternoonlabs/summer_breeze/rev1/keyboard.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | "diode_direction": "COL2ROW", | 21 | "diode_direction": "COL2ROW", |
| 22 | "split": { | 22 | "split": { |
| 23 | "enabled": true, | 23 | "enabled": true, |
| 24 | "handedness": { | ||
| 25 | "pin": "B3" | ||
| 26 | }, | ||
| 24 | "soft_serial_pin": "D2" | 27 | "soft_serial_pin": "D2" |
| 25 | }, | 28 | }, |
| 26 | "bootmagic": { | 29 | "bootmagic": { |
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 | /* | ||
| 2 | Copyright 2018 Ryota Goto | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along 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": { |
diff --git a/keyboards/aya/config.h b/keyboards/aya/config.h index 14fc201d49..1ab53d70ae 100644 --- a/keyboards/aya/config.h +++ b/keyboards/aya/config.h | |||
| @@ -16,5 +16,4 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define SPLIT_HAND_PIN B5 | ||
| 20 | #define USE_I2C | 19 | #define USE_I2C |
diff --git a/keyboards/aya/keyboard.json b/keyboards/aya/keyboard.json index 547f495ddd..6f9ad387bc 100644 --- a/keyboards/aya/keyboard.json +++ b/keyboards/aya/keyboard.json | |||
| @@ -15,7 +15,10 @@ | |||
| 15 | "command": true | 15 | "command": true |
| 16 | }, | 16 | }, |
| 17 | "split": { | 17 | "split": { |
| 18 | "enabled": true | 18 | "enabled": true, |
| 19 | "handedness": { | ||
| 20 | "pin": "B5" | ||
| 21 | } | ||
| 19 | }, | 22 | }, |
| 20 | "matrix_pins": { | 23 | "matrix_pins": { |
| 21 | "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"], | 24 | "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"], |
diff --git a/keyboards/doppelganger/config.h b/keyboards/doppelganger/config.h deleted file mode 100644 index 20a23ab6da..0000000000 --- a/keyboards/doppelganger/config.h +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Yiancar-Designs | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define SPLIT_HAND_PIN D4 | ||
| 21 | |||
| 22 | // #define USE_I2C | ||
| 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/doppelganger/keyboard.json b/keyboards/doppelganger/keyboard.json index ccba77fdfa..f77597c990 100644 --- a/keyboards/doppelganger/keyboard.json +++ b/keyboards/doppelganger/keyboard.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "diode_direction": "COL2ROW", | 19 | "diode_direction": "COL2ROW", |
| 20 | "split": { | 20 | "split": { |
| 21 | "enabled": true, | 21 | "enabled": true, |
| 22 | "handedness": { | ||
| 23 | "pin": "D4" | ||
| 24 | }, | ||
| 22 | "soft_serial_pin": "D1", | 25 | "soft_serial_pin": "D1", |
| 23 | "matrix_pins": { | 26 | "matrix_pins": { |
| 24 | "right": { | 27 | "right": { |
diff --git a/keyboards/era/sirind/tomak/config.h b/keyboards/era/sirind/tomak/config.h index 7bb5610705..0f34f674df 100644 --- a/keyboards/era/sirind/tomak/config.h +++ b/keyboards/era/sirind/tomak/config.h | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | /* Split configuration */ | 6 | /* Split configuration */ |
| 7 | #define SPLIT_HAND_PIN GP21 | ||
| 8 | #define USB_VBUS_PIN GP29 | 7 | #define USB_VBUS_PIN GP29 |
| 9 | #define SERIAL_USART_FULL_DUPLEX | 8 | #define SERIAL_USART_FULL_DUPLEX |
| 10 | #define SERIAL_USART_TX_PIN GP0 | 9 | #define SERIAL_USART_TX_PIN GP0 |
diff --git a/keyboards/era/sirind/tomak/keyboard.json b/keyboards/era/sirind/tomak/keyboard.json index a2f545cf5e..cfd933bfe6 100644 --- a/keyboards/era/sirind/tomak/keyboard.json +++ b/keyboards/era/sirind/tomak/keyboard.json | |||
| @@ -175,6 +175,9 @@ | |||
| 175 | "bootmagic": { | 175 | "bootmagic": { |
| 176 | "matrix": [6, 0] | 176 | "matrix": [6, 0] |
| 177 | }, | 177 | }, |
| 178 | "handedness": { | ||
| 179 | "pin": "GP21" | ||
| 180 | }, | ||
| 178 | "enabled": true, | 181 | "enabled": true, |
| 179 | "matrix_pins": { | 182 | "matrix_pins": { |
| 180 | "right": { | 183 | "right": { |
diff --git a/keyboards/handwired/chiron/config.h b/keyboards/handwired/chiron/config.h deleted file mode 100644 index 254bed5c74..0000000000 --- a/keyboards/handwired/chiron/config.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Mike Hix | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | // Pro Micro Pins RX1 | ||
| 21 | #define SPLIT_HAND_PIN D2 | ||
diff --git a/keyboards/handwired/chiron/keyboard.json b/keyboards/handwired/chiron/keyboard.json index f02c8cea28..efbf66335b 100644 --- a/keyboards/handwired/chiron/keyboard.json +++ b/keyboards/handwired/chiron/keyboard.json | |||
| @@ -41,6 +41,9 @@ | |||
| 41 | }, | 41 | }, |
| 42 | "split": { | 42 | "split": { |
| 43 | "enabled": true, | 43 | "enabled": true, |
| 44 | "handedness": { | ||
| 45 | "pin": "D2" | ||
| 46 | }, | ||
| 44 | "soft_serial_pin": "D0" | 47 | "soft_serial_pin": "D0" |
| 45 | }, | 48 | }, |
| 46 | "processor": "atmega32u4", | 49 | "processor": "atmega32u4", |
diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/config.h b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/config.h index 9639d4ba1d..2258a17c2e 100644 --- a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/config.h +++ b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/config.h | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | // in col2row col is input, and row is output | 19 | // in col2row col is input, and row is output |
| 20 | // #define SPLIT_HAND_MATRIX_GRID A10, A4 | 20 | // #define SPLIT_HAND_MATRIX_GRID A10, A4 |
| 21 | // 68kohm | 21 | // 68kohm |
| 22 | #define SPLIT_HAND_PIN B10 | ||
| 23 | 22 | ||
| 24 | /* connection */ | 23 | /* connection */ |
| 25 | #define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode. | 24 | #define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode. |
diff --git a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/keyboard.json b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/keyboard.json index 517620097b..efefb5e550 100644 --- a/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/keyboard.json +++ b/keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/keyboard.json | |||
| @@ -11,6 +11,9 @@ | |||
| 11 | }, | 11 | }, |
| 12 | "serial": { | 12 | "serial": { |
| 13 | "driver": "usart" | 13 | "driver": "usart" |
| 14 | }, | ||
| 15 | "handedness": { | ||
| 16 | "pin": "B10" | ||
| 14 | } | 17 | } |
| 15 | }, | 18 | }, |
| 16 | "development_board": "blackpill_f411", | 19 | "development_board": "blackpill_f411", |
diff --git a/keyboards/handwired/jtallbean/split_65/config.h b/keyboards/handwired/jtallbean/split_65/config.h deleted file mode 100644 index 2ae835db9d..0000000000 --- a/keyboards/handwired/jtallbean/split_65/config.h +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 jtallbean | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define SPLIT_HAND_PIN D5 | ||
| 21 | |||
| 22 | /* | ||
| 23 | * Feature disable options | ||
| 24 | * These options are also useful to firmware size reduction. | ||
| 25 | */ | ||
| 26 | |||
| 27 | /* disable debug print */ | ||
| 28 | //#define NO_DEBUG | ||
| 29 | |||
| 30 | /* disable print */ | ||
| 31 | //#define NO_PRINT | ||
| 32 | |||
| 33 | /* disable action features */ | ||
| 34 | //#define NO_ACTION_LAYER | ||
| 35 | //#define NO_ACTION_TAPPING | ||
| 36 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/handwired/jtallbean/split_65/keyboard.json b/keyboards/handwired/jtallbean/split_65/keyboard.json index b6560fb03a..7ce6d9f095 100644 --- a/keyboards/handwired/jtallbean/split_65/keyboard.json +++ b/keyboards/handwired/jtallbean/split_65/keyboard.json | |||
| @@ -32,6 +32,9 @@ | |||
| 32 | }, | 32 | }, |
| 33 | "split": { | 33 | "split": { |
| 34 | "enabled": true, | 34 | "enabled": true, |
| 35 | "handedness": { | ||
| 36 | "pin": "D5" | ||
| 37 | }, | ||
| 35 | "soft_serial_pin": "D0", | 38 | "soft_serial_pin": "D0", |
| 36 | "matrix_pins": { | 39 | "matrix_pins": { |
| 37 | "right": { | 40 | "right": { |
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 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | // 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. | ||
| 7 | #define SPLIT_HAND_PIN C15 | ||
| 8 | |||
| 9 | #define SERIAL_USART_FULL_DUPLEX | 6 | #define SERIAL_USART_FULL_DUPLEX |
| 10 | #define SERIAL_USART_TX_PIN B6 | 7 | #define SERIAL_USART_TX_PIN B6 |
| 11 | #define SERIAL_USART_RX_PIN B7 | 8 | #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 @@ | |||
| 25 | }, | 25 | }, |
| 26 | "split": { | 26 | "split": { |
| 27 | "enabled": true, | 27 | "enabled": true, |
| 28 | "handedness": { | ||
| 29 | "pin": "C15" | ||
| 30 | }, | ||
| 28 | "serial": { | 31 | "serial": { |
| 29 | "driver": "usart" | 32 | "driver": "usart" |
| 30 | }, | 33 | }, |
diff --git a/keyboards/handwired/split89/config.h b/keyboards/handwired/split89/config.h deleted file mode 100644 index e12db37b97..0000000000 --- a/keyboards/handwired/split89/config.h +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | /* Copyright 2021 jurassic73 | ||
| 2 | |||
| 3 | This program is free software: you can redistribute it and/or modify | ||
| 4 | it under the terms of the GNU General Public License as published by | ||
| 5 | the Free Software Foundation, either version 2 of the License, or | ||
| 6 | (at your option) any later version. | ||
| 7 | |||
| 8 | This program is distributed in the hope that it will be useful, | ||
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | GNU General Public License for more details. | ||
| 12 | |||
| 13 | You should have received a copy of the GNU General Public License | ||
| 14 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | /* this will be tied to high (VCC with a 2k to 10k resistor) on the left keyboard half and tied to low (GND using a wire jumper only) on the right keyboard half. This allows a user to plug in a USB cable to either side and function correctly with or without a TRS/TRRS cable with a single hex file. */ | ||
| 20 | #define SPLIT_HAND_PIN D1 | ||
| 21 | |||
| 22 | /* | ||
| 23 | * Feature disable options | ||
| 24 | * These options are also useful to firmware size reduction. | ||
| 25 | */ | ||
| 26 | |||
| 27 | /* disable debug print */ | ||
| 28 | //#define NO_DEBUG | ||
| 29 | |||
| 30 | /* disable print */ | ||
| 31 | //#define NO_PRINT | ||
| 32 | |||
| 33 | /* disable action features */ | ||
| 34 | //#define NO_ACTION_LAYER | ||
| 35 | //#define NO_ACTION_TAPPING | ||
| 36 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/handwired/split89/keyboard.json b/keyboards/handwired/split89/keyboard.json index d28953ab5f..029988b0ba 100644 --- a/keyboards/handwired/split89/keyboard.json +++ b/keyboards/handwired/split89/keyboard.json | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | "diode_direction": "COL2ROW", | 29 | "diode_direction": "COL2ROW", |
| 30 | "split": { | 30 | "split": { |
| 31 | "enabled": true, | 31 | "enabled": true, |
| 32 | "handedness": { | ||
| 33 | "pin": "D1" | ||
| 34 | }, | ||
| 32 | "soft_serial_pin": "D0", | 35 | "soft_serial_pin": "D0", |
| 33 | "matrix_pins": { | 36 | "matrix_pins": { |
| 34 | "right": { | 37 | "right": { |
diff --git a/keyboards/handwired/splittest/bluepill/config.h b/keyboards/handwired/splittest/bluepill/config.h index d19bb3dee8..af29e34088 100644 --- a/keyboards/handwired/splittest/bluepill/config.h +++ b/keyboards/handwired/splittest/bluepill/config.h | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define SPLIT_HAND_PIN A7 | ||
| 7 | |||
| 8 | #if !(defined(USE_SDI1_ON_STANDARD_ROLE_PINS) || defined(USE_SDI1_ON_ALTERNATE_ROLE_PINS) || defined(USE_SDI2)) | 6 | #if !(defined(USE_SDI1_ON_STANDARD_ROLE_PINS) || defined(USE_SDI1_ON_ALTERNATE_ROLE_PINS) || defined(USE_SDI2)) |
| 9 | #define USE_SDI1_ON_STANDARD_ROLE_PINS | 7 | #define USE_SDI1_ON_STANDARD_ROLE_PINS |
| 10 | #endif | 8 | #endif |
diff --git a/keyboards/handwired/splittest/bluepill/keyboard.json b/keyboards/handwired/splittest/bluepill/keyboard.json index 5c061a7119..42859f5ee8 100644 --- a/keyboards/handwired/splittest/bluepill/keyboard.json +++ b/keyboards/handwired/splittest/bluepill/keyboard.json | |||
| @@ -3,6 +3,11 @@ | |||
| 3 | "cols": ["B1"], | 3 | "cols": ["B1"], |
| 4 | "rows": ["B10"] | 4 | "rows": ["B10"] |
| 5 | }, | 5 | }, |
| 6 | "split": { | ||
| 7 | "handedness": { | ||
| 8 | "pin": "A7" | ||
| 9 | } | ||
| 10 | }, | ||
| 6 | "diode_direction": "COL2ROW", | 11 | "diode_direction": "COL2ROW", |
| 7 | "development_board": "bluepill", | 12 | "development_board": "bluepill", |
| 8 | "features": { | 13 | "features": { |
diff --git a/keyboards/handwired/splittest/promicro/config.h b/keyboards/handwired/splittest/promicro/config.h index 4458ddaffe..2c39af2df7 100644 --- a/keyboards/handwired/splittest/promicro/config.h +++ b/keyboards/handwired/splittest/promicro/config.h | |||
| @@ -16,8 +16,5 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | |||
| 20 | // use I2C on AVR | 19 | // use I2C on AVR |
| 21 | #define USE_I2C | 20 | #define USE_I2C |
| 22 | |||
| 23 | #define SPLIT_HAND_PIN F6 | ||
diff --git a/keyboards/handwired/splittest/promicro/keyboard.json b/keyboards/handwired/splittest/promicro/keyboard.json index 2f5929cc00..8aca1c3de7 100644 --- a/keyboards/handwired/splittest/promicro/keyboard.json +++ b/keyboards/handwired/splittest/promicro/keyboard.json | |||
| @@ -5,6 +5,9 @@ | |||
| 5 | }, | 5 | }, |
| 6 | "diode_direction": "COL2ROW", | 6 | "diode_direction": "COL2ROW", |
| 7 | "split": { | 7 | "split": { |
| 8 | "handedness": { | ||
| 9 | "pin": "F6" | ||
| 10 | }, | ||
| 8 | "soft_serial_pin": "D1" | 11 | "soft_serial_pin": "D1" |
| 9 | }, | 12 | }, |
| 10 | "ws2812": { | 13 | "ws2812": { |
diff --git a/keyboards/handwired/splittest/teensy_2/config.h b/keyboards/handwired/splittest/teensy_2/config.h index 20672a381f..f7033863e0 100644 --- a/keyboards/handwired/splittest/teensy_2/config.h +++ b/keyboards/handwired/splittest/teensy_2/config.h | |||
| @@ -16,11 +16,8 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | |||
| 20 | // use I2C on AVR | 19 | // use I2C on AVR |
| 21 | #define USE_I2C | 20 | #define USE_I2C |
| 22 | 21 | ||
| 23 | #define SPLIT_HAND_PIN F0 | ||
| 24 | |||
| 25 | // teensy has vbus detection issues - use usb detection instead | 22 | // teensy has vbus detection issues - use usb detection instead |
| 26 | #define SPLIT_USB_DETECT | 23 | #define SPLIT_USB_DETECT |
diff --git a/keyboards/handwired/splittest/teensy_2/keyboard.json b/keyboards/handwired/splittest/teensy_2/keyboard.json index 68ab3f92c4..c10b20a173 100644 --- a/keyboards/handwired/splittest/teensy_2/keyboard.json +++ b/keyboards/handwired/splittest/teensy_2/keyboard.json | |||
| @@ -5,6 +5,9 @@ | |||
| 5 | }, | 5 | }, |
| 6 | "diode_direction": "COL2ROW", | 6 | "diode_direction": "COL2ROW", |
| 7 | "split": { | 7 | "split": { |
| 8 | "handedness": { | ||
| 9 | "pin": "F0" | ||
| 10 | }, | ||
| 8 | "soft_serial_pin": "D1" | 11 | "soft_serial_pin": "D1" |
| 9 | }, | 12 | }, |
| 10 | "ws2812": { | 13 | "ws2812": { |
diff --git a/keyboards/handwired/tractyl_manuform/4x6_right/config.h b/keyboards/handwired/tractyl_manuform/4x6_right/config.h index 9d283866b4..ba187a8376 100644 --- a/keyboards/handwired/tractyl_manuform/4x6_right/config.h +++ b/keyboards/handwired/tractyl_manuform/4x6_right/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define SPLIT_TRANSPORT_MIRROR | 21 | #define SPLIT_TRANSPORT_MIRROR |
| 22 | #define SPLIT_HAND_PIN A6 | ||
| 23 | 22 | ||
| 24 | // #define DEBUG_LED_PIN D6 | 23 | // #define DEBUG_LED_PIN D6 |
| 25 | 24 | ||
diff --git a/keyboards/handwired/tractyl_manuform/4x6_right/keyboard.json b/keyboards/handwired/tractyl_manuform/4x6_right/keyboard.json index 825c59ac72..e5730a4586 100644 --- a/keyboards/handwired/tractyl_manuform/4x6_right/keyboard.json +++ b/keyboards/handwired/tractyl_manuform/4x6_right/keyboard.json | |||
| @@ -19,6 +19,9 @@ | |||
| 19 | "diode_direction": "COL2ROW", | 19 | "diode_direction": "COL2ROW", |
| 20 | "split": { | 20 | "split": { |
| 21 | "enabled": true, | 21 | "enabled": true, |
| 22 | "handedness": { | ||
| 23 | "pin": "A6" | ||
| 24 | }, | ||
| 22 | "soft_serial_pin": "D3", | 25 | "soft_serial_pin": "D3", |
| 23 | "bootmagic": { | 26 | "bootmagic": { |
| 24 | "matrix": [4, 5] | 27 | "matrix": [4, 5] |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h index a2818e7176..b10fe7de74 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | // #define USB_VBUS_PIN B10 | 21 | // #define USB_VBUS_PIN B10 |
| 22 | #define SPLIT_HAND_PIN C14 // high = left, low = right | ||
| 23 | 22 | ||
| 24 | // WS2812 RGB LED strip input and number of LEDs | 23 | // WS2812 RGB LED strip input and number of LEDs |
| 25 | #define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 | 24 | #define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f303/keyboard.json b/keyboards/handwired/tractyl_manuform/5x6_right/f303/keyboard.json index a9bfd7ee55..a9070f2cc7 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f303/keyboard.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f303/keyboard.json | |||
| @@ -16,6 +16,9 @@ | |||
| 16 | "driver": "dac_additive" | 16 | "driver": "dac_additive" |
| 17 | }, | 17 | }, |
| 18 | "split": { | 18 | "split": { |
| 19 | "handedness": { | ||
| 20 | "pin": "C14" | ||
| 21 | }, | ||
| 19 | "serial": { | 22 | "serial": { |
| 20 | "driver": "usart" | 23 | "driver": "usart" |
| 21 | } | 24 | } |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h index 87f830e175..64169da7e5 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h | |||
| @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | // #define USB_VBUS_PIN B10 // doesn't seem to work for me on one of my controllers... */ | 21 | // #define USB_VBUS_PIN B10 // doesn't seem to work for me on one of my controllers... */ |
| 22 | #define SPLIT_HAND_PIN C14 // high = left, low = right | ||
| 23 | 22 | ||
| 24 | // WS2812 RGB LED strip input and number of LEDs | 23 | // WS2812 RGB LED strip input and number of LEDs |
| 25 | #define WS2812_PWM_DRIVER PWMD2 // default: PWMD2 | 24 | #define WS2812_PWM_DRIVER PWMD2 // default: PWMD2 |
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/keyboard.json b/keyboards/handwired/tractyl_manuform/5x6_right/f411/keyboard.json index 65124f3a3d..c7d38c0daf 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/keyboard.json +++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/keyboard.json | |||
| @@ -19,9 +19,12 @@ | |||
| 19 | "driver": "pwm_hardware" | 19 | "driver": "pwm_hardware" |
| 20 | }, | 20 | }, |
| 21 | "split": { | 21 | "split": { |
| 22 | "handedness": { | ||
| 23 | "pin": "C14" | ||
| 24 | }, | ||
| 22 | "serial": { | 25 | "serial": { |
| 23 | "driver": "usart" | 26 | "driver": "usart" |
| 24 | } | 27 | }, |
| 25 | }, | 28 | }, |
| 26 | "ws2812": { | 29 | "ws2812": { |
| 27 | "pin": "A1", | 30 | "pin": "A1", |
diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h index 33ba0ecbc5..b236a8cbe1 100644 --- a/keyboards/jian/rev2/config.h +++ b/keyboards/jian/rev2/config.h | |||
| @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | //#define EE_HANDS | 20 | //#define EE_HANDS |
| 21 | #define SPLIT_HAND_PIN E6 | ||
| 22 | 21 | ||
| 23 | #define PHYSICAL_LEDS_ENABLE | 22 | #define PHYSICAL_LEDS_ENABLE |
| 24 | #define IOS_DEVICE_ENABLE | 23 | #define IOS_DEVICE_ENABLE |
diff --git a/keyboards/jian/rev2/keyboard.json b/keyboards/jian/rev2/keyboard.json index e64df224a5..757fee166d 100644 --- a/keyboards/jian/rev2/keyboard.json +++ b/keyboards/jian/rev2/keyboard.json | |||
| @@ -39,6 +39,9 @@ | |||
| 39 | }, | 39 | }, |
| 40 | "split": { | 40 | "split": { |
| 41 | "enabled": true, | 41 | "enabled": true, |
| 42 | "handedness": { | ||
| 43 | "pin": "E6" | ||
| 44 | }, | ||
| 42 | "soft_serial_pin": "D1" | 45 | "soft_serial_pin": "D1" |
| 43 | }, | 46 | }, |
| 44 | "processor": "atmega32u4", | 47 | "processor": "atmega32u4", |
diff --git a/keyboards/kakunpc/suihankey/split/alpha/config.h b/keyboards/kakunpc/suihankey/split/alpha/config.h index ebccdcca30..23900d8ab2 100644 --- a/keyboards/kakunpc/suihankey/split/alpha/config.h +++ b/keyboards/kakunpc/suihankey/split/alpha/config.h | |||
| @@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define USE_I2C | 20 | #define USE_I2C |
| 21 | 21 | ||
| 22 | #define SPLIT_HAND_PIN D2 | ||
| 23 | |||
| 24 | /* | 22 | /* |
| 25 | * Feature disable options | 23 | * Feature disable options |
| 26 | * These options are also useful to firmware size reduction. | 24 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/kakunpc/suihankey/split/info.json b/keyboards/kakunpc/suihankey/split/info.json index c186263123..2e5bf1ce97 100644 --- a/keyboards/kakunpc/suihankey/split/info.json +++ b/keyboards/kakunpc/suihankey/split/info.json | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | }, | 10 | }, |
| 11 | "split": { | 11 | "split": { |
| 12 | "enabled": true, | 12 | "enabled": true, |
| 13 | "handedness": { | ||
| 14 | "pin": "D2" | ||
| 15 | }, | ||
| 13 | "soft_serial_pin": "D0" | 16 | "soft_serial_pin": "D0" |
| 14 | }, | 17 | }, |
| 15 | "processor": "atmega32u4", | 18 | "processor": "atmega32u4", |
diff --git a/keyboards/kakunpc/suihankey/split/rev1/config.h b/keyboards/kakunpc/suihankey/split/rev1/config.h index ebccdcca30..23900d8ab2 100644 --- a/keyboards/kakunpc/suihankey/split/rev1/config.h +++ b/keyboards/kakunpc/suihankey/split/rev1/config.h | |||
| @@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #define USE_I2C | 20 | #define USE_I2C |
| 21 | 21 | ||
| 22 | #define SPLIT_HAND_PIN D2 | ||
| 23 | |||
| 24 | /* | 22 | /* |
| 25 | * Feature disable options | 23 | * Feature disable options |
| 26 | * These options are also useful to firmware size reduction. | 24 | * These options are also useful to firmware size reduction. |
diff --git a/keyboards/keebio/cepstrum/rev1/config.h b/keyboards/keebio/cepstrum/rev1/config.h index 7c3bb16bad..5ece396104 100644 --- a/keyboards/keebio/cepstrum/rev1/config.h +++ b/keyboards/keebio/cepstrum/rev1/config.h | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define SPLIT_HAND_PIN GP4 | ||
| 7 | |||
| 8 | #define USB_VBUS_PIN GP12 | 6 | #define USB_VBUS_PIN GP12 |
| 9 | 7 | ||
| 10 | #define SERIAL_USART_FULL_DUPLEX | 8 | #define SERIAL_USART_FULL_DUPLEX |
diff --git a/keyboards/keebio/cepstrum/rev1/keyboard.json b/keyboards/keebio/cepstrum/rev1/keyboard.json index 27756784bc..26289f6236 100644 --- a/keyboards/keebio/cepstrum/rev1/keyboard.json +++ b/keyboards/keebio/cepstrum/rev1/keyboard.json | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | }, | 9 | }, |
| 10 | "split": { | 10 | "split": { |
| 11 | "enabled": true, | 11 | "enabled": true, |
| 12 | "handedness": { | ||
| 13 | "pin": "GP4" | ||
| 14 | }, | ||
| 12 | "matrix_pins": { | 15 | "matrix_pins": { |
| 13 | "right": { | 16 | "right": { |
| 14 | "cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP21", "GP15", "GP9", "GP10"], | 17 | "cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP21", "GP15", "GP9", "GP10"], |
diff --git a/keyboards/keebio/foldkb/rev1/config.h b/keyboards/keebio/foldkb/rev1/config.h index 0435a34e7f..572ff9a83a 100644 --- a/keyboards/keebio/foldkb/rev1/config.h +++ b/keyboards/keebio/foldkb/rev1/config.h | |||
| @@ -16,6 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define SPLIT_HAND_PIN F7 | ||
| 20 | |||
| 21 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 19 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) |
diff --git a/keyboards/keebio/foldkb/rev1/keyboard.json b/keyboards/keebio/foldkb/rev1/keyboard.json index c7055400a5..447f2ed0fd 100644 --- a/keyboards/keebio/foldkb/rev1/keyboard.json +++ b/keyboards/keebio/foldkb/rev1/keyboard.json | |||
| @@ -23,6 +23,9 @@ | |||
| 23 | }, | 23 | }, |
| 24 | "split": { | 24 | "split": { |
| 25 | "enabled": true, | 25 | "enabled": true, |
| 26 | "handedness": { | ||
| 27 | "pin": "F7" | ||
| 28 | }, | ||
| 26 | "soft_serial_pin": "D0" | 29 | "soft_serial_pin": "D0" |
| 27 | }, | 30 | }, |
| 28 | "rgblight": { | 31 | "rgblight": { |
diff --git a/keyboards/keebio/fourier/config.h b/keyboards/keebio/fourier/config.h deleted file mode 100644 index 49d868c968..0000000000 --- a/keyboards/keebio/fourier/config.h +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | /* Split Defines */ | ||
| 22 | #define SPLIT_HAND_PIN D2 | ||
| 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/keebio/fourier/keyboard.json b/keyboards/keebio/fourier/keyboard.json index 189276b877..6f83ae6f53 100644 --- a/keyboards/keebio/fourier/keyboard.json +++ b/keyboards/keebio/fourier/keyboard.json | |||
| @@ -36,6 +36,9 @@ | |||
| 36 | }, | 36 | }, |
| 37 | "split": { | 37 | "split": { |
| 38 | "enabled": true, | 38 | "enabled": true, |
| 39 | "handedness": { | ||
| 40 | "pin": "D2" | ||
| 41 | }, | ||
| 39 | "soft_serial_pin": "D0" | 42 | "soft_serial_pin": "D0" |
| 40 | }, | 43 | }, |
| 41 | "rgblight": { | 44 | "rgblight": { |
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 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Danny Nguyen <danny@keeb.io> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #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 @@ | |||
| 45 | }, | 45 | }, |
| 46 | "split": { | 46 | "split": { |
| 47 | "enabled": true, | 47 | "enabled": true, |
| 48 | "handedness": { | ||
| 49 | "pin": "F0" | ||
| 50 | }, | ||
| 48 | "soft_serial_pin": "D0" | 51 | "soft_serial_pin": "D0" |
| 49 | }, | 52 | }, |
| 50 | "processor": "atmega32u4", | 53 | "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 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Danny Nguyen <danny@keeb.io> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #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 @@ | |||
| 53 | ] | 53 | ] |
| 54 | } | 54 | } |
| 55 | }, | 55 | }, |
| 56 | "handedness": { | ||
| 57 | "pin": "D5" | ||
| 58 | }, | ||
| 56 | "matrix_pins": { | 59 | "matrix_pins": { |
| 57 | "right": { | 60 | "right": { |
| 58 | "cols": ["D4", "D7", "D3", "B7", "F0", "B3"], | 61 | "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/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define SPLIT_HAND_PIN D5 | ||
| 21 | |||
| 22 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 20 | #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 @@ | |||
| 70 | ] | 70 | ] |
| 71 | } | 71 | } |
| 72 | }, | 72 | }, |
| 73 | "handedness": { | ||
| 74 | "pin": "D5" | ||
| 75 | }, | ||
| 73 | "matrix_pins": { | 76 | "matrix_pins": { |
| 74 | "right": { | 77 | "right": { |
| 75 | "cols": ["D4", "D7", "D3", "B7", "F0", "B3"], | 78 | "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/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define SPLIT_HAND_PIN D5 | ||
| 21 | |||
| 22 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 20 | #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 @@ | |||
| 86 | "split": { | 86 | "split": { |
| 87 | "enabled": true, | 87 | "enabled": true, |
| 88 | "soft_serial_pin": "D0", | 88 | "soft_serial_pin": "D0", |
| 89 | "handedness": { | ||
| 90 | "pin": "D5" | ||
| 91 | }, | ||
| 89 | "matrix_pins": { | 92 | "matrix_pins": { |
| 90 | "right": { | 93 | "right": { |
| 91 | "cols": ["D4", "D6", "D7", "C7", "F1", "F4"], | 94 | "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/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define SPLIT_HAND_PIN D5 | ||
| 21 | |||
| 22 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 20 | #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 @@ | |||
| 85 | "split": { | 85 | "split": { |
| 86 | "enabled": true, | 86 | "enabled": true, |
| 87 | "soft_serial_pin": "D0", | 87 | "soft_serial_pin": "D0", |
| 88 | "handedness": { | ||
| 89 | "pin": "D5" | ||
| 90 | }, | ||
| 88 | "matrix_pins": { | 91 | "matrix_pins": { |
| 89 | "right": { | 92 | "right": { |
| 90 | "cols": ["D4", "D6", "D7", "C7", "F1", "F4"], | 93 | "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 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define SPLIT_HAND_PIN GP4 | ||
| 7 | |||
| 8 | #define USB_VBUS_PIN GP8 | 6 | #define USB_VBUS_PIN GP8 |
| 9 | 7 | ||
| 10 | #define SERIAL_USART_FULL_DUPLEX | 8 | #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 @@ | |||
| 24 | }, | 24 | }, |
| 25 | "split": { | 25 | "split": { |
| 26 | "enabled": true, | 26 | "enabled": true, |
| 27 | "handedness": { | ||
| 28 | "pin": "GP4" | ||
| 29 | }, | ||
| 27 | "matrix_pins": { | 30 | "matrix_pins": { |
| 28 | "right": { | 31 | "right": { |
| 29 | "cols": ["GP27", "GP28", "GP3", "GP6", "GP29", "GP16"], | 32 | "cols": ["GP27", "GP28", "GP3", "GP6", "GP29", "GP16"], |
diff --git a/keyboards/keebio/iris_ce/rev1/config.h b/keyboards/keebio/iris_ce/rev1/config.h index e5f43f001e..2a9d57b061 100644 --- a/keyboards/keebio/iris_ce/rev1/config.h +++ b/keyboards/keebio/iris_ce/rev1/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define SPLIT_HAND_PIN GP4 | ||
| 7 | #define USB_VBUS_PIN GP0 | 6 | #define USB_VBUS_PIN GP0 |
| 8 | #define SERIAL_USART_FULL_DUPLEX | 7 | #define SERIAL_USART_FULL_DUPLEX |
| 9 | #define SERIAL_USART_TX_PIN GP12 | 8 | #define SERIAL_USART_TX_PIN GP12 |
diff --git a/keyboards/keebio/iris_ce/rev1/keyboard.json b/keyboards/keebio/iris_ce/rev1/keyboard.json index 1f131e51bd..c5cab98778 100644 --- a/keyboards/keebio/iris_ce/rev1/keyboard.json +++ b/keyboards/keebio/iris_ce/rev1/keyboard.json | |||
| @@ -135,6 +135,9 @@ | |||
| 135 | }, | 135 | }, |
| 136 | "split": { | 136 | "split": { |
| 137 | "enabled": true, | 137 | "enabled": true, |
| 138 | "handedness": { | ||
| 139 | "pin": "GP4" | ||
| 140 | }, | ||
| 138 | "matrix_pins": { | 141 | "matrix_pins": { |
| 139 | "right": { | 142 | "right": { |
| 140 | "cols": ["GP29", "GP28", "GP2", "GP27", "GP18", "GP7"], | 143 | "cols": ["GP29", "GP28", "GP2", "GP27", "GP18", "GP7"], |
diff --git a/keyboards/keebio/kbo5000/rev1/config.h b/keyboards/keebio/kbo5000/rev1/config.h index edc732d668..12f7f76c87 100644 --- a/keyboards/keebio/kbo5000/rev1/config.h +++ b/keyboards/keebio/kbo5000/rev1/config.h | |||
| @@ -18,6 +18,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define SPLIT_HAND_PIN F7 | ||
| 22 | |||
| 23 | #define CAPS_LOCK_LED_PIN B6 | 21 | #define CAPS_LOCK_LED_PIN B6 |
diff --git a/keyboards/keebio/kbo5000/rev1/keyboard.json b/keyboards/keebio/kbo5000/rev1/keyboard.json index b42b7116db..68d791bfb9 100644 --- a/keyboards/keebio/kbo5000/rev1/keyboard.json +++ b/keyboards/keebio/kbo5000/rev1/keyboard.json | |||
| @@ -52,6 +52,9 @@ | |||
| 52 | ] | 52 | ] |
| 53 | } | 53 | } |
| 54 | }, | 54 | }, |
| 55 | "handedness": { | ||
| 56 | "pin": "F7" | ||
| 57 | }, | ||
| 55 | "matrix_pins": { | 58 | "matrix_pins": { |
| 56 | "right": { | 59 | "right": { |
| 57 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "D2", "D3", "B7", "B1"], | 60 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "D2", "D3", "B7", "B1"], |
diff --git a/keyboards/keebio/levinson/rev3/config.h b/keyboards/keebio/levinson/rev3/config.h deleted file mode 100644 index 2c1ea67b7a..0000000000 --- a/keyboards/keebio/levinson/rev3/config.h +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | Copyright 2018 Danny Nguyen <danny@keeb.io> | ||
| 5 | |||
| 6 | This program is free software: you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation, either version 2 of the License, or | ||
| 9 | (at your option) any later version. | ||
| 10 | |||
| 11 | This program is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | ||
| 19 | |||
| 20 | #pragma once | ||
| 21 | |||
| 22 | #define SPLIT_HAND_PIN D2 | ||
diff --git a/keyboards/keebio/levinson/rev3/keyboard.json b/keyboards/keebio/levinson/rev3/keyboard.json index 995fb8327d..36c0c5dc9b 100644 --- a/keyboards/keebio/levinson/rev3/keyboard.json +++ b/keyboards/keebio/levinson/rev3/keyboard.json | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | "keyboard_name": "Levinson Rev. 3", | 2 | "keyboard_name": "Levinson Rev. 3", |
| 3 | "split": { | 3 | "split": { |
| 4 | "soft_serial_pin": "D0", | 4 | "soft_serial_pin": "D0", |
| 5 | "handedness": { | ||
| 6 | "pin": "D2" | ||
| 7 | }, | ||
| 5 | "matrix_pins": { | 8 | "matrix_pins": { |
| 6 | "right": { | 9 | "right": { |
| 7 | "cols": ["F4", "F7", "D3", "B5", "B4", "E6"], | 10 | "cols": ["F4", "F7", "D3", "B5", "B4", "E6"], |
diff --git a/keyboards/keebio/nyquist/rev3/config.h b/keyboards/keebio/nyquist/rev3/config.h deleted file mode 100644 index 177b2832f5..0000000000 --- a/keyboards/keebio/nyquist/rev3/config.h +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Danny Nguyen <danny@keeb.io> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define SPLIT_HAND_PIN D5 | ||
| 21 | |||
| 22 | /* | ||
| 23 | * Feature disable options | ||
| 24 | * These options are also useful to firmware size reduction. | ||
| 25 | */ | ||
| 26 | |||
| 27 | /* disable debug print */ | ||
| 28 | // #define NO_DEBUG | ||
| 29 | |||
| 30 | /* disable print */ | ||
| 31 | // #define NO_PRINT | ||
| 32 | |||
| 33 | /* disable action features */ | ||
| 34 | //#define NO_ACTION_LAYER | ||
| 35 | //#define NO_ACTION_TAPPING | ||
| 36 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/keebio/nyquist/rev3/keyboard.json b/keyboards/keebio/nyquist/rev3/keyboard.json index 062b7ebeae..f975dde6b5 100644 --- a/keyboards/keebio/nyquist/rev3/keyboard.json +++ b/keyboards/keebio/nyquist/rev3/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 | }, | 38 | }, |
| 36 | "rgblight": { | 39 | "rgblight": { |
diff --git a/keyboards/keebio/nyquist/rev4/config.h b/keyboards/keebio/nyquist/rev4/config.h index 37b015f821..e1e2d99458 100644 --- a/keyboards/keebio/nyquist/rev4/config.h +++ b/keyboards/keebio/nyquist/rev4/config.h | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define SPLIT_HAND_PIN GP23 | ||
| 7 | |||
| 8 | #define USB_VBUS_PIN GP18 | 6 | #define USB_VBUS_PIN GP18 |
| 9 | 7 | ||
| 10 | #define SERIAL_USART_FULL_DUPLEX | 8 | #define SERIAL_USART_FULL_DUPLEX |
diff --git a/keyboards/keebio/nyquist/rev4/keyboard.json b/keyboards/keebio/nyquist/rev4/keyboard.json index ada4824b1c..cb5c3a39f9 100644 --- a/keyboards/keebio/nyquist/rev4/keyboard.json +++ b/keyboards/keebio/nyquist/rev4/keyboard.json | |||
| @@ -21,6 +21,9 @@ | |||
| 21 | ] | 21 | ] |
| 22 | } | 22 | } |
| 23 | }, | 23 | }, |
| 24 | "handedness": { | ||
| 25 | "pin": "GP23" | ||
| 26 | }, | ||
| 24 | "matrix_pins": { | 27 | "matrix_pins": { |
| 25 | "right":{ | 28 | "right":{ |
| 26 | "cols": ["GP25", "GP29", "GP20", "GP11", "GP3", "GP2"], | 29 | "cols": ["GP25", "GP29", "GP20", "GP11", "GP3", "GP2"], |
diff --git a/keyboards/keebio/quefrency/rev1/config.h b/keyboards/keebio/quefrency/rev1/config.h deleted file mode 100644 index c62ff4fef9..0000000000 --- a/keyboards/keebio/quefrency/rev1/config.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | #define SPLIT_HAND_PIN D2 | ||
diff --git a/keyboards/keebio/quefrency/rev1/keyboard.json b/keyboards/keebio/quefrency/rev1/keyboard.json index 598fc55000..3dbee364d8 100644 --- a/keyboards/keebio/quefrency/rev1/keyboard.json +++ b/keyboards/keebio/quefrency/rev1/keyboard.json | |||
| @@ -34,6 +34,9 @@ | |||
| 34 | "diode_direction": "COL2ROW", | 34 | "diode_direction": "COL2ROW", |
| 35 | "split": { | 35 | "split": { |
| 36 | "soft_serial_pin": "D0", | 36 | "soft_serial_pin": "D0", |
| 37 | "handedness": { | ||
| 38 | "pin": "D2" | ||
| 39 | }, | ||
| 37 | "matrix_pins": { | 40 | "matrix_pins": { |
| 38 | "right": { | 41 | "right": { |
| 39 | "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6", "C6"], | 42 | "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6", "C6"], |
diff --git a/keyboards/keebio/quefrency/rev2/config.h b/keyboards/keebio/quefrency/rev2/config.h index edc732d668..12f7f76c87 100644 --- a/keyboards/keebio/quefrency/rev2/config.h +++ b/keyboards/keebio/quefrency/rev2/config.h | |||
| @@ -18,6 +18,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define SPLIT_HAND_PIN F7 | ||
| 22 | |||
| 23 | #define CAPS_LOCK_LED_PIN B6 | 21 | #define CAPS_LOCK_LED_PIN B6 |
diff --git a/keyboards/keebio/quefrency/rev2/keyboard.json b/keyboards/keebio/quefrency/rev2/keyboard.json index 0529fa13a6..aacb72994a 100644 --- a/keyboards/keebio/quefrency/rev2/keyboard.json +++ b/keyboards/keebio/quefrency/rev2/keyboard.json | |||
| @@ -50,6 +50,9 @@ | |||
| 50 | ] | 50 | ] |
| 51 | } | 51 | } |
| 52 | }, | 52 | }, |
| 53 | "handedness": { | ||
| 54 | "pin": "F7" | ||
| 55 | }, | ||
| 53 | "matrix_pins": { | 56 | "matrix_pins": { |
| 54 | "right": { | 57 | "right": { |
| 55 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], | 58 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], |
diff --git a/keyboards/keebio/quefrency/rev3/config.h b/keyboards/keebio/quefrency/rev3/config.h index edc732d668..12f7f76c87 100644 --- a/keyboards/keebio/quefrency/rev3/config.h +++ b/keyboards/keebio/quefrency/rev3/config.h | |||
| @@ -18,6 +18,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define SPLIT_HAND_PIN F7 | ||
| 22 | |||
| 23 | #define CAPS_LOCK_LED_PIN B6 | 21 | #define CAPS_LOCK_LED_PIN B6 |
diff --git a/keyboards/keebio/quefrency/rev3/keyboard.json b/keyboards/keebio/quefrency/rev3/keyboard.json index bd8d86f884..6dd8889a2b 100644 --- a/keyboards/keebio/quefrency/rev3/keyboard.json +++ b/keyboards/keebio/quefrency/rev3/keyboard.json | |||
| @@ -50,6 +50,9 @@ | |||
| 50 | ] | 50 | ] |
| 51 | } | 51 | } |
| 52 | }, | 52 | }, |
| 53 | "handedness": { | ||
| 54 | "pin": "F7" | ||
| 55 | }, | ||
| 53 | "matrix_pins": { | 56 | "matrix_pins": { |
| 54 | "right": { | 57 | "right": { |
| 55 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], | 58 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], |
diff --git a/keyboards/keebio/quefrency/rev4/config.h b/keyboards/keebio/quefrency/rev4/config.h index 0435a34e7f..572ff9a83a 100644 --- a/keyboards/keebio/quefrency/rev4/config.h +++ b/keyboards/keebio/quefrency/rev4/config.h | |||
| @@ -16,6 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define SPLIT_HAND_PIN F7 | ||
| 20 | |||
| 21 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 19 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) |
diff --git a/keyboards/keebio/quefrency/rev4/keyboard.json b/keyboards/keebio/quefrency/rev4/keyboard.json index 8cf21b4962..ef60302c74 100644 --- a/keyboards/keebio/quefrency/rev4/keyboard.json +++ b/keyboards/keebio/quefrency/rev4/keyboard.json | |||
| @@ -47,6 +47,9 @@ | |||
| 47 | ] | 47 | ] |
| 48 | } | 48 | } |
| 49 | }, | 49 | }, |
| 50 | "handedness": { | ||
| 51 | "pin": "F7" | ||
| 52 | }, | ||
| 50 | "matrix_pins": { | 53 | "matrix_pins": { |
| 51 | "right": { | 54 | "right": { |
| 52 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], | 55 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], |
diff --git a/keyboards/keebio/quefrency/rev5/config.h b/keyboards/keebio/quefrency/rev5/config.h index 0435a34e7f..572ff9a83a 100644 --- a/keyboards/keebio/quefrency/rev5/config.h +++ b/keyboards/keebio/quefrency/rev5/config.h | |||
| @@ -16,6 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define SPLIT_HAND_PIN F7 | ||
| 20 | |||
| 21 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 19 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) |
diff --git a/keyboards/keebio/quefrency/rev5/keyboard.json b/keyboards/keebio/quefrency/rev5/keyboard.json index b5f9c994af..96b4fa5d26 100644 --- a/keyboards/keebio/quefrency/rev5/keyboard.json +++ b/keyboards/keebio/quefrency/rev5/keyboard.json | |||
| @@ -47,6 +47,9 @@ | |||
| 47 | ] | 47 | ] |
| 48 | } | 48 | } |
| 49 | }, | 49 | }, |
| 50 | "handedness": { | ||
| 51 | "pin": "F7" | ||
| 52 | }, | ||
| 50 | "matrix_pins": { | 53 | "matrix_pins": { |
| 51 | "right": { | 54 | "right": { |
| 52 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], | 55 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], |
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/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | // wiring of each half | ||
| 20 | #define SPLIT_HAND_PIN F7 | ||
| 21 | |||
| 22 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 19 | #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 @@ | |||
| 39 | ] | 39 | ] |
| 40 | } | 40 | } |
| 41 | }, | 41 | }, |
| 42 | "handedness": { | ||
| 43 | "pin": "F7" | ||
| 44 | }, | ||
| 42 | "matrix_pins": { | 45 | "matrix_pins": { |
| 43 | "right": { | 46 | "right": { |
| 44 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], | 47 | "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/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | // wiring of each half | ||
| 20 | #define SPLIT_HAND_PIN F7 | ||
| 21 | |||
| 22 | #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) | 19 | #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 @@ | |||
| 39 | ] | 39 | ] |
| 40 | } | 40 | } |
| 41 | }, | 41 | }, |
| 42 | "handedness": { | ||
| 43 | "pin": "F7" | ||
| 44 | }, | ||
| 42 | "matrix_pins": { | 45 | "matrix_pins": { |
| 43 | "right": { | 46 | "right": { |
| 44 | "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], | 47 | "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/>. | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define SPLIT_HAND_PIN GP4 | ||
| 20 | |||
| 21 | #define SERIAL_USART_FULL_DUPLEX | 19 | #define SERIAL_USART_FULL_DUPLEX |
| 22 | #define SERIAL_USART_TX_PIN GP0 | 20 | #define SERIAL_USART_TX_PIN GP0 |
| 23 | #define SERIAL_USART_RX_PIN GP1 | 21 | #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 @@ | |||
| 20 | ] | 20 | ] |
| 21 | } | 21 | } |
| 22 | }, | 22 | }, |
| 23 | "handedness": { | ||
| 24 | "pin": "GP4" | ||
| 25 | }, | ||
| 23 | "matrix_pins": { | 26 | "matrix_pins": { |
| 24 | "right": { | 27 | "right": { |
| 25 | "cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"], | 28 | "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 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define SPLIT_HAND_PIN GP4 | ||
| 7 | |||
| 8 | #define USB_VBUS_PIN GP14 | 6 | #define USB_VBUS_PIN GP14 |
| 9 | 7 | ||
| 10 | #define SERIAL_USART_FULL_DUPLEX | 8 | #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 @@ | |||
| 20 | ] | 20 | ] |
| 21 | } | 21 | } |
| 22 | }, | 22 | }, |
| 23 | "handedness": { | ||
| 24 | "pin": "GP4" | ||
| 25 | }, | ||
| 23 | "matrix_pins": { | 26 | "matrix_pins": { |
| 24 | "right": { | 27 | "right": { |
| 25 | "cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"], | 28 | "cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"], |
diff --git a/keyboards/keebio/viterbi/rev2/config.h b/keyboards/keebio/viterbi/rev2/config.h deleted file mode 100644 index 5b609ab777..0000000000 --- a/keyboards/keebio/viterbi/rev2/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Danny Nguyen <danny@hexwire.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define SPLIT_HAND_PIN D2 | ||
diff --git a/keyboards/keebio/viterbi/rev2/keyboard.json b/keyboards/keebio/viterbi/rev2/keyboard.json index 599529a365..58d921da94 100644 --- a/keyboards/keebio/viterbi/rev2/keyboard.json +++ b/keyboards/keebio/viterbi/rev2/keyboard.json | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "Viterbi Rev. 2", | 2 | "keyboard_name": "Viterbi Rev. 2", |
| 3 | "split": { | 3 | "split": { |
| 4 | "handedness": { | ||
| 5 | "pin": "D2" | ||
| 6 | }, | ||
| 4 | "soft_serial_pin": "D0" | 7 | "soft_serial_pin": "D0" |
| 5 | }, | 8 | }, |
| 6 | "usb": { | 9 | "usb": { |
diff --git a/keyboards/maple_computing/lets_split_eh/config.h b/keyboards/maple_computing/lets_split_eh/config.h index 38cf73ae1e..22b97cfb6a 100644 --- a/keyboards/maple_computing/lets_split_eh/config.h +++ b/keyboards/maple_computing/lets_split_eh/config.h | |||
| @@ -18,9 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | /* Split Defines */ | ||
| 22 | #define SPLIT_HAND_PIN D3 | ||
| 23 | |||
| 24 | // The 'EH' has previously forced use of I2C so this default has been kept | 21 | // The 'EH' has previously forced use of I2C so this default has been kept |
| 25 | // however users can undef to use serial | 22 | // however users can undef to use serial |
| 26 | #define USE_I2C | 23 | #define USE_I2C |
diff --git a/keyboards/maple_computing/lets_split_eh/keyboard.json b/keyboards/maple_computing/lets_split_eh/keyboard.json index 62d489d60c..5624f12ac1 100644 --- a/keyboards/maple_computing/lets_split_eh/keyboard.json +++ b/keyboards/maple_computing/lets_split_eh/keyboard.json | |||
| @@ -38,6 +38,9 @@ | |||
| 38 | }, | 38 | }, |
| 39 | "split": { | 39 | "split": { |
| 40 | "enabled": true, | 40 | "enabled": true, |
| 41 | "handedness": { | ||
| 42 | "pin": "D3" | ||
| 43 | }, | ||
| 41 | "soft_serial_pin": "D0" | 44 | "soft_serial_pin": "D0" |
| 42 | }, | 45 | }, |
| 43 | "processor": "atmega32u4", | 46 | "processor": "atmega32u4", |
diff --git a/keyboards/mlego/m60_split/rev1/config.h b/keyboards/mlego/m60_split/rev1/config.h index 564add296d..9f991d0fcc 100644 --- a/keyboards/mlego/m60_split/rev1/config.h +++ b/keyboards/mlego/m60_split/rev1/config.h | |||
| @@ -15,6 +15,5 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define SPLIT_HAND_PIN B9 | ||
| 19 | #define SERIAL_USART_TX_PIN B6 | 18 | #define SERIAL_USART_TX_PIN B6 |
| 20 | #define SERIAL_USART_SPEED 921600 | 19 | #define SERIAL_USART_SPEED 921600 |
diff --git a/keyboards/mlego/m60_split/rev1/keyboard.json b/keyboards/mlego/m60_split/rev1/keyboard.json index b4753a1d9e..cbd951dac9 100644 --- a/keyboards/mlego/m60_split/rev1/keyboard.json +++ b/keyboards/mlego/m60_split/rev1/keyboard.json | |||
| @@ -63,6 +63,9 @@ | |||
| 63 | "bootmagic": { | 63 | "bootmagic": { |
| 64 | "matrix": [5, 0] | 64 | "matrix": [5, 0] |
| 65 | }, | 65 | }, |
| 66 | "handedness": { | ||
| 67 | "pin": "B9" | ||
| 68 | }, | ||
| 66 | "matrix_pins": { | 69 | "matrix_pins": { |
| 67 | "right": { | 70 | "right": { |
| 68 | "cols": ["B0", "A3", "A2", "A1", "B7", "B5"], | 71 | "cols": ["B0", "A3", "A2", "A1", "B7", "B5"], |
diff --git a/keyboards/mlego/m60_split/rev2/config.h b/keyboards/mlego/m60_split/rev2/config.h index 82ea1b37e3..49218935d7 100644 --- a/keyboards/mlego/m60_split/rev2/config.h +++ b/keyboards/mlego/m60_split/rev2/config.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define SPLIT_HAND_PIN B9 | ||
| 19 | #define SERIAL_USART_TX_PIN B6 | 18 | #define SERIAL_USART_TX_PIN B6 |
| 20 | 19 | ||
| 21 | #define SERIAL_USART_SPEED 921600 | 20 | #define SERIAL_USART_SPEED 921600 |
diff --git a/keyboards/mlego/m60_split/rev2/keyboard.json b/keyboards/mlego/m60_split/rev2/keyboard.json index 08dcd19573..d8029696a8 100644 --- a/keyboards/mlego/m60_split/rev2/keyboard.json +++ b/keyboards/mlego/m60_split/rev2/keyboard.json | |||
| @@ -56,6 +56,9 @@ | |||
| 56 | "bootmagic": { | 56 | "bootmagic": { |
| 57 | "matrix": [5, 0] | 57 | "matrix": [5, 0] |
| 58 | }, | 58 | }, |
| 59 | "handedness": { | ||
| 60 | "pin": "B9" | ||
| 61 | }, | ||
| 59 | "matrix_pins": { | 62 | "matrix_pins": { |
| 60 | "right": { | 63 | "right": { |
| 61 | "cols": ["B0", "A3", "A2", "A1", "B7", "B5"], | 64 | "cols": ["B0", "A3", "A2", "A1", "B7", "B5"], |
diff --git a/keyboards/nacly/sodium42/config.h b/keyboards/nacly/sodium42/config.h deleted file mode 100644 index fe3f0e0cc9..0000000000 --- a/keyboards/nacly/sodium42/config.h +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | /* Copyright 2022 NaCly | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define SPLIT_HAND_PIN F4 | ||
| 20 | |||
| 21 | /* | ||
| 22 | * Feature disable options | ||
| 23 | * These options are also useful to firmware size reduction. | ||
| 24 | */ | ||
| 25 | |||
| 26 | /* disable debug print */ | ||
| 27 | // #define NO_DEBUG | ||
| 28 | |||
| 29 | /* disable print */ | ||
| 30 | // #define NO_PRINT | ||
| 31 | |||
| 32 | /* disable action features */ | ||
| 33 | //#define NO_ACTION_LAYER | ||
| 34 | //#define NO_ACTION_TAPPING | ||
| 35 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/nacly/sodium42/keyboard.json b/keyboards/nacly/sodium42/keyboard.json index 491a2cf955..ba4f386ca1 100644 --- a/keyboards/nacly/sodium42/keyboard.json +++ b/keyboards/nacly/sodium42/keyboard.json | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | "diode_direction": "COL2ROW", | 29 | "diode_direction": "COL2ROW", |
| 30 | "split": { | 30 | "split": { |
| 31 | "enabled": true, | 31 | "enabled": true, |
| 32 | "handedness": { | ||
| 33 | "pin": "F4" | ||
| 34 | }, | ||
| 32 | "soft_serial_pin": "D3" | 35 | "soft_serial_pin": "D3" |
| 33 | }, | 36 | }, |
| 34 | "processor": "atmega32u4", | 37 | "processor": "atmega32u4", |
diff --git a/keyboards/nacly/sodium50/config.h b/keyboards/nacly/sodium50/config.h deleted file mode 100644 index fe3f0e0cc9..0000000000 --- a/keyboards/nacly/sodium50/config.h +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | /* Copyright 2022 NaCly | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define SPLIT_HAND_PIN F4 | ||
| 20 | |||
| 21 | /* | ||
| 22 | * Feature disable options | ||
| 23 | * These options are also useful to firmware size reduction. | ||
| 24 | */ | ||
| 25 | |||
| 26 | /* disable debug print */ | ||
| 27 | // #define NO_DEBUG | ||
| 28 | |||
| 29 | /* disable print */ | ||
| 30 | // #define NO_PRINT | ||
| 31 | |||
| 32 | /* disable action features */ | ||
| 33 | //#define NO_ACTION_LAYER | ||
| 34 | //#define NO_ACTION_TAPPING | ||
| 35 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/nacly/sodium50/keyboard.json b/keyboards/nacly/sodium50/keyboard.json index ec0edbfd9a..4144b6a473 100644 --- a/keyboards/nacly/sodium50/keyboard.json +++ b/keyboards/nacly/sodium50/keyboard.json | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | "diode_direction": "COL2ROW", | 29 | "diode_direction": "COL2ROW", |
| 30 | "split": { | 30 | "split": { |
| 31 | "enabled": true, | 31 | "enabled": true, |
| 32 | "handedness": { | ||
| 33 | "pin": "F4" | ||
| 34 | }, | ||
| 32 | "soft_serial_pin": "D3" | 35 | "soft_serial_pin": "D3" |
| 33 | }, | 36 | }, |
| 34 | "processor": "atmega32u4", | 37 | "processor": "atmega32u4", |
diff --git a/keyboards/nacly/sodium62/config.h b/keyboards/nacly/sodium62/config.h index 341e0e0d89..09240d0b50 100644 --- a/keyboards/nacly/sodium62/config.h +++ b/keyboards/nacly/sodium62/config.h | |||
| @@ -16,8 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define SPLIT_HAND_PIN F4 | ||
| 20 | |||
| 21 | #define OLED_BRIGHTNESS 128 | 19 | #define OLED_BRIGHTNESS 128 |
| 22 | 20 | ||
| 23 | /* | 21 | /* |
diff --git a/keyboards/nacly/sodium62/keyboard.json b/keyboards/nacly/sodium62/keyboard.json index 2d9f01e801..1e181eebab 100644 --- a/keyboards/nacly/sodium62/keyboard.json +++ b/keyboards/nacly/sodium62/keyboard.json | |||
| @@ -30,6 +30,9 @@ | |||
| 30 | "diode_direction": "COL2ROW", | 30 | "diode_direction": "COL2ROW", |
| 31 | "split": { | 31 | "split": { |
| 32 | "enabled": true, | 32 | "enabled": true, |
| 33 | "handedness": { | ||
| 34 | "pin": "F4" | ||
| 35 | }, | ||
| 33 | "soft_serial_pin": "D3" | 36 | "soft_serial_pin": "D3" |
| 34 | }, | 37 | }, |
| 35 | "processor": "atmega32u4", | 38 | "processor": "atmega32u4", |
diff --git a/keyboards/nacly/splitreus62/config.h b/keyboards/nacly/splitreus62/config.h deleted file mode 100644 index b4f9d582ce..0000000000 --- a/keyboards/nacly/splitreus62/config.h +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | #define SPLIT_HAND_PIN F4 | ||
| 22 | |||
| 23 | /* | ||
| 24 | * Feature disable options | ||
| 25 | * These options are also useful to firmware size reduction. | ||
| 26 | */ | ||
| 27 | |||
| 28 | /* disable debug print */ | ||
| 29 | // #define NO_DEBUG | ||
| 30 | |||
| 31 | /* disable print */ | ||
| 32 | // #define NO_PRINT | ||
| 33 | |||
| 34 | /* disable action features */ | ||
| 35 | //#define NO_ACTION_LAYER | ||
| 36 | //#define NO_ACTION_TAPPING | ||
| 37 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/nacly/splitreus62/keyboard.json b/keyboards/nacly/splitreus62/keyboard.json index 08a8010483..e46d4be668 100644 --- a/keyboards/nacly/splitreus62/keyboard.json +++ b/keyboards/nacly/splitreus62/keyboard.json | |||
| @@ -30,6 +30,9 @@ | |||
| 30 | "diode_direction": "ROW2COL", | 30 | "diode_direction": "ROW2COL", |
| 31 | "split": { | 31 | "split": { |
| 32 | "enabled": true, | 32 | "enabled": true, |
| 33 | "handedness": { | ||
| 34 | "pin": "F4" | ||
| 35 | }, | ||
| 33 | "soft_serial_pin": "D0" | 36 | "soft_serial_pin": "D0" |
| 34 | }, | 37 | }, |
| 35 | "rgblight": { | 38 | "rgblight": { |
diff --git a/keyboards/ogre/ergo_split/config.h b/keyboards/ogre/ergo_split/config.h deleted file mode 100644 index 9c0eb3b7a9..0000000000 --- a/keyboards/ogre/ergo_split/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 ctrlshiftba | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define SPLIT_HAND_PIN D1 | ||
diff --git a/keyboards/ogre/ergo_split/keyboard.json b/keyboards/ogre/ergo_split/keyboard.json index 765bebc2fb..ff06b079c0 100644 --- a/keyboards/ogre/ergo_split/keyboard.json +++ b/keyboards/ogre/ergo_split/keyboard.json | |||
| @@ -24,6 +24,9 @@ | |||
| 24 | "diode_direction": "COL2ROW", | 24 | "diode_direction": "COL2ROW", |
| 25 | "split": { | 25 | "split": { |
| 26 | "enabled": true, | 26 | "enabled": true, |
| 27 | "handedness": { | ||
| 28 | "pin": "D1" | ||
| 29 | }, | ||
| 27 | "soft_serial_pin": "D3" | 30 | "soft_serial_pin": "D3" |
| 28 | }, | 31 | }, |
| 29 | "rgblight": { | 32 | "rgblight": { |
diff --git a/keyboards/phoenix/config.h b/keyboards/phoenix/config.h index 4903f19f7f..732d906419 100644 --- a/keyboards/phoenix/config.h +++ b/keyboards/phoenix/config.h | |||
| @@ -23,6 +23,5 @@ | |||
| 23 | #define MOUSEKEY_MAX_SPEED 7 | 23 | #define MOUSEKEY_MAX_SPEED 7 |
| 24 | #define MOUSEKEY_WHEEL_DELAY 0 | 24 | #define MOUSEKEY_WHEEL_DELAY 0 |
| 25 | 25 | ||
| 26 | #define SPLIT_HAND_PIN B9 | ||
| 27 | #define SERIAL_USART_DRIVER SD1 | 26 | #define SERIAL_USART_DRIVER SD1 |
| 28 | #define SERIAL_USART_TX_PAL_MODE 7 | 27 | #define SERIAL_USART_TX_PAL_MODE 7 |
diff --git a/keyboards/phoenix/keyboard.json b/keyboards/phoenix/keyboard.json index 405b0ffd0a..ff13389245 100644 --- a/keyboards/phoenix/keyboard.json +++ b/keyboards/phoenix/keyboard.json | |||
| @@ -30,10 +30,13 @@ | |||
| 30 | "diode_direction": "ROW2COL", | 30 | "diode_direction": "ROW2COL", |
| 31 | "split": { | 31 | "split": { |
| 32 | "enabled": true, | 32 | "enabled": true, |
| 33 | "soft_serial_pin": "A9", | 33 | "handedness": { |
| 34 | "pin": "B9" | ||
| 35 | }, | ||
| 34 | "serial": { | 36 | "serial": { |
| 35 | "driver": "usart" | 37 | "driver": "usart" |
| 36 | } | 38 | }, |
| 39 | "soft_serial_pin": "A9" | ||
| 37 | }, | 40 | }, |
| 38 | "processor": "STM32F401", | 41 | "processor": "STM32F401", |
| 39 | "bootloader": "stm32-dfu", | 42 | "bootloader": "stm32-dfu", |
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 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Naoto Takai | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #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 @@ | |||
| 12 | "diode_direction": "COL2ROW", | 12 | "diode_direction": "COL2ROW", |
| 13 | "split": { | 13 | "split": { |
| 14 | "enabled": true, | 14 | "enabled": true, |
| 15 | "handedness": { | ||
| 16 | "pin": "D0" | ||
| 17 | }, | ||
| 15 | "soft_serial_pin": "D3" | 18 | "soft_serial_pin": "D3" |
| 16 | }, | 19 | }, |
| 17 | "processor": "atmega32u4", | 20 | "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/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define SPLIT_HAND_PIN D1 | ||
| 21 | |||
| 22 | #define SPLIT_USB_DETECT | 20 | #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 @@ | |||
| 12 | "diode_direction": "COL2ROW", | 12 | "diode_direction": "COL2ROW", |
| 13 | "split": { | 13 | "split": { |
| 14 | "enabled": true, | 14 | "enabled": true, |
| 15 | "handedness": { | ||
| 16 | "pin": "D1" | ||
| 17 | }, | ||
| 15 | "soft_serial_pin": "D0", | 18 | "soft_serial_pin": "D0", |
| 16 | "matrix_pins": { | 19 | "matrix_pins": { |
| 17 | "right": { | 20 | "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 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 'Naoto Takai' | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #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 @@ | |||
| 23 | "diode_direction": "COL2ROW", | 23 | "diode_direction": "COL2ROW", |
| 24 | "split": { | 24 | "split": { |
| 25 | "enabled": true, | 25 | "enabled": true, |
| 26 | "handedness": { | ||
| 27 | "pin": "D3" | ||
| 28 | }, | ||
| 26 | "soft_serial_pin": "D2" | 29 | "soft_serial_pin": "D2" |
| 27 | }, | 30 | }, |
| 28 | "processor": "atmega32u4", | 31 | "processor": "atmega32u4", |
diff --git a/keyboards/rgbkb/sol3/rev1/config.h b/keyboards/rgbkb/sol3/rev1/config.h index a99cbd5fff..9e28ef25fb 100644 --- a/keyboards/rgbkb/sol3/rev1/config.h +++ b/keyboards/rgbkb/sol3/rev1/config.h | |||
| @@ -24,7 +24,6 @@ | |||
| 24 | #define CRC8_USE_TABLE | 24 | #define CRC8_USE_TABLE |
| 25 | 25 | ||
| 26 | /* Split Keyboard Configuration */ | 26 | /* Split Keyboard Configuration */ |
| 27 | #define SPLIT_HAND_PIN C13 | ||
| 28 | #define SPLIT_USB_DETECT | 27 | #define SPLIT_USB_DETECT |
| 29 | #define SERIAL_USART_TX_PAL_MODE 7 | 28 | #define SERIAL_USART_TX_PAL_MODE 7 |
| 30 | #define SERIAL_USART_TIMEOUT 5 | 29 | #define SERIAL_USART_TIMEOUT 5 |
diff --git a/keyboards/rgbkb/sol3/rev1/keyboard.json b/keyboards/rgbkb/sol3/rev1/keyboard.json index 2ff3b03b0a..edf70636e7 100644 --- a/keyboards/rgbkb/sol3/rev1/keyboard.json +++ b/keyboards/rgbkb/sol3/rev1/keyboard.json | |||
| @@ -140,6 +140,9 @@ | |||
| 140 | ] | 140 | ] |
| 141 | } | 141 | } |
| 142 | }, | 142 | }, |
| 143 | "handedness": { | ||
| 144 | "pin": "C13" | ||
| 145 | }, | ||
| 143 | "matrix_pins": { | 146 | "matrix_pins": { |
| 144 | "right": { | 147 | "right": { |
| 145 | "cols": ["B9", "B8", "B4", "A6", "A3", "B10", "B12", "B11"], | 148 | "cols": ["B9", "B8", "B4", "A6", "A3", "B10", "B12", "B11"], |
diff --git a/keyboards/salicylic_acid3/7skb/rev1/config.h b/keyboards/salicylic_acid3/7skb/rev1/config.h index c1a6005b58..b2fb659185 100644 --- a/keyboards/salicylic_acid3/7skb/rev1/config.h +++ b/keyboards/salicylic_acid3/7skb/rev1/config.h | |||
| @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #pragma once | 19 | #pragma once |
| 20 | 20 | ||
| 21 | #define SPLIT_HAND_PIN B6 | ||
| 22 | |||
| 23 | #ifndef IOS_DEVICE_ENABLE | 21 | #ifndef IOS_DEVICE_ENABLE |
| 24 | #define RGBLIGHT_LIMIT_VAL 180 | 22 | #define RGBLIGHT_LIMIT_VAL 180 |
| 25 | #define RGBLIGHT_VAL_STEP 17 | 23 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/salicylic_acid3/7skb/rev1/keyboard.json b/keyboards/salicylic_acid3/7skb/rev1/keyboard.json index 73b3c0bec7..864e1835fd 100644 --- a/keyboards/salicylic_acid3/7skb/rev1/keyboard.json +++ b/keyboards/salicylic_acid3/7skb/rev1/keyboard.json | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | "diode_direction": "COL2ROW", | 29 | "diode_direction": "COL2ROW", |
| 30 | "split": { | 30 | "split": { |
| 31 | "enabled": true, | 31 | "enabled": true, |
| 32 | "handedness": { | ||
| 33 | "pin": "B6" | ||
| 34 | }, | ||
| 32 | "soft_serial_pin": "D2" | 35 | "soft_serial_pin": "D2" |
| 33 | }, | 36 | }, |
| 34 | "rgblight": { | 37 | "rgblight": { |
diff --git a/keyboards/salicylic_acid3/7splus/config.h b/keyboards/salicylic_acid3/7splus/config.h index 1139de696f..c3e6b774cc 100644 --- a/keyboards/salicylic_acid3/7splus/config.h +++ b/keyboards/salicylic_acid3/7splus/config.h | |||
| @@ -17,8 +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 B6 | ||
| 21 | |||
| 22 | #ifndef IOS_DEVICE_ENABLE | 20 | #ifndef IOS_DEVICE_ENABLE |
| 23 | #define RGBLIGHT_LIMIT_VAL 180 | 21 | #define RGBLIGHT_LIMIT_VAL 180 |
| 24 | #define RGBLIGHT_VAL_STEP 17 | 22 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/salicylic_acid3/7splus/keyboard.json b/keyboards/salicylic_acid3/7splus/keyboard.json index c33e79b52f..c33d00d867 100644 --- a/keyboards/salicylic_acid3/7splus/keyboard.json +++ b/keyboards/salicylic_acid3/7splus/keyboard.json | |||
| @@ -30,6 +30,9 @@ | |||
| 30 | "diode_direction": "COL2ROW", | 30 | "diode_direction": "COL2ROW", |
| 31 | "split": { | 31 | "split": { |
| 32 | "enabled": true, | 32 | "enabled": true, |
| 33 | "handedness": { | ||
| 34 | "pin": "B6" | ||
| 35 | }, | ||
| 33 | "soft_serial_pin": "D2" | 36 | "soft_serial_pin": "D2" |
| 34 | }, | 37 | }, |
| 35 | "rgblight": { | 38 | "rgblight": { |
diff --git a/keyboards/salicylic_acid3/ajisai74/config.h b/keyboards/salicylic_acid3/ajisai74/config.h deleted file mode 100644 index 9e47a9c2b4..0000000000 --- a/keyboards/salicylic_acid3/ajisai74/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Salicylic_Acid | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define SPLIT_HAND_PIN B6 | ||
diff --git a/keyboards/salicylic_acid3/ajisai74/keyboard.json b/keyboards/salicylic_acid3/ajisai74/keyboard.json index fd00800715..41abc9c623 100644 --- a/keyboards/salicylic_acid3/ajisai74/keyboard.json +++ b/keyboards/salicylic_acid3/ajisai74/keyboard.json | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | "diode_direction": "COL2ROW", | 29 | "diode_direction": "COL2ROW", |
| 30 | "split": { | 30 | "split": { |
| 31 | "enabled": true, | 31 | "enabled": true, |
| 32 | "handedness": { | ||
| 33 | "pin": "B6" | ||
| 34 | }, | ||
| 32 | "soft_serial_pin": "D2" | 35 | "soft_serial_pin": "D2" |
| 33 | }, | 36 | }, |
| 34 | "processor": "atmega32u4", | 37 | "processor": "atmega32u4", |
diff --git a/keyboards/salicylic_acid3/ergoarrows/config.h b/keyboards/salicylic_acid3/ergoarrows/config.h index 3b5e630f48..fd6b0e51b5 100644 --- a/keyboards/salicylic_acid3/ergoarrows/config.h +++ b/keyboards/salicylic_acid3/ergoarrows/config.h | |||
| @@ -17,8 +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 B6 | ||
| 21 | |||
| 22 | #ifndef IOS_DEVICE_ENABLE | 20 | #ifndef IOS_DEVICE_ENABLE |
| 23 | #define RGBLIGHT_LIMIT_VAL 90 | 21 | #define RGBLIGHT_LIMIT_VAL 90 |
| 24 | #define RGBLIGHT_VAL_STEP 17 | 22 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/salicylic_acid3/ergoarrows/keyboard.json b/keyboards/salicylic_acid3/ergoarrows/keyboard.json index 0993eb1b9b..41cb0da90f 100644 --- a/keyboards/salicylic_acid3/ergoarrows/keyboard.json +++ b/keyboards/salicylic_acid3/ergoarrows/keyboard.json | |||
| @@ -30,6 +30,9 @@ | |||
| 30 | "diode_direction": "COL2ROW", | 30 | "diode_direction": "COL2ROW", |
| 31 | "split": { | 31 | "split": { |
| 32 | "enabled": true, | 32 | "enabled": true, |
| 33 | "handedness": { | ||
| 34 | "pin": "B6" | ||
| 35 | }, | ||
| 33 | "soft_serial_pin": "D0" | 36 | "soft_serial_pin": "D0" |
| 34 | }, | 37 | }, |
| 35 | "rgblight": { | 38 | "rgblight": { |
diff --git a/keyboards/salicylic_acid3/guide68/config.h b/keyboards/salicylic_acid3/guide68/config.h deleted file mode 100644 index 5e88a02bce..0000000000 --- a/keyboards/salicylic_acid3/guide68/config.h +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | // Copyright 2022 Salicylic-acid3 (@Salicylic-acid3) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #define SPLIT_HAND_PIN B6 | ||
diff --git a/keyboards/salicylic_acid3/guide68/keyboard.json b/keyboards/salicylic_acid3/guide68/keyboard.json index 09993a1138..629afac8f7 100644 --- a/keyboards/salicylic_acid3/guide68/keyboard.json +++ b/keyboards/salicylic_acid3/guide68/keyboard.json | |||
| @@ -48,6 +48,9 @@ | |||
| 48 | }, | 48 | }, |
| 49 | "split": { | 49 | "split": { |
| 50 | "enabled": true, | 50 | "enabled": true, |
| 51 | "handedness": { | ||
| 52 | "pin": "B6" | ||
| 53 | }, | ||
| 51 | "transport": { | 54 | "transport": { |
| 52 | "protocol": "serial" | 55 | "protocol": "serial" |
| 53 | }, | 56 | }, |
diff --git a/keyboards/salicylic_acid3/jisplit89/rev1/config.h b/keyboards/salicylic_acid3/jisplit89/rev1/config.h index fb6c21aec8..25ba2f576b 100644 --- a/keyboards/salicylic_acid3/jisplit89/rev1/config.h +++ b/keyboards/salicylic_acid3/jisplit89/rev1/config.h | |||
| @@ -17,8 +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 B6 | ||
| 21 | |||
| 22 | #ifndef IOS_DEVICE_ENABLE | 20 | #ifndef IOS_DEVICE_ENABLE |
| 23 | #define RGBLIGHT_LIMIT_VAL 180 | 21 | #define RGBLIGHT_LIMIT_VAL 180 |
| 24 | #define RGBLIGHT_VAL_STEP 17 | 22 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/salicylic_acid3/jisplit89/rev1/keyboard.json b/keyboards/salicylic_acid3/jisplit89/rev1/keyboard.json index e36b27bd2f..d17e0fd3bc 100644 --- a/keyboards/salicylic_acid3/jisplit89/rev1/keyboard.json +++ b/keyboards/salicylic_acid3/jisplit89/rev1/keyboard.json | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | "diode_direction": "COL2ROW", | 29 | "diode_direction": "COL2ROW", |
| 30 | "split": { | 30 | "split": { |
| 31 | "enabled": true, | 31 | "enabled": true, |
| 32 | "handedness": { | ||
| 33 | "pin": "B6" | ||
| 34 | }, | ||
| 32 | "soft_serial_pin": "D2" | 35 | "soft_serial_pin": "D2" |
| 33 | }, | 36 | }, |
| 34 | "rgblight": { | 37 | "rgblight": { |
diff --git a/keyboards/salicylic_acid3/nknl7en/config.h b/keyboards/salicylic_acid3/nknl7en/config.h index 5b4a4a25f3..8e18bdb850 100644 --- a/keyboards/salicylic_acid3/nknl7en/config.h +++ b/keyboards/salicylic_acid3/nknl7en/config.h | |||
| @@ -17,8 +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 B6 | ||
| 21 | |||
| 22 | #ifndef IOS_DEVICE_ENABLE | 20 | #ifndef IOS_DEVICE_ENABLE |
| 23 | #define RGBLIGHT_LIMIT_VAL 180 | 21 | #define RGBLIGHT_LIMIT_VAL 180 |
| 24 | #define RGBLIGHT_VAL_STEP 17 | 22 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/salicylic_acid3/nknl7en/keyboard.json b/keyboards/salicylic_acid3/nknl7en/keyboard.json index 25165663f5..c41be45376 100644 --- a/keyboards/salicylic_acid3/nknl7en/keyboard.json +++ b/keyboards/salicylic_acid3/nknl7en/keyboard.json | |||
| @@ -30,6 +30,9 @@ | |||
| 30 | "diode_direction": "COL2ROW", | 30 | "diode_direction": "COL2ROW", |
| 31 | "split": { | 31 | "split": { |
| 32 | "enabled": true, | 32 | "enabled": true, |
| 33 | "handedness": { | ||
| 34 | "pin": "B6" | ||
| 35 | }, | ||
| 33 | "soft_serial_pin": "D0" | 36 | "soft_serial_pin": "D0" |
| 34 | }, | 37 | }, |
| 35 | "rgblight": { | 38 | "rgblight": { |
diff --git a/keyboards/salicylic_acid3/nknl7jp/config.h b/keyboards/salicylic_acid3/nknl7jp/config.h index 5b4a4a25f3..8e18bdb850 100644 --- a/keyboards/salicylic_acid3/nknl7jp/config.h +++ b/keyboards/salicylic_acid3/nknl7jp/config.h | |||
| @@ -17,8 +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 B6 | ||
| 21 | |||
| 22 | #ifndef IOS_DEVICE_ENABLE | 20 | #ifndef IOS_DEVICE_ENABLE |
| 23 | #define RGBLIGHT_LIMIT_VAL 180 | 21 | #define RGBLIGHT_LIMIT_VAL 180 |
| 24 | #define RGBLIGHT_VAL_STEP 17 | 22 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/salicylic_acid3/nknl7jp/keyboard.json b/keyboards/salicylic_acid3/nknl7jp/keyboard.json index 179860ea29..2fab8e8f7e 100644 --- a/keyboards/salicylic_acid3/nknl7jp/keyboard.json +++ b/keyboards/salicylic_acid3/nknl7jp/keyboard.json | |||
| @@ -30,6 +30,9 @@ | |||
| 30 | "diode_direction": "COL2ROW", | 30 | "diode_direction": "COL2ROW", |
| 31 | "split": { | 31 | "split": { |
| 32 | "enabled": true, | 32 | "enabled": true, |
| 33 | "handedness": { | ||
| 34 | "pin": "B6" | ||
| 35 | }, | ||
| 33 | "soft_serial_pin": "D0" | 36 | "soft_serial_pin": "D0" |
| 34 | }, | 37 | }, |
| 35 | "rgblight": { | 38 | "rgblight": { |
diff --git a/keyboards/sparrow62/config.h b/keyboards/sparrow62/config.h deleted file mode 100644 index 2b9669e938..0000000000 --- a/keyboards/sparrow62/config.h +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Atsushi Morimoto @74th | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define SPLIT_HAND_PIN F4 | ||
diff --git a/keyboards/sparrow62/keyboard.json b/keyboards/sparrow62/keyboard.json index 796d18b9bb..6f5ebd540f 100644 --- a/keyboards/sparrow62/keyboard.json +++ b/keyboards/sparrow62/keyboard.json | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | "diode_direction": "COL2ROW", | 29 | "diode_direction": "COL2ROW", |
| 30 | "split": { | 30 | "split": { |
| 31 | "enabled": true, | 31 | "enabled": true, |
| 32 | "handedness": { | ||
| 33 | "pin": "F4" | ||
| 34 | }, | ||
| 32 | "soft_serial_pin": "D2" | 35 | "soft_serial_pin": "D2" |
| 33 | }, | 36 | }, |
| 34 | "processor": "atmega32u4", | 37 | "processor": "atmega32u4", |
diff --git a/keyboards/splitkb/aurora/corne/rev1/config.h b/keyboards/splitkb/aurora/corne/rev1/config.h index f37b59a952..5a5910d81c 100644 --- a/keyboards/splitkb/aurora/corne/rev1/config.h +++ b/keyboards/splitkb/aurora/corne/rev1/config.h | |||
| @@ -16,10 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | // `SPLIT_HAND_PIN` can currently be defined in `info.json`, | ||
| 20 | // but can't yet be given a value | ||
| 21 | #define SPLIT_HAND_PIN F4 | ||
| 22 | |||
| 23 | // Not yet available in `info.json` | 19 | // Not yet available in `info.json` |
| 24 | #ifdef OLED_ENABLE | 20 | #ifdef OLED_ENABLE |
| 25 | # define OLED_DISPLAY_128X32 | 21 | # define OLED_DISPLAY_128X32 |
diff --git a/keyboards/splitkb/aurora/corne/rev1/keyboard.json b/keyboards/splitkb/aurora/corne/rev1/keyboard.json index 2e0b74b5a8..cf3516f34f 100644 --- a/keyboards/splitkb/aurora/corne/rev1/keyboard.json +++ b/keyboards/splitkb/aurora/corne/rev1/keyboard.json | |||
| @@ -96,6 +96,9 @@ | |||
| 96 | ] | 96 | ] |
| 97 | } | 97 | } |
| 98 | }, | 98 | }, |
| 99 | "handedness": { | ||
| 100 | "pin": "F4" | ||
| 101 | }, | ||
| 99 | "transport": { | 102 | "transport": { |
| 100 | "sync": { | 103 | "sync": { |
| 101 | "matrix_state": true | 104 | "matrix_state": true |
diff --git a/keyboards/splitkb/aurora/helix/rev1/config.h b/keyboards/splitkb/aurora/helix/rev1/config.h index f8b8a190fe..522bea4d5e 100644 --- a/keyboards/splitkb/aurora/helix/rev1/config.h +++ b/keyboards/splitkb/aurora/helix/rev1/config.h | |||
| @@ -16,7 +16,5 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define SPLIT_HAND_PIN D3 | ||
| 20 | |||
| 21 | #define OLED_DISPLAY_128X32 | 19 | #define OLED_DISPLAY_128X32 |
| 22 | #define SPLIT_OLED_ENABLE | 20 | #define SPLIT_OLED_ENABLE |
diff --git a/keyboards/splitkb/aurora/helix/rev1/keyboard.json b/keyboards/splitkb/aurora/helix/rev1/keyboard.json index b3fcf8969c..1844e5951e 100644 --- a/keyboards/splitkb/aurora/helix/rev1/keyboard.json +++ b/keyboards/splitkb/aurora/helix/rev1/keyboard.json | |||
| @@ -118,6 +118,9 @@ | |||
| 118 | ] | 118 | ] |
| 119 | } | 119 | } |
| 120 | }, | 120 | }, |
| 121 | "handedness": { | ||
| 122 | "pin": "D3" | ||
| 123 | }, | ||
| 121 | "matrix_pins": { | 124 | "matrix_pins": { |
| 122 | "right": { | 125 | "right": { |
| 123 | "cols": ["D4", "C6", "D7", "E6", "B4", "B5", "B6"], | 126 | "cols": ["D4", "C6", "D7", "E6", "B4", "B5", "B6"], |
diff --git a/keyboards/splitkb/aurora/lily58/rev1/config.h b/keyboards/splitkb/aurora/lily58/rev1/config.h index 08a61a2978..5a5910d81c 100644 --- a/keyboards/splitkb/aurora/lily58/rev1/config.h +++ b/keyboards/splitkb/aurora/lily58/rev1/config.h | |||
| @@ -16,10 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | // `SPLIT_HAND_PIN` can currently be defined in `info.json`, | ||
| 20 | // but can't yet be given a value | ||
| 21 | #define SPLIT_HAND_PIN F5 | ||
| 22 | |||
| 23 | // Not yet available in `info.json` | 19 | // Not yet available in `info.json` |
| 24 | #ifdef OLED_ENABLE | 20 | #ifdef OLED_ENABLE |
| 25 | # define OLED_DISPLAY_128X32 | 21 | # define OLED_DISPLAY_128X32 |
diff --git a/keyboards/splitkb/aurora/lily58/rev1/keyboard.json b/keyboards/splitkb/aurora/lily58/rev1/keyboard.json index f81da08464..1284fc2319 100644 --- a/keyboards/splitkb/aurora/lily58/rev1/keyboard.json +++ b/keyboards/splitkb/aurora/lily58/rev1/keyboard.json | |||
| @@ -107,6 +107,9 @@ | |||
| 107 | ] | 107 | ] |
| 108 | } | 108 | } |
| 109 | }, | 109 | }, |
| 110 | "handedness": { | ||
| 111 | "pin": "F5" | ||
| 112 | }, | ||
| 110 | "transport": { | 113 | "transport": { |
| 111 | "sync": { | 114 | "sync": { |
| 112 | "matrix_state": true | 115 | "matrix_state": true |
diff --git a/keyboards/splitkb/aurora/sofle_v2/rev1/config.h b/keyboards/splitkb/aurora/sofle_v2/rev1/config.h index 7292b3d8b0..522bea4d5e 100644 --- a/keyboards/splitkb/aurora/sofle_v2/rev1/config.h +++ b/keyboards/splitkb/aurora/sofle_v2/rev1/config.h | |||
| @@ -16,7 +16,5 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define SPLIT_HAND_PIN F4 | ||
| 20 | |||
| 21 | #define OLED_DISPLAY_128X32 | 19 | #define OLED_DISPLAY_128X32 |
| 22 | #define SPLIT_OLED_ENABLE | 20 | #define SPLIT_OLED_ENABLE |
diff --git a/keyboards/splitkb/aurora/sofle_v2/rev1/keyboard.json b/keyboards/splitkb/aurora/sofle_v2/rev1/keyboard.json index 266ea72148..8b702c4001 100644 --- a/keyboards/splitkb/aurora/sofle_v2/rev1/keyboard.json +++ b/keyboards/splitkb/aurora/sofle_v2/rev1/keyboard.json | |||
| @@ -112,6 +112,9 @@ | |||
| 112 | ] | 112 | ] |
| 113 | } | 113 | } |
| 114 | }, | 114 | }, |
| 115 | "handedness": { | ||
| 116 | "pin": "F4" | ||
| 117 | }, | ||
| 115 | "matrix_pins": { | 118 | "matrix_pins": { |
| 116 | "right": { | 119 | "right": { |
| 117 | "cols": ["D7", "E6", "B4", "B5", "D4", "C6"], | 120 | "cols": ["D7", "E6", "B4", "B5", "D4", "C6"], |
diff --git a/keyboards/splitkb/aurora/sweep/rev1/config.h b/keyboards/splitkb/aurora/sweep/rev1/config.h index f37b59a952..5a5910d81c 100644 --- a/keyboards/splitkb/aurora/sweep/rev1/config.h +++ b/keyboards/splitkb/aurora/sweep/rev1/config.h | |||
| @@ -16,10 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | // `SPLIT_HAND_PIN` can currently be defined in `info.json`, | ||
| 20 | // but can't yet be given a value | ||
| 21 | #define SPLIT_HAND_PIN F4 | ||
| 22 | |||
| 23 | // Not yet available in `info.json` | 19 | // Not yet available in `info.json` |
| 24 | #ifdef OLED_ENABLE | 20 | #ifdef OLED_ENABLE |
| 25 | # define OLED_DISPLAY_128X32 | 21 | # define OLED_DISPLAY_128X32 |
diff --git a/keyboards/splitkb/aurora/sweep/rev1/keyboard.json b/keyboards/splitkb/aurora/sweep/rev1/keyboard.json index 0d235cd5b2..eb62369603 100644 --- a/keyboards/splitkb/aurora/sweep/rev1/keyboard.json +++ b/keyboards/splitkb/aurora/sweep/rev1/keyboard.json | |||
| @@ -93,6 +93,9 @@ | |||
| 93 | ] | 93 | ] |
| 94 | } | 94 | } |
| 95 | }, | 95 | }, |
| 96 | "handedness": { | ||
| 97 | "pin": "F4" | ||
| 98 | }, | ||
| 96 | "transport": { | 99 | "transport": { |
| 97 | "sync": { | 100 | "sync": { |
| 98 | "matrix_state": true | 101 | "matrix_state": true |
diff --git a/keyboards/splitkb/kyria/rev3/config.h b/keyboards/splitkb/kyria/rev3/config.h index 7938384a78..3f731859fc 100644 --- a/keyboards/splitkb/kyria/rev3/config.h +++ b/keyboards/splitkb/kyria/rev3/config.h | |||
| @@ -16,9 +16,5 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | // `SPLIT_HAND_PIN` can currently be defined in `info.json`, | ||
| 20 | // but can't yet be given a value | ||
| 21 | #define SPLIT_HAND_PIN B5 | ||
| 22 | |||
| 23 | #define OLED_DISPLAY_128X64 | 19 | #define OLED_DISPLAY_128X64 |
| 24 | #define SPLIT_OLED_ENABLE | 20 | #define SPLIT_OLED_ENABLE |
diff --git a/keyboards/splitkb/kyria/rev3/keyboard.json b/keyboards/splitkb/kyria/rev3/keyboard.json index 750f87ae4b..a2f21826e8 100644 --- a/keyboards/splitkb/kyria/rev3/keyboard.json +++ b/keyboards/splitkb/kyria/rev3/keyboard.json | |||
| @@ -109,6 +109,9 @@ | |||
| 109 | ] | 109 | ] |
| 110 | } | 110 | } |
| 111 | }, | 111 | }, |
| 112 | "handedness": { | ||
| 113 | "pin": "B5" | ||
| 114 | }, | ||
| 112 | "transport": { | 115 | "transport": { |
| 113 | "sync": { | 116 | "sync": { |
| 114 | "matrix_state": true | 117 | "matrix_state": true |
diff --git a/keyboards/takashiski/otaku_split/rev1/config.h b/keyboards/takashiski/otaku_split/rev1/config.h deleted file mode 100644 index 8bede1c421..0000000000 --- a/keyboards/takashiski/otaku_split/rev1/config.h +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 takashiski | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define SPLIT_HAND_PIN D2 //fix pin. HIGH is left, LOW is right | ||
| 21 | |||
| 22 | /* | ||
| 23 | * Feature disable options | ||
| 24 | * These options are also useful to firmware size reduction. | ||
| 25 | */ | ||
| 26 | |||
| 27 | /* disable debug print */ | ||
| 28 | //#define NO_DEBUG | ||
| 29 | |||
| 30 | /* disable print */ | ||
| 31 | //#define NO_PRINT | ||
| 32 | |||
| 33 | /* disable action features */ | ||
| 34 | //#define NO_ACTION_LAYER | ||
| 35 | //#define NO_ACTION_TAPPING | ||
| 36 | //#define NO_ACTION_ONESHOT | ||
diff --git a/keyboards/takashiski/otaku_split/rev1/keyboard.json b/keyboards/takashiski/otaku_split/rev1/keyboard.json index 039838144f..d4195b5a90 100644 --- a/keyboards/takashiski/otaku_split/rev1/keyboard.json +++ b/keyboards/takashiski/otaku_split/rev1/keyboard.json | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | "diode_direction": "COL2ROW", | 29 | "diode_direction": "COL2ROW", |
| 30 | "split": { | 30 | "split": { |
| 31 | "enabled": true, | 31 | "enabled": true, |
| 32 | "handedness": { | ||
| 33 | "pin": "D2" | ||
| 34 | }, | ||
| 32 | "soft_serial_pin": "D0", | 35 | "soft_serial_pin": "D0", |
| 33 | "matrix_pins": { | 36 | "matrix_pins": { |
| 34 | "right": { | 37 | "right": { |
diff --git a/keyboards/tzarc/djinn/rev1/config.h b/keyboards/tzarc/djinn/rev1/config.h index 7c8dc042f3..9eb275fc5b 100644 --- a/keyboards/tzarc/djinn/rev1/config.h +++ b/keyboards/tzarc/djinn/rev1/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | #pragma once | 3 | #pragma once |
| 4 | 4 | ||
| 5 | // Split configuration | 5 | // Split configuration |
| 6 | #define SPLIT_HAND_PIN B11 | ||
| 7 | #ifdef USE_PLUG_DETECT_PIN | 6 | #ifdef USE_PLUG_DETECT_PIN |
| 8 | # define USB_VBUS_PIN B12 | 7 | # define USB_VBUS_PIN B12 |
| 9 | #endif | 8 | #endif |
diff --git a/keyboards/tzarc/djinn/rev1/keyboard.json b/keyboards/tzarc/djinn/rev1/keyboard.json index a0422dea93..b6ee5acba1 100644 --- a/keyboards/tzarc/djinn/rev1/keyboard.json +++ b/keyboards/tzarc/djinn/rev1/keyboard.json | |||
| @@ -7,6 +7,9 @@ | |||
| 7 | }, | 7 | }, |
| 8 | "split": { | 8 | "split": { |
| 9 | "soft_serial_pin": "B9", | 9 | "soft_serial_pin": "B9", |
| 10 | "handedness": { | ||
| 11 | "pin": "B11" | ||
| 12 | }, | ||
| 10 | "usb_detect": { | 13 | "usb_detect": { |
| 11 | "enabled": true | 14 | "enabled": true |
| 12 | } | 15 | } |
diff --git a/keyboards/tzarc/djinn/rev2/config.h b/keyboards/tzarc/djinn/rev2/config.h index bc7fcb3712..b52c3c2c3d 100644 --- a/keyboards/tzarc/djinn/rev2/config.h +++ b/keyboards/tzarc/djinn/rev2/config.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | #pragma once | 3 | #pragma once |
| 4 | 4 | ||
| 5 | // Split configuration | 5 | // Split configuration |
| 6 | #define SPLIT_HAND_PIN B9 | ||
| 7 | #define USB_VBUS_PIN B12 | 6 | #define USB_VBUS_PIN B12 |
| 8 | #define SERIAL_USART_DRIVER SD3 | 7 | #define SERIAL_USART_DRIVER SD3 |
| 9 | #define SERIAL_USART_PIN_SWAP | 8 | #define SERIAL_USART_PIN_SWAP |
diff --git a/keyboards/tzarc/djinn/rev2/keyboard.json b/keyboards/tzarc/djinn/rev2/keyboard.json index 33db91971e..e0f39d1f91 100644 --- a/keyboards/tzarc/djinn/rev2/keyboard.json +++ b/keyboards/tzarc/djinn/rev2/keyboard.json | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | "max_brightness": 144 | 6 | "max_brightness": 144 |
| 7 | }, | 7 | }, |
| 8 | "split": { | 8 | "split": { |
| 9 | "handedness": { | ||
| 10 | "pin": "B9" | ||
| 11 | }, | ||
| 9 | "usb_detect": { | 12 | "usb_detect": { |
| 10 | "enabled": false | 13 | "enabled": false |
| 11 | } | 14 | } |
diff --git a/keyboards/vitamins_included/rev2/config.h b/keyboards/vitamins_included/rev2/config.h index 519af227a4..e88e6bac2c 100644 --- a/keyboards/vitamins_included/rev2/config.h +++ b/keyboards/vitamins_included/rev2/config.h | |||
| @@ -19,9 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #pragma once | 20 | #pragma once |
| 21 | 21 | ||
| 22 | |||
| 23 | #define SPLIT_HAND_PIN B4 | ||
| 24 | |||
| 25 | /* Audio settings */ | 22 | /* Audio settings */ |
| 26 | #ifdef AUDIO_ENABLE | 23 | #ifdef AUDIO_ENABLE |
| 27 | # define AUDIO_PIN C6 // Define this to enable the buzzer | 24 | # define AUDIO_PIN C6 // Define this to enable the buzzer |
diff --git a/keyboards/vitamins_included/rev2/keyboard.json b/keyboards/vitamins_included/rev2/keyboard.json index 4418b86909..bead425252 100644 --- a/keyboards/vitamins_included/rev2/keyboard.json +++ b/keyboards/vitamins_included/rev2/keyboard.json | |||
| @@ -15,6 +15,9 @@ | |||
| 15 | }, | 15 | }, |
| 16 | "split": { | 16 | "split": { |
| 17 | "enabled": true, | 17 | "enabled": true, |
| 18 | "handedness": { | ||
| 19 | "pin": "B4" | ||
| 20 | }, | ||
| 18 | "soft_serial_pin": "D0" | 21 | "soft_serial_pin": "D0" |
| 19 | }, | 22 | }, |
| 20 | "rgblight": { | 23 | "rgblight": { |
