Move LED indicator config to data driven (#19800)
This commit is contained in:
parent
d784f78bd0
commit
f4ba17c4a0
979 changed files with 1935 additions and 2171 deletions
|
@ -25,11 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define LED_NUM_LOCK_PIN B0
|
||||
#define LED_CAPS_LOCK_PIN A1
|
||||
#define LED_SCROLL_LOCK_PIN A0
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
#define BACKLIGHT_PIN A8
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD1
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
|
|
|
@ -8,6 +8,12 @@
|
|||
"pid": "0x1401",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A1",
|
||||
"num_lock": "B0",
|
||||
"scroll_lock": "A0",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"community_layouts": ["alice", "alice_split_bs"],
|
||||
|
|
|
@ -10,7 +10,3 @@
|
|||
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define LED_NUM_LOCK_PIN A9
|
||||
#define LED_CAPS_LOCK_PIN A10
|
||||
#define LED_SCROLL_LOCK_PIN A8
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x0C61",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A10",
|
||||
"num_lock": "A9",
|
||||
"scroll_lock": "A8"
|
||||
},
|
||||
"processor": "STM32F042",
|
||||
"bootloader": "stm32-dfu",
|
||||
"debounce": 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue