Migrate SPLIT_HAND_PIN to json (#23924)

This commit is contained in:
Joel Challis 2024-07-13 13:29:16 +01:00 committed by GitHub
parent 26e84c513c
commit f0807ea64f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
159 changed files with 243 additions and 800 deletions

View file

@ -1,19 +0,0 @@
/* Copyright 2021 eithanshavit
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN B3

View file

@ -21,6 +21,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "B3"
},
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"bootmagic": { "bootmagic": {

View file

@ -1,19 +0,0 @@
/* Copyright 2021 Afternoon Labs
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN B3

View file

@ -21,6 +21,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "B3"
},
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"bootmagic": { "bootmagic": {

View file

@ -1,19 +0,0 @@
/* Copyright 2021 Afternoon Labs
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN B3

View file

@ -21,6 +21,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "B3"
},
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"bootmagic": { "bootmagic": {

View file

@ -1,19 +0,0 @@
/* Copyright 2021 Afternoon Labs
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN B3

View file

@ -21,6 +21,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "B3"
},
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"bootmagic": { "bootmagic": {

View file

@ -1,19 +0,0 @@
/* Copyright 2021 Afternoon Labs
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN B3

View file

@ -21,6 +21,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "B3"
},
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"bootmagic": { "bootmagic": {

View file

@ -1,38 +0,0 @@
/*
Copyright 2018 Ryota Goto
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SELECT_SOFT_SERIAL_SPEED 1
#define SPLIT_HAND_PIN D5
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View file

@ -31,6 +31,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D5"
},
"soft_serial_pin": "D0", "soft_serial_pin": "D0",
"matrix_pins": { "matrix_pins": {
"right": { "right": {

View file

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN D5
#define SPLIT_USB_DETECT #define SPLIT_USB_DETECT
#define SPLIT_USB_TIMEOUT 2500 #define SPLIT_USB_TIMEOUT 2500

View file

@ -28,6 +28,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D5"
},
"soft_serial_pin": "D0", "soft_serial_pin": "D0",
"matrix_pins": { "matrix_pins": {
"right": { "right": {

View file

@ -16,5 +16,4 @@
#pragma once #pragma once
#define SPLIT_HAND_PIN B5
#define USE_I2C #define USE_I2C

View file

@ -15,7 +15,10 @@
"command": true "command": true
}, },
"split": { "split": {
"enabled": true "enabled": true,
"handedness": {
"pin": "B5"
}
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"], "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"],

View file

@ -1,38 +0,0 @@
/*
Copyright 2019 Yiancar-Designs
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN D4
// #define USE_I2C
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View file

@ -19,6 +19,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D4"
},
"soft_serial_pin": "D1", "soft_serial_pin": "D1",
"matrix_pins": { "matrix_pins": {
"right": { "right": {

View file

@ -4,7 +4,6 @@
#pragma once #pragma once
/* Split configuration */ /* Split configuration */
#define SPLIT_HAND_PIN GP21
#define USB_VBUS_PIN GP29 #define USB_VBUS_PIN GP29
#define SERIAL_USART_FULL_DUPLEX #define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN GP0 #define SERIAL_USART_TX_PIN GP0

View file

@ -175,6 +175,9 @@
"bootmagic": { "bootmagic": {
"matrix": [6, 0] "matrix": [6, 0]
}, },
"handedness": {
"pin": "GP21"
},
"enabled": true, "enabled": true,
"matrix_pins": { "matrix_pins": {
"right": { "right": {

View file

@ -1,21 +0,0 @@
/*
Copyright 2019 Mike Hix
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// Pro Micro Pins RX1
#define SPLIT_HAND_PIN D2

View file

@ -41,6 +41,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D2"
},
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"processor": "atmega32u4", "processor": "atmega32u4",

View file

@ -19,7 +19,6 @@
// in col2row col is input, and row is output // in col2row col is input, and row is output
// #define SPLIT_HAND_MATRIX_GRID A10, A4 // #define SPLIT_HAND_MATRIX_GRID A10, A4
// 68kohm // 68kohm
#define SPLIT_HAND_PIN B10
/* connection */ /* connection */
#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode. #define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode.

View file

@ -11,6 +11,9 @@
}, },
"serial": { "serial": {
"driver": "usart" "driver": "usart"
},
"handedness": {
"pin": "B10"
} }
}, },
"development_board": "blackpill_f411", "development_board": "blackpill_f411",

View file

@ -1,36 +0,0 @@
/*
Copyright 2020 jtallbean
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN D5
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View file

@ -32,6 +32,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D5"
},
"soft_serial_pin": "D0", "soft_serial_pin": "D0",
"matrix_pins": { "matrix_pins": {
"right": { "right": {

View file

@ -3,9 +3,6 @@
#pragma once #pragma once
// If the pin is high, then the controller assumes it is the left hand, and if its low, its assumed to be the right side.
#define SPLIT_HAND_PIN C15
#define SERIAL_USART_FULL_DUPLEX #define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN B6 #define SERIAL_USART_TX_PIN B6
#define SERIAL_USART_RX_PIN B7 #define SERIAL_USART_RX_PIN B7

View file

@ -25,6 +25,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "C15"
},
"serial": { "serial": {
"driver": "usart" "driver": "usart"
}, },

View file

@ -1,36 +0,0 @@
/* Copyright 2021 jurassic73
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* 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. */
#define SPLIT_HAND_PIN D1
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View file

@ -29,6 +29,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D1"
},
"soft_serial_pin": "D0", "soft_serial_pin": "D0",
"matrix_pins": { "matrix_pins": {
"right": { "right": {

View file

@ -3,8 +3,6 @@
#pragma once #pragma once
#define SPLIT_HAND_PIN A7
#if !(defined(USE_SDI1_ON_STANDARD_ROLE_PINS) || defined(USE_SDI1_ON_ALTERNATE_ROLE_PINS) || defined(USE_SDI2)) #if !(defined(USE_SDI1_ON_STANDARD_ROLE_PINS) || defined(USE_SDI1_ON_ALTERNATE_ROLE_PINS) || defined(USE_SDI2))
#define USE_SDI1_ON_STANDARD_ROLE_PINS #define USE_SDI1_ON_STANDARD_ROLE_PINS
#endif #endif

View file

@ -3,6 +3,11 @@
"cols": ["B1"], "cols": ["B1"],
"rows": ["B10"] "rows": ["B10"]
}, },
"split": {
"handedness": {
"pin": "A7"
}
},
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"development_board": "bluepill", "development_board": "bluepill",
"features": { "features": {

View file

@ -16,8 +16,5 @@
#pragma once #pragma once
// use I2C on AVR // use I2C on AVR
#define USE_I2C #define USE_I2C
#define SPLIT_HAND_PIN F6

View file

@ -5,6 +5,9 @@
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"handedness": {
"pin": "F6"
},
"soft_serial_pin": "D1" "soft_serial_pin": "D1"
}, },
"ws2812": { "ws2812": {

View file

@ -16,11 +16,8 @@
#pragma once #pragma once
// use I2C on AVR // use I2C on AVR
#define USE_I2C #define USE_I2C
#define SPLIT_HAND_PIN F0
// teensy has vbus detection issues - use usb detection instead // teensy has vbus detection issues - use usb detection instead
#define SPLIT_USB_DETECT #define SPLIT_USB_DETECT

View file

@ -5,6 +5,9 @@
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"handedness": {
"pin": "F0"
},
"soft_serial_pin": "D1" "soft_serial_pin": "D1"
}, },
"ws2812": { "ws2812": {

View file

@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_TRANSPORT_MIRROR #define SPLIT_TRANSPORT_MIRROR
#define SPLIT_HAND_PIN A6
// #define DEBUG_LED_PIN D6 // #define DEBUG_LED_PIN D6

View file

@ -19,6 +19,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "A6"
},
"soft_serial_pin": "D3", "soft_serial_pin": "D3",
"bootmagic": { "bootmagic": {
"matrix": [4, 5] "matrix": [4, 5]

View file

@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
// #define USB_VBUS_PIN B10 // #define USB_VBUS_PIN B10
#define SPLIT_HAND_PIN C14 // high = left, low = right
// WS2812 RGB LED strip input and number of LEDs // WS2812 RGB LED strip input and number of LEDs
#define WS2812_PWM_DRIVER PWMD3 // default: PWMD2 #define WS2812_PWM_DRIVER PWMD3 // default: PWMD2

View file

@ -16,6 +16,9 @@
"driver": "dac_additive" "driver": "dac_additive"
}, },
"split": { "split": {
"handedness": {
"pin": "C14"
},
"serial": { "serial": {
"driver": "usart" "driver": "usart"
} }

View file

@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
// #define USB_VBUS_PIN B10 // doesn't seem to work for me on one of my controllers... */ // #define USB_VBUS_PIN B10 // doesn't seem to work for me on one of my controllers... */
#define SPLIT_HAND_PIN C14 // high = left, low = right
// WS2812 RGB LED strip input and number of LEDs // WS2812 RGB LED strip input and number of LEDs
#define WS2812_PWM_DRIVER PWMD2 // default: PWMD2 #define WS2812_PWM_DRIVER PWMD2 // default: PWMD2

View file

@ -19,9 +19,12 @@
"driver": "pwm_hardware" "driver": "pwm_hardware"
}, },
"split": { "split": {
"handedness": {
"pin": "C14"
},
"serial": { "serial": {
"driver": "usart" "driver": "usart"
} },
}, },
"ws2812": { "ws2812": {
"pin": "A1", "pin": "A1",

View file

@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
//#define EE_HANDS //#define EE_HANDS
#define SPLIT_HAND_PIN E6
#define PHYSICAL_LEDS_ENABLE #define PHYSICAL_LEDS_ENABLE
#define IOS_DEVICE_ENABLE #define IOS_DEVICE_ENABLE

View file

@ -39,6 +39,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "E6"
},
"soft_serial_pin": "D1" "soft_serial_pin": "D1"
}, },
"processor": "atmega32u4", "processor": "atmega32u4",

View file

@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USE_I2C #define USE_I2C
#define SPLIT_HAND_PIN D2
/* /*
* Feature disable options * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View file

@ -10,6 +10,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D2"
},
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"processor": "atmega32u4", "processor": "atmega32u4",

View file

@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USE_I2C #define USE_I2C
#define SPLIT_HAND_PIN D2
/* /*
* Feature disable options * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View file

@ -3,8 +3,6 @@
#pragma once #pragma once
#define SPLIT_HAND_PIN GP4
#define USB_VBUS_PIN GP12 #define USB_VBUS_PIN GP12
#define SERIAL_USART_FULL_DUPLEX #define SERIAL_USART_FULL_DUPLEX

View file

@ -9,6 +9,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "GP4"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP21", "GP15", "GP9", "GP10"], "cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP21", "GP15", "GP9", "GP10"],

View file

@ -16,6 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN F7
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

View file

@ -23,6 +23,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "F7"
},
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"rgblight": { "rgblight": {

View file

@ -1,38 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Split Defines */
#define SPLIT_HAND_PIN D2
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
// #define NO_DEBUG
/* disable print */
// #define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View file

@ -36,6 +36,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D2"
},
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"rgblight": { "rgblight": {

View file

@ -1,20 +0,0 @@
/*
Copyright 2017 Danny Nguyen <danny@keeb.io>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN F0

View file

@ -45,6 +45,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "F0"
},
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"processor": "atmega32u4", "processor": "atmega32u4",

View file

@ -1,20 +0,0 @@
/*
Copyright 2019 Danny Nguyen <danny@keeb.io>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN D5

View file

@ -53,6 +53,9 @@
] ]
} }
}, },
"handedness": {
"pin": "D5"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["D4", "D7", "D3", "B7", "F0", "B3"], "cols": ["D4", "D7", "D3", "B7", "F0", "B3"],

View file

@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN D5
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

View file

@ -70,6 +70,9 @@
] ]
} }
}, },
"handedness": {
"pin": "D5"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["D4", "D7", "D3", "B7", "F0", "B3"], "cols": ["D4", "D7", "D3", "B7", "F0", "B3"],

View file

@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN D5
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

View file

@ -86,6 +86,9 @@
"split": { "split": {
"enabled": true, "enabled": true,
"soft_serial_pin": "D0", "soft_serial_pin": "D0",
"handedness": {
"pin": "D5"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["D4", "D6", "D7", "C7", "F1", "F4"], "cols": ["D4", "D6", "D7", "C7", "F1", "F4"],

View file

@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN D5
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

View file

@ -85,6 +85,9 @@
"split": { "split": {
"enabled": true, "enabled": true,
"soft_serial_pin": "D0", "soft_serial_pin": "D0",
"handedness": {
"pin": "D5"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["D4", "D6", "D7", "C7", "F1", "F4"], "cols": ["D4", "D6", "D7", "C7", "F1", "F4"],

View file

@ -3,8 +3,6 @@
#pragma once #pragma once
#define SPLIT_HAND_PIN GP4
#define USB_VBUS_PIN GP8 #define USB_VBUS_PIN GP8
#define SERIAL_USART_FULL_DUPLEX #define SERIAL_USART_FULL_DUPLEX

View file

@ -24,6 +24,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "GP4"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["GP27", "GP28", "GP3", "GP6", "GP29", "GP16"], "cols": ["GP27", "GP28", "GP3", "GP6", "GP29", "GP16"],

View file

@ -3,7 +3,6 @@
#pragma once #pragma once
#define SPLIT_HAND_PIN GP4
#define USB_VBUS_PIN GP0 #define USB_VBUS_PIN GP0
#define SERIAL_USART_FULL_DUPLEX #define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN GP12 #define SERIAL_USART_TX_PIN GP12

View file

@ -135,6 +135,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "GP4"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["GP29", "GP28", "GP2", "GP27", "GP18", "GP7"], "cols": ["GP29", "GP28", "GP2", "GP27", "GP18", "GP7"],

View file

@ -18,6 +18,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN F7
#define CAPS_LOCK_LED_PIN B6 #define CAPS_LOCK_LED_PIN B6

View file

@ -52,6 +52,9 @@
] ]
} }
}, },
"handedness": {
"pin": "F7"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "D2", "D3", "B7", "B1"], "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "D2", "D3", "B7", "B1"],

View file

@ -1,22 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
Copyright 2018 Danny Nguyen <danny@keeb.io>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN D2

View file

@ -2,6 +2,9 @@
"keyboard_name": "Levinson Rev. 3", "keyboard_name": "Levinson Rev. 3",
"split": { "split": {
"soft_serial_pin": "D0", "soft_serial_pin": "D0",
"handedness": {
"pin": "D2"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["F4", "F7", "D3", "B5", "B4", "E6"], "cols": ["F4", "F7", "D3", "B5", "B4", "E6"],

View file

@ -1,36 +0,0 @@
/*
Copyright 2017 Danny Nguyen <danny@keeb.io>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN D5
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
// #define NO_DEBUG
/* disable print */
// #define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

View file

@ -31,6 +31,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D5"
},
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"rgblight": { "rgblight": {

View file

@ -3,8 +3,6 @@
#pragma once #pragma once
#define SPLIT_HAND_PIN GP23
#define USB_VBUS_PIN GP18 #define USB_VBUS_PIN GP18
#define SERIAL_USART_FULL_DUPLEX #define SERIAL_USART_FULL_DUPLEX

View file

@ -21,6 +21,9 @@
] ]
} }
}, },
"handedness": {
"pin": "GP23"
},
"matrix_pins": { "matrix_pins": {
"right":{ "right":{
"cols": ["GP25", "GP29", "GP20", "GP11", "GP3", "GP2"], "cols": ["GP25", "GP29", "GP20", "GP11", "GP3", "GP2"],

View file

@ -1,21 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN D2

View file

@ -34,6 +34,9 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"split": { "split": {
"soft_serial_pin": "D0", "soft_serial_pin": "D0",
"handedness": {
"pin": "D2"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6", "C6"], "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6", "C6"],

View file

@ -18,6 +18,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN F7
#define CAPS_LOCK_LED_PIN B6 #define CAPS_LOCK_LED_PIN B6

View file

@ -50,6 +50,9 @@
] ]
} }
}, },
"handedness": {
"pin": "F7"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"],

View file

@ -18,6 +18,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN F7
#define CAPS_LOCK_LED_PIN B6 #define CAPS_LOCK_LED_PIN B6

View file

@ -50,6 +50,9 @@
] ]
} }
}, },
"handedness": {
"pin": "F7"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"],

View file

@ -16,6 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN F7
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

View file

@ -47,6 +47,9 @@
] ]
} }
}, },
"handedness": {
"pin": "F7"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"],

View file

@ -16,6 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN F7
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

View file

@ -47,6 +47,9 @@
] ]
} }
}, },
"handedness": {
"pin": "F7"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"],

View file

@ -16,7 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
// wiring of each half
#define SPLIT_HAND_PIN F7
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

View file

@ -39,6 +39,9 @@
] ]
} }
}, },
"handedness": {
"pin": "F7"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"],

View file

@ -16,7 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
// wiring of each half
#define SPLIT_HAND_PIN F7
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

View file

@ -39,6 +39,9 @@
] ]
} }
}, },
"handedness": {
"pin": "F7"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"], "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "C7", "D3", "B7"],

View file

@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define SPLIT_HAND_PIN GP4
#define SERIAL_USART_FULL_DUPLEX #define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN GP0 #define SERIAL_USART_TX_PIN GP0
#define SERIAL_USART_RX_PIN GP1 #define SERIAL_USART_RX_PIN GP1

View file

@ -20,6 +20,9 @@
] ]
} }
}, },
"handedness": {
"pin": "GP4"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"], "cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"],

View file

@ -3,8 +3,6 @@
#pragma once #pragma once
#define SPLIT_HAND_PIN GP4
#define USB_VBUS_PIN GP14 #define USB_VBUS_PIN GP14
#define SERIAL_USART_FULL_DUPLEX #define SERIAL_USART_FULL_DUPLEX

View file

@ -20,6 +20,9 @@
] ]
} }
}, },
"handedness": {
"pin": "GP4"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"], "cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"],

View file

@ -1,20 +0,0 @@
/*
Copyright 2017 Danny Nguyen <danny@hexwire.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define SPLIT_HAND_PIN D2

View file

@ -1,6 +1,9 @@
{ {
"keyboard_name": "Viterbi Rev. 2", "keyboard_name": "Viterbi Rev. 2",
"split": { "split": {
"handedness": {
"pin": "D2"
},
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"usb": { "usb": {

View file

@ -18,9 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
/* Split Defines */
#define SPLIT_HAND_PIN D3
// The 'EH' has previously forced use of I2C so this default has been kept // The 'EH' has previously forced use of I2C so this default has been kept
// however users can undef to use serial // however users can undef to use serial
#define USE_I2C #define USE_I2C

View file

@ -38,6 +38,9 @@
}, },
"split": { "split": {
"enabled": true, "enabled": true,
"handedness": {
"pin": "D3"
},
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"processor": "atmega32u4", "processor": "atmega32u4",

View file

@ -15,6 +15,5 @@
*/ */
#pragma once #pragma once
#define SPLIT_HAND_PIN B9
#define SERIAL_USART_TX_PIN B6 #define SERIAL_USART_TX_PIN B6
#define SERIAL_USART_SPEED 921600 #define SERIAL_USART_SPEED 921600

View file

@ -63,6 +63,9 @@
"bootmagic": { "bootmagic": {
"matrix": [5, 0] "matrix": [5, 0]
}, },
"handedness": {
"pin": "B9"
},
"matrix_pins": { "matrix_pins": {
"right": { "right": {
"cols": ["B0", "A3", "A2", "A1", "B7", "B5"], "cols": ["B0", "A3", "A2", "A1", "B7", "B5"],

View file

@ -15,7 +15,6 @@
*/ */
#pragma once #pragma once
#define SPLIT_HAND_PIN B9
#define SERIAL_USART_TX_PIN B6 #define SERIAL_USART_TX_PIN B6
#define SERIAL_USART_SPEED 921600 #define SERIAL_USART_SPEED 921600

Some files were not shown because too many files have changed in this diff Show more