Move backlight config to data driven, part 1 (#19887)
This commit is contained in:
parent
4b69225c22
commit
9c0ce80d7e
128 changed files with 110 additions and 131 deletions
|
|
@ -9,7 +9,6 @@
|
|||
#define BACKLIGHT_LEVELS 3
|
||||
#define BACKLIGHT_PIN B5
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 5
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x6060",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 5
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"community_layouts": ["ortho_5x12"],
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4
|
||||
#define BREATHING_PERIOD 2
|
||||
#define RGBLIGHT_LIMIT_VAL 255
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x0007",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 2
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
|
|
|
|||
|
|
@ -30,15 +30,6 @@
|
|||
#define MATRIX_ROW_PINS { C0, B4, F3, F4, F5, F6 }
|
||||
#define MATRIX_COL_PINS { C2, C1, E0, D4, D5, A4, A0, B2, B0, E7, E6, D6, B1, B3, D3, D2, B6, F7, F0, F1, F2 }
|
||||
|
||||
/*Row 0, resistor R132, Pin A1
|
||||
*Row 1, R131, Pin B5
|
||||
*Row 2, R130, Pin E4
|
||||
*Row 3, R129, Pin A2
|
||||
*Row 4, R128, Pin E5
|
||||
*Row 5, R127, Pin A7
|
||||
#define BACKLIGHT_PINS { B5, E5, E4, A7, A1, A2 }
|
||||
#define BACKLIGHT_LEVELS 1*/
|
||||
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
#define BACKLIGHT_PWM_DRIVER PWMD5
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Encoder */
|
||||
#define ENCODERS_PAD_A \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue