From 3076f86dc11d346d07c63e5fb11702817d7034e7 Mon Sep 17 00:00:00 2001 From: Jacob Jerrell Date: Sun, 6 Dec 2020 00:30:27 -0600 Subject: Bocaj - Third Annual Refactor (Redux) (#10295) * Reset everything to upstream, reapply Bocaj changes * Bocaj - address PR comments * Just in time changes * Bocaj - Several adjustments after using the layout for a while --- users/bocaj/rgb_matrix_stuff.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 users/bocaj/rgb_matrix_stuff.h (limited to 'users/bocaj/rgb_matrix_stuff.h') diff --git a/users/bocaj/rgb_matrix_stuff.h b/users/bocaj/rgb_matrix_stuff.h new file mode 100644 index 0000000000..e48add2186 --- /dev/null +++ b/users/bocaj/rgb_matrix_stuff.h @@ -0,0 +1,10 @@ +#pragma once +#include "quantum.h" + +bool process_record_user_rgb_matrix(uint16_t keycode, keyrecord_t *record); +void keyboard_post_init_rgb_matrix(void); +void matrix_scan_rgb_matrix(void); + +void rgb_matrix_set_color_all(uint8_t red, uint8_t green, uint8_t blue); +void rgb_matrix_layer_helper(uint8_t hue, uint8_t sat, uint8_t val, uint8_t mode, uint8_t speed, uint8_t led_type); +void rgb_matrix_set_color_row(uint8_t row, uint8_t red, uint8_t green, uint8_t blue); -- cgit v1.2.3