Migrate some dip switch config to info.json (#22437)

This commit is contained in:
Joel Challis
2023-11-22 21:33:59 +00:00
committed by GitHub
parent 3a5e4253fc
commit a0a6820c1b
42 changed files with 72 additions and 90 deletions

View File

@@ -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 */

View File

@@ -18,6 +18,9 @@
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
"dip_switch": {
"pins": ["A9"]
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {

View File

@@ -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

View File

@@ -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" }