summaryrefslogtreecommitdiff
path: root/tmk_core/common/keyboard.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-04-13 19:51:03 +1000
committerGitHub <noreply@github.com>2021-04-13 19:51:03 +1000
commitce99f98bb5217ede628cfbf7e20924346b4279da (patch)
tree20079e250b26339964ff3eb9c588d35474cbe8c5 /tmk_core/common/keyboard.c
parent15f7cc3bde0199afe3b49718fa7b73bc6771e04b (diff)
LED Matrix: suspend code (#12509)
Diffstat (limited to 'tmk_core/common/keyboard.c')
-rw-r--r--tmk_core/common/keyboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c
index e473806b21..132affe7a8 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -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