You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
543 B

  1. #pragma once
  2. typedef struct {
  3. bool enabled;
  4. uint8_t hue;
  5. uint16_t timer;
  6. uint8_t life;
  7. } rgblight_fadeout;
  8. bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record);
  9. void keyboard_post_init_rgb(void);
  10. void matrix_scan_rgb(void);
  11. layer_state_t layer_state_set_rgb(layer_state_t state);
  12. layer_state_t default_layer_state_set_rgb(layer_state_t state);
  13. void rgblight_sethsv_default_helper(uint8_t index);
  14. #if defined(RGBLIGHT_TWINKLE)
  15. void scan_rgblight_fadeout(void);
  16. #endif