aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/helix/rev2/keymaps/led_test/keymap.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2018-06-12 10:59:35 -0400
committerJack Humbert <jack.humb@gmail.com>2018-06-12 10:59:35 -0400
commit998ddbb122c9d3e2a77bd4e88c881b225ca0d569 (patch)
treeca91ff7ad3c4866555d1e623fe9ea05276397e1c /keyboards/helix/rev2/keymaps/led_test/keymap.c
parentc0095710a7c7e9bd94aa9f4dd814dc28d718c731 (diff)
parent06487daaddf923d635e8a528d1eb644b875a73f6 (diff)
downloadfirmware-998ddbb122c9d3e2a77bd4e88c881b225ca0d569.tar.gz
firmware-998ddbb122c9d3e2a77bd4e88c881b225ca0d569.tar.bz2
firmware-998ddbb122c9d3e2a77bd4e88c881b225ca0d569.zip
Merge branch 'master' of github.com:qmk/qmk_firmware into hf/shinydox
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
}