Migrate dip switch config to info.json - keychron (#23037)
This commit is contained in:
parent
e7b84e1cf6
commit
137938b67a
87 changed files with 117 additions and 466 deletions
|
|
@ -16,15 +16,6 @@
|
|||
|
||||
#include "quantum.h"
|
||||
|
||||
const matrix_row_t matrix_mask[] = {
|
||||
0b0111111111111101,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
};
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
|
|
|
|||
|
|
@ -16,15 +16,6 @@
|
|||
|
||||
#include "quantum.h"
|
||||
|
||||
const matrix_row_t matrix_mask[] = {
|
||||
0b0111111111111101,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
};
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
|
|
|
|||
|
|
@ -20,12 +20,6 @@
|
|||
#define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
|
||||
#define IS31FL3733_I2C_ADDRESS_2 IS31FL3733_I2C_ADDRESS_VCC_VCC
|
||||
|
||||
/* DIP switch */
|
||||
#define DIP_SWITCH_MATRIX_GRID { {0,1} }
|
||||
|
||||
/* Disable DIP switch in matrix data */
|
||||
#define MATRIX_MASKED
|
||||
|
||||
/* Encoder Configuration*/
|
||||
#define ENCODER_DEFAULT_POS 0x3
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@
|
|||
"nkro": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"dip_switch": {
|
||||
"matrix_grid": [ [0, 1] ]
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"],
|
||||
"rows": ["D3", "D2", "B3", "B2", "B1", "B0"]
|
||||
|
|
|
|||
|
|
@ -16,15 +16,6 @@
|
|||
|
||||
#include "quantum.h"
|
||||
|
||||
const matrix_row_t matrix_mask[] = {
|
||||
0b0111111111111101,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
};
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
|
|
|
|||
|
|
@ -16,15 +16,6 @@
|
|||
|
||||
#include "quantum.h"
|
||||
|
||||
const matrix_row_t matrix_mask[] = {
|
||||
0b0111111111111101,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
0b0111111111111111,
|
||||
};
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue