forked from mirror/qmk_firmware
Migrate SPLIT_HAND_PIN to json (#23924)
This commit is contained in:
@@ -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
|
||||
@@ -45,6 +45,9 @@
|
||||
},
|
||||
"split": {
|
||||
"enabled": true,
|
||||
"handedness": {
|
||||
"pin": "F0"
|
||||
},
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
|
||||
@@ -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
|
||||
@@ -53,6 +53,9 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"handedness": {
|
||||
"pin": "D5"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"cols": ["D4", "D7", "D3", "B7", "F0", "B3"],
|
||||
|
||||
@@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define SPLIT_HAND_PIN D5
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
||||
@@ -70,6 +70,9 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"handedness": {
|
||||
"pin": "D5"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"cols": ["D4", "D7", "D3", "B7", "F0", "B3"],
|
||||
|
||||
@@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define SPLIT_HAND_PIN D5
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
||||
@@ -86,6 +86,9 @@
|
||||
"split": {
|
||||
"enabled": true,
|
||||
"soft_serial_pin": "D0",
|
||||
"handedness": {
|
||||
"pin": "D5"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"cols": ["D4", "D6", "D7", "C7", "F1", "F4"],
|
||||
|
||||
@@ -17,6 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define SPLIT_HAND_PIN D5
|
||||
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
||||
@@ -85,6 +85,9 @@
|
||||
"split": {
|
||||
"enabled": true,
|
||||
"soft_serial_pin": "D0",
|
||||
"handedness": {
|
||||
"pin": "D5"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"cols": ["D4", "D6", "D7", "C7", "F1", "F4"],
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define SPLIT_HAND_PIN GP4
|
||||
|
||||
#define USB_VBUS_PIN GP8
|
||||
|
||||
#define SERIAL_USART_FULL_DUPLEX
|
||||
|
||||
@@ -24,6 +24,9 @@
|
||||
},
|
||||
"split": {
|
||||
"enabled": true,
|
||||
"handedness": {
|
||||
"pin": "GP4"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"cols": ["GP27", "GP28", "GP3", "GP6", "GP29", "GP16"],
|
||||
|
||||
Reference in New Issue
Block a user