diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2021-09-15 17:40:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 08:40:22 -0700 |
commit | 83988597f4d916a37b2b0987f393ceaa007532eb (patch) | |
tree | ba5d07ccf743cb27bee77b4d6cd2128035ce365e /tmk_core/common/chibios/suspend.c | |
parent | 1a68feb842ebcc6a7d1aef7cd7f83865cc18fab1 (diff) | |
download | qmk_firmware-83988597f4d916a37b2b0987f393ceaa007532eb.tar.gz qmk_firmware-83988597f4d916a37b2b0987f393ceaa007532eb.zip |
Add Support for USB programmable buttons (#12950)
Diffstat (limited to 'tmk_core/common/chibios/suspend.c')
-rw-r--r-- | tmk_core/common/chibios/suspend.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/common/chibios/suspend.c b/tmk_core/common/chibios/suspend.c index 991fe6e08..9310a9992 100644 --- a/tmk_core/common/chibios/suspend.c +++ b/tmk_core/common/chibios/suspend.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include "action.h" | 7 | #include "action.h" |
8 | #include "action_util.h" | 8 | #include "action_util.h" |
9 | #include "mousekey.h" | 9 | #include "mousekey.h" |
10 | #include "programmable_button.h" | ||
10 | #include "host.h" | 11 | #include "host.h" |
11 | #include "suspend.h" | 12 | #include "suspend.h" |
12 | #include "led.h" | 13 | #include "led.h" |
@@ -79,6 +80,9 @@ void suspend_wakeup_init(void) { | |||
79 | #ifdef MOUSEKEY_ENABLE | 80 | #ifdef MOUSEKEY_ENABLE |
80 | mousekey_clear(); | 81 | mousekey_clear(); |
81 | #endif /* MOUSEKEY_ENABLE */ | 82 | #endif /* MOUSEKEY_ENABLE */ |
83 | #ifdef PROGRAMMABLE_BUTTON_ENABLE | ||
84 | programmable_button_clear(); | ||
85 | #endif /* PROGRAMMABLE_BUTTON_ENABLE */ | ||
82 | #ifdef EXTRAKEY_ENABLE | 86 | #ifdef EXTRAKEY_ENABLE |
83 | host_system_send(0); | 87 | host_system_send(0); |
84 | host_consumer_send(0); | 88 | host_consumer_send(0); |