summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/hnah40rgb/keymaps/default
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/hnah40rgb/keymaps/default')
-rw-r--r--keyboards/handwired/hnah40rgb/keymaps/default/keymap.c27
1 files changed, 12 insertions, 15 deletions
diff --git a/keyboards/handwired/hnah40rgb/keymaps/default/keymap.c b/keyboards/handwired/hnah40rgb/keymaps/default/keymap.c
index 76101f704b..7a0fcfd8df 100644
--- a/keyboards/handwired/hnah40rgb/keymaps/default/keymap.c
+++ b/keyboards/handwired/hnah40rgb/keymaps/default/keymap.c
@@ -50,18 +50,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, KC_TRNS, KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
};
-void rgb_matrix_indicators_user(void)
-{
- if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK))
- {
- rgb_matrix_set_color(22, 255, 255, 255);
- }
- if (IS_LAYER_ON(_L1))
- {
- rgb_matrix_set_color(46, 255, 255, 255);
- }
- if (IS_LAYER_ON(_L2))
- {
- rgb_matrix_set_color(45, 255, 255, 255);
- }
-} \ No newline at end of file
+bool rgb_matrix_indicators_user(void) {
+ if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) {
+ rgb_matrix_set_color(22, 255, 255, 255);
+ }
+ if (IS_LAYER_ON(_L1)) {
+ rgb_matrix_set_color(46, 255, 255, 255);
+ }
+ if (IS_LAYER_ON(_L2)) {
+ rgb_matrix_set_color(45, 255, 255, 255);
+ }
+ return false;
+}