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.

21 lines
590 B

  1. #pragma once
  2. #include "quantum.h"
  3. #ifdef RGB_MATRIX_ENABLE
  4. #include "rgb_matrix.h"
  5. #endif
  6. typedef struct {
  7. bool enabled;
  8. uint8_t hue;
  9. uint16_t timer;
  10. uint8_t life;
  11. } rgblight_fadeout;
  12. bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record);
  13. void scan_rgblight_fadeout(void);
  14. void matrix_init_rgb(void);
  15. void matrix_scan_rgb(void);
  16. uint32_t layer_state_set_rgb(uint32_t state);
  17. uint32_t default_layer_state_set_rgb(uint32_t state);
  18. void rgblight_sethsv_default_helper(uint8_t index);
  19. void rgb_matrix_set_color_all( uint8_t red, uint8_t green, uint8_t blue );