Rename process_{led,rgb}_matrix()
(#23422)
This commit is contained in:
parent
a14c03b96e
commit
9fa91ad494
5 changed files with 6 additions and 6 deletions
|
@ -500,10 +500,10 @@ void keyboard_init(void) {
|
||||||
*/
|
*/
|
||||||
void switch_events(uint8_t row, uint8_t col, bool pressed) {
|
void switch_events(uint8_t row, uint8_t col, bool pressed) {
|
||||||
#if defined(LED_MATRIX_ENABLE)
|
#if defined(LED_MATRIX_ENABLE)
|
||||||
process_led_matrix(row, col, pressed);
|
led_matrix_handle_key_event(row, col, pressed);
|
||||||
#endif
|
#endif
|
||||||
#if defined(RGB_MATRIX_ENABLE)
|
#if defined(RGB_MATRIX_ENABLE)
|
||||||
process_rgb_matrix(row, col, pressed);
|
rgb_matrix_handle_key_event(row, col, pressed);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@ void led_matrix_set_value_all(uint8_t value) {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void process_led_matrix(uint8_t row, uint8_t col, bool pressed) {
|
void led_matrix_handle_key_event(uint8_t row, uint8_t col, bool pressed) {
|
||||||
#ifndef LED_MATRIX_SPLIT
|
#ifndef LED_MATRIX_SPLIT
|
||||||
if (!is_keyboard_master()) return;
|
if (!is_keyboard_master()) return;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -124,7 +124,7 @@ uint8_t led_matrix_map_row_column_to_led(uint8_t row, uint8_t column, uint8_t *l
|
||||||
void led_matrix_set_value(int index, uint8_t value);
|
void led_matrix_set_value(int index, uint8_t value);
|
||||||
void led_matrix_set_value_all(uint8_t value);
|
void led_matrix_set_value_all(uint8_t value);
|
||||||
|
|
||||||
void process_led_matrix(uint8_t row, uint8_t col, bool pressed);
|
void led_matrix_handle_key_event(uint8_t row, uint8_t col, bool pressed);
|
||||||
|
|
||||||
void led_matrix_task(void);
|
void led_matrix_task(void);
|
||||||
|
|
||||||
|
|
|
@ -156,7 +156,7 @@ void rgb_matrix_set_color_all(uint8_t red, uint8_t green, uint8_t blue) {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void process_rgb_matrix(uint8_t row, uint8_t col, bool pressed) {
|
void rgb_matrix_handle_key_event(uint8_t row, uint8_t col, bool pressed) {
|
||||||
#ifndef RGB_MATRIX_SPLIT
|
#ifndef RGB_MATRIX_SPLIT
|
||||||
if (!is_keyboard_master()) return;
|
if (!is_keyboard_master()) return;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -148,7 +148,7 @@ uint8_t rgb_matrix_map_row_column_to_led(uint8_t row, uint8_t column, uint8_t *l
|
||||||
void rgb_matrix_set_color(int index, uint8_t red, uint8_t green, uint8_t blue);
|
void rgb_matrix_set_color(int index, uint8_t red, uint8_t green, uint8_t blue);
|
||||||
void rgb_matrix_set_color_all(uint8_t red, uint8_t green, uint8_t blue);
|
void rgb_matrix_set_color_all(uint8_t red, uint8_t green, uint8_t blue);
|
||||||
|
|
||||||
void process_rgb_matrix(uint8_t row, uint8_t col, bool pressed);
|
void rgb_matrix_handle_key_event(uint8_t row, uint8_t col, bool pressed);
|
||||||
|
|
||||||
void rgb_matrix_task(void);
|
void rgb_matrix_task(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue