Migrate some dip switch config to info.json (#22437)
This commit is contained in:
@@ -16,13 +16,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define RGB_TRIGGER_ON_KEYDOWN
|
||||
|
||||
/* DIP switch */
|
||||
#define DIP_SWITCH_PINS \
|
||||
{ A9 }
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"dip_switch": {
|
||||
"pins": ["A9"]
|
||||
},
|
||||
"eeprom": {
|
||||
"driver": "wear_leveling",
|
||||
"wear_leveling": {
|
||||
|
||||
@@ -4,10 +4,6 @@
|
||||
|
||||
#define ENCODER_DEFAULT_POS 0x3
|
||||
|
||||
/* DIP switch */
|
||||
#define DIP_SWITCH_PINS \
|
||||
{ C11 }
|
||||
|
||||
/* I2C Config for LED Driver */
|
||||
#define SNLED27351_DRIVER_COUNT 2
|
||||
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
|
||||
|
||||
@@ -34,6 +34,9 @@
|
||||
"cols": ["C1","C2","C3","A0","A1","A2","A3","A4","A5","A6","A7","C4","C5","B0","B1","B2"],
|
||||
"rows": ["B15", "C6", "C7", "C8", "C9", "B14"]
|
||||
},
|
||||
"dip_switch": {
|
||||
"pins": ["C11"]
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{ "pin_a": "A8", "pin_b": "B13" }
|
||||
|
||||
Reference in New Issue
Block a user