diff --git a/quantum/keyboard.c b/quantum/keyboard.c index 5aaa4b452f..df1dc1c3ee 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c @@ -500,10 +500,10 @@ void keyboard_init(void) { */ void switch_events(uint8_t row, uint8_t col, bool pressed) { #if defined(LED_MATRIX_ENABLE) - process_led_matrix(row, col, pressed); + led_matrix_handle_key_event(row, col, pressed); #endif #if defined(RGB_MATRIX_ENABLE) - process_rgb_matrix(row, col, pressed); + rgb_matrix_handle_key_event(row, col, pressed); #endif } diff --git a/quantum/led_matrix/led_matrix.c b/quantum/led_matrix/led_matrix.c index c0fb4c810b..2ca62c6969 100644 --- a/quantum/led_matrix/led_matrix.c +++ b/quantum/led_matrix/led_matrix.c @@ -159,7 +159,7 @@ void led_matrix_set_value_all(uint8_t value) { #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 if (!is_keyboard_master()) return; #endif diff --git a/quantum/led_matrix/led_matrix.h b/quantum/led_matrix/led_matrix.h index 941d42aeca..9a13c3e52b 100644 --- a/quantum/led_matrix/led_matrix.h +++ b/quantum/led_matrix/led_matrix.h @@ -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_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); diff --git a/quantum/rgb_matrix/rgb_matrix.c b/quantum/rgb_matrix/rgb_matrix.c index 655aca1867..aaba00b457 100644 --- a/quantum/rgb_matrix/rgb_matrix.c +++ b/quantum/rgb_matrix/rgb_matrix.c @@ -156,7 +156,7 @@ void rgb_matrix_set_color_all(uint8_t red, uint8_t green, uint8_t blue) { #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 if (!is_keyboard_master()) return; #endif diff --git a/quantum/rgb_matrix/rgb_matrix.h b/quantum/rgb_matrix/rgb_matrix.h index f8a6845e02..ceb3185d1a 100644 --- a/quantum/rgb_matrix/rgb_matrix.h +++ b/quantum/rgb_matrix/rgb_matrix.h @@ -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_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);