Iris updates
This commit is contained in:
parent
99cc1d9f4a
commit
b59054d7b5
1 changed files with 6 additions and 0 deletions
|
@ -126,18 +126,24 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case GAMER:
|
||||
rgblight_enable_noeeprom();
|
||||
rgblight_sethsv_noeeprom(HSV_RED);
|
||||
if (record->event.pressed) {
|
||||
set_single_persistent_default_layer(_GAMER);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case RETRO_GAMER:
|
||||
rgblight_enable_noeeprom();
|
||||
rgblight_sethsv_noeeprom(HSV_YELLOW);
|
||||
if (record->event.pressed) {
|
||||
set_single_persistent_default_layer(_RETRO_GAMER);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case QWERTY:
|
||||
rgblight_enable_noeeprom();
|
||||
rgblight_sethsv_noeeprom(HSV_BLUE);
|
||||
if (record->event.pressed) {
|
||||
set_single_persistent_default_layer(_QWERTY);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue