Iris updates

This commit is contained in:
Daniel Flanagan 2020-10-26 11:33:18 -05:00
parent 99cc1d9f4a
commit b59054d7b5
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -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);
}