summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2019-02-16 18:26:27 +0100
committerKonstantin Đorđević <vomindoraan@gmail.com>2019-03-02 15:15:57 +0100
commit8e0dfdfb5307e8b0abb2f6030c9147cfd12964c8 (patch)
treeebfe8778c44dfffd82e12bf32517a13e6b4ef15d
parentf09a237a07f2a3a341f6c6972d2f87eec3235254 (diff)
downloadqmk_firmware-8e0dfdfb5307e8b0abb2f6030c9147cfd12964c8.tar.gz
qmk_firmware-8e0dfdfb5307e8b0abb2f6030c9147cfd12964c8.tar.xz
Set Melody96 underglow color to Godspeed blue on EEPROM reset
-rw-r--r--keyboards/melody96/keymaps/konstantin/keymap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/melody96/keymaps/konstantin/keymap.c b/keyboards/melody96/keymaps/konstantin/keymap.c
index 4df856f8f..ab876f2f2 100644
--- a/keyboards/melody96/keymaps/konstantin/keymap.c
+++ b/keyboards/melody96/keymaps/konstantin/keymap.c
@@ -1,6 +1,10 @@
#include QMK_KEYBOARD_H
#include "konstantin.h"
+void eeconfig_init_keymap(void) {
+ rgblight_sethsv(GODSPEED_BLUE.h, GODSPEED_BLUE.s, GODSPEED_BLUE.v);
+}
+
enum keycodes_keymap {
RGB_SET = RANGE_KEYMAP,
};