Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -35,10 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define LED_NUM_LOCK_PIN D7
|
||||
#define LED_CAPS_LOCK_PIN D6
|
||||
#define LED_SCROLL_LOCK_PIN B4
|
||||
|
||||
#define RGB_DI_PIN F1
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLED_NUM 18
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0002",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "D6",
|
||||
"num_lock": "D7",
|
||||
"scroll_lock": "B4"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"community_layouts": ["alice_split_bs"],
|
||||
|
@@ -19,11 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 16
|
||||
|
||||
#define LED_NUM_LOCK_PIN D6
|
||||
#define LED_CAPS_LOCK_PIN D7
|
||||
#define LED_SCROLL_LOCK_PIN D4
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
|
@@ -8,6 +8,12 @@
|
||||
"pid": "0x0013",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "D7",
|
||||
"num_lock": "D6",
|
||||
"scroll_lock": "D4",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
Reference in New Issue
Block a user