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

@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define SPLIT_HAND_PIN B6
#ifndef IOS_DEVICE_ENABLE
#define RGBLIGHT_LIMIT_VAL 180
#define RGBLIGHT_VAL_STEP 17

View file

@ -29,6 +29,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"handedness": {
"pin": "B6"
},
"soft_serial_pin": "D2"
},
"rgblight": {

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define SPLIT_HAND_PIN B6
#ifndef IOS_DEVICE_ENABLE
#define RGBLIGHT_LIMIT_VAL 180
#define RGBLIGHT_VAL_STEP 17

View file

@ -30,6 +30,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"handedness": {
"pin": "B6"
},
"soft_serial_pin": "D2"
},
"rgblight": {

View file

@ -1,20 +0,0 @@
/*
Copyright 2020 Salicylic_Acid
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 B6

View file

@ -29,6 +29,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"handedness": {
"pin": "B6"
},
"soft_serial_pin": "D2"
},
"processor": "atmega32u4",

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define SPLIT_HAND_PIN B6
#ifndef IOS_DEVICE_ENABLE
#define RGBLIGHT_LIMIT_VAL 90
#define RGBLIGHT_VAL_STEP 17

View file

@ -30,6 +30,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"handedness": {
"pin": "B6"
},
"soft_serial_pin": "D0"
},
"rgblight": {

View file

@ -1,6 +0,0 @@
// Copyright 2022 Salicylic-acid3 (@Salicylic-acid3)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define SPLIT_HAND_PIN B6

View file

@ -48,6 +48,9 @@
},
"split": {
"enabled": true,
"handedness": {
"pin": "B6"
},
"transport": {
"protocol": "serial"
},

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define SPLIT_HAND_PIN B6
#ifndef IOS_DEVICE_ENABLE
#define RGBLIGHT_LIMIT_VAL 180
#define RGBLIGHT_VAL_STEP 17

View file

@ -29,6 +29,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"handedness": {
"pin": "B6"
},
"soft_serial_pin": "D2"
},
"rgblight": {

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define SPLIT_HAND_PIN B6
#ifndef IOS_DEVICE_ENABLE
#define RGBLIGHT_LIMIT_VAL 180
#define RGBLIGHT_VAL_STEP 17

View file

@ -30,6 +30,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"handedness": {
"pin": "B6"
},
"soft_serial_pin": "D0"
},
"rgblight": {

View file

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define SPLIT_HAND_PIN B6
#ifndef IOS_DEVICE_ENABLE
#define RGBLIGHT_LIMIT_VAL 180
#define RGBLIGHT_VAL_STEP 17

View file

@ -30,6 +30,9 @@
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"handedness": {
"pin": "B6"
},
"soft_serial_pin": "D0"
},
"rgblight": {