Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaxin96 committed Aug 6, 2024
1 parent 9227efc commit 09694f1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
RGB_MATRIX_EFFECT(my_cool_effect)
#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS

static bool my_cool_effect(effect_params_t* params) {
RGB_MATRIX_USE_LIMITS(led_min, led_max);
for (uint8_t i = 4; i < 14; i++) {
rgb_matrix_set_color(i, 0xff, 0xff, 0x00);
}
return rgb_matrix_check_finished_leds(led_max);
}

#endif
1 change: 1 addition & 0 deletions keyboards/yandrstudio/wired/studiox80/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
VIA_ENABLE = yes
RGB_MATRIX_CUSTOM_USER = yes

0 comments on commit 09694f1

Please sign in to comment.