LED Matrix: suspend code (#12509)

This commit is contained in:
Ryan
2021-04-13 19:51:03 +10:00
committed by GitHub
parent 15f7cc3bde
commit ce99f98bb5
5 changed files with 49 additions and 27 deletions

View File

@ -330,6 +330,9 @@ void keyboard_init(void) {
* This is differnet than keycode events as no layer processing, or filtering occurs.
*/
void switch_events(uint8_t row, uint8_t col, bool pressed) {
#if defined(LED_MATRIX_ENABLE)
process_led_matrix(row, col, pressed);
#endif
#if defined(RGB_MATRIX_ENABLE)
process_rgb_matrix(row, col, pressed);
#endif