aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/helix/rev2/keymaps/led_test/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/helix/rev2/keymaps/led_test/keymap.c')
-rw-r--r--keyboards/helix/rev2/keymaps/led_test/keymap.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/helix/rev2/keymaps/led_test/keymap.c b/keyboards/helix/rev2/keymaps/led_test/keymap.c
index b8a9baee3..d597020d8 100644
--- a/keyboards/helix/rev2/keymaps/led_test/keymap.c
+++ b/keyboards/helix/rev2/keymaps/led_test/keymap.c
@@ -32,7 +32,7 @@ extern uint8_t is_master;
#define _DVORAK 2
#define _LOWER 3
#define _RAISE 4
-#define _ADJUST 16
+#define _ADJUST 6
enum custom_keycodes {
QWERTY = SAFE_RANGE,
@@ -513,6 +513,12 @@ void music_scale_user(void)
#ifdef SSD1306OLED
void matrix_scan_user(void) {
+ static int scan_count = 0;
+ if( scan_count == 2 ) {
+ rgblight_enable();
+ rgblight_mode(35);
+ }
+ if( scan_count < 3 ) scan_count ++;
iota_gfx_task(); // this is what updates the display continuously
}