Migrate SPLIT_HAND_PIN to json (#23924)
This commit is contained in:
parent
26e84c513c
commit
f0807ea64f
159 changed files with 243 additions and 800 deletions
|
|
@ -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
|
||||
|
|
@ -31,6 +31,9 @@
|
|||
},
|
||||
"split": {
|
||||
"enabled": true,
|
||||
"handedness": {
|
||||
"pin": "D5"
|
||||
},
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"rgblight": {
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define SPLIT_HAND_PIN GP23
|
||||
|
||||
#define USB_VBUS_PIN GP18
|
||||
|
||||
#define SERIAL_USART_FULL_DUPLEX
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"handedness": {
|
||||
"pin": "GP23"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"right":{
|
||||
"cols": ["GP25", "GP29", "GP20", "GP11", "GP3", "GP2"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue