summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/swiftrax/bumblebee/bumblebee.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/swiftrax/bumblebee/bumblebee.c')
-rw-r--r--keyboards/handwired/swiftrax/bumblebee/bumblebee.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/handwired/swiftrax/bumblebee/bumblebee.c b/keyboards/handwired/swiftrax/bumblebee/bumblebee.c
index 613a1fa1b3..1199b90b1f 100644
--- a/keyboards/handwired/swiftrax/bumblebee/bumblebee.c
+++ b/keyboards/handwired/swiftrax/bumblebee/bumblebee.c
@@ -21,18 +21,18 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
if (!encoder_update_user(index, clockwise))
return false;
if (clockwise)
- tap_code16(KC_VOLU);
+ tap_code(KC_VOLU);
else
- tap_code16(KC_VOLD);
+ tap_code(KC_VOLD);
return true;
}
// Initialize all RGB indicators to 'off'
-__attribute__((weak))
-void keyboard_post_init_user(void) {
+void keyboard_post_init_kb(void) {
rgblight_setrgb_at(0, 0, 0, 0); // [..., 0] = top LED
rgblight_setrgb_at(0, 0, 0, 1); // [..., 1] = middle LED
rgblight_setrgb_at(0, 0, 0, 2); // [..., 2] = bottom LED
+ keyboard_post_init_user();
}
// RGB Layer Indicators
@@ -53,4 +53,4 @@ layer_state_t layer_state_set_kb(layer_state_t state) {
rgblight_setrgb_at(0, 0, 0, 2);
}
return layer_state_set_user(state);
-} \ No newline at end of file
+}