Fix led enabled slave (#3022)
* Account for backlight enabled flag when passing backlight level to slave * Add BL_TOGG to keymap for testing * Apply backlight fix to Iris * Port I2C LED backlight control from Iris to Levinson
This commit is contained in:
parent
4b1f60a3f5
commit
7658f10fba
3 changed files with 30 additions and 9 deletions
|
@ -34,6 +34,7 @@ enum custom_keycodes {
|
|||
#define KC_GRVF LT(_FKEYS, KC_GRV)
|
||||
#define KC_ENTS MT(MOD_LSFT, KC_ENT)
|
||||
#define KC_BL_S BL_STEP
|
||||
#define KC_BL_T BL_TOGG
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
|
@ -81,7 +82,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||
,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, ,
|
||||
//|----+----+----+----+----+----| |----+----+----+----+----+----|
|
||||
BL_S, , , , ,DEL , DEL , , P0 ,PDOT, ,
|
||||
BL_S,BL_T, , , ,DEL , DEL , , P0 ,PDOT, ,
|
||||
//`----+----+----+----+----+----' `----+----+----+----+----+----'
|
||||
),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue