Move LED indicator config to data driven (#19800)

This commit is contained in:
Ryan
2023-02-17 13:14:29 +11:00
committed by GitHub
parent d784f78bd0
commit f4ba17c4a0
979 changed files with 1935 additions and 2171 deletions

View File

@@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define LED_CAPS_LOCK_PIN F1
#define TAP_CODE_DELAY 10 // Need this delay for some keys like VOLD/VOLU to work
#define ENCODERS_PAD_A { D0 }
#define ENCODERS_PAD_B { D1 }

View File

@@ -32,6 +32,9 @@
"pid": "0x000A",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "F1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define LED_CAPS_LOCK_PIN D2
#define TAP_CODE_DELAY 10 // Need this delay for some keys like VOLD/VOLU to work
#define DYNAMIC_KEYMAP_LAYER_COUNT 3

View File

@@ -29,6 +29,9 @@
"pid": "0x000C",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D2"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["tkl_f13_ansi", "tkl_f13_iso"],

View File

@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define LED_CAPS_LOCK_PIN B1
#define LED_NUM_LOCK_PIN B3
#define LED_SCROLL_LOCK_PIN B2
#define TAP_CODE_DELAY 10 // Need this delay for some keys like VOLD/VOLU to work
#define ENCODERS_PAD_A { D6 }
#define ENCODERS_PAD_B { D7 }

View File

@@ -32,6 +32,12 @@
"pid": "0x0012",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B1",
"num_lock": "B3",
"scroll_lock": "B2",
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -17,8 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define LED_CAPS_LOCK_PIN D5
#define LED_NUM_LOCK_PIN C7
#define LED_PIN_ON_STATE 0
#define DYNAMIC_KEYMAP_LAYER_COUNT 3

View File

@@ -47,6 +47,11 @@
"pid": "0x0017",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D5",
"num_lock": "C7",
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {