Move backlight config to data driven, part 1 (#19887)

This commit is contained in:
Ryan
2023-02-21 12:05:40 +11:00
committed by GitHub
parent 4b69225c22
commit 9c0ce80d7e
128 changed files with 110 additions and 131 deletions

View File

@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define BACKLIGHT_LED_COUNT 2
#undef BACKLIGHT_PIN
#define BACKLIGHT_PINS { F6, F7 }
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"backlight": {
"pins": ["F6", "F7"]
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {

View File

@@ -20,4 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Backlight */
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_PINS { F4, F5 } // Top Row, Bottom Row

View File

@@ -8,6 +8,9 @@
"pid": "0x5350",
"device_version": "10.0.1"
},
"backlight": {
"pins": ["F4", "F5"]
},
"indicators": {
"caps_lock": "B0",
"num_lock": "D5",