Remove use of layout macros for LFKeyboards LED config (#20666)
This commit is contained in:
parent
3ab3101b28
commit
e77ebe6889
12 changed files with 87 additions and 52 deletions
|
@ -16,19 +16,6 @@ const uint8_t backlight_pwm_map[BACKLIGHT_LEVELS] = BACKLIGHT_PWM_MAP;
|
|||
|
||||
const uint8_t switch_matrices[] = {0, 1};
|
||||
|
||||
// Maps switch LEDs from Row/Col to ISSI matrix.
|
||||
// Value breakdown:
|
||||
// Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
||||
// | | ISSI Col | ISSI Row |
|
||||
// / |
|
||||
// Device
|
||||
// const uint8_t switch_leds[MATRIX_ROWS][MATRIX_COLS] =
|
||||
// LAYOUT(
|
||||
// 0x29, 0x28, 0x27, 0x26, 0x25, 0x24, 0x23, 0x22, 0x21, 0xA9, 0xA8, 0xA7, 0xA6, 0xA5,
|
||||
// 0x39, 0x38, 0x37, 0x36, 0x35, 0x34, 0x33, 0x32, 0x31, 0xB9, 0xB8, 0xB7, 0xB6, 0xB5,
|
||||
// 0x49, 0x48, 0x47, 0x45, 0x44, 0x43, 0x42, 0x41, 0xC9, 0xC8, 0xC7, 0xC6,
|
||||
// 0x59, 0x58, 0x57, 0x56, 0x55, 0x51, 0xD6, 0xE5, 0xE4, 0xE3, 0xE2);
|
||||
|
||||
void backlight_set(uint8_t level){
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
uint8_t pwm_value = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue