[Keymap] added rgblight controls to planck keymap (#7439)
parent
78954a0d3e
commit
f0a9c10b6d
|
@ -38,7 +38,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
),
|
),
|
||||||
|
|
||||||
[_ADJUST] = LAYOUT_planck_grid(
|
[_ADJUST] = LAYOUT_planck_grid(
|
||||||
_______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_RIGHT, _______,
|
_______, RESET, _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_DEL ,
|
||||||
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, _______, _______, _______, _______,
|
||||||
_______, KC_PSCR, _______, KC_DOWN, KC_UP, _______, _______, _______, _______, _______, _______, _______,
|
_______, KC_PSCR, _______, KC_DOWN, KC_UP, _______, _______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||||
|
@ -46,6 +46,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//void matrix_init_user(void) {
|
||||||
|
// eeconfig_init();
|
||||||
|
//}
|
||||||
|
|
||||||
uint32_t layer_state_set_user(uint32_t state) {
|
uint32_t layer_state_set_user(uint32_t state) {
|
||||||
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
|
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue