From b59054d7b5587ec9dd59a599a90c4ce21251f171 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 26 Oct 2020 11:33:18 -0500 Subject: [PATCH] Iris updates --- iris/src/keymap.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/iris/src/keymap.c b/iris/src/keymap.c index f89ab3c..596f62e 100644 --- a/iris/src/keymap.c +++ b/iris/src/keymap.c @@ -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); }