diff options
| author | Andre Brait <andrebrait@gmail.com> | 2024-02-16 15:19:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-17 01:19:02 +1100 |
| commit | 80f3da36e571fa702b1d3df693fd545801250eca (patch) | |
| tree | 8fe09c9e53bbe8534372a87bab3d4edfd61e5fa8 /quantum/keyboard.c | |
| parent | 77e88674986ee14bd1799b1ab19b4c94af083bac (diff) | |
[Core] Add OS detection callbacks (#21777)
Diffstat (limited to 'quantum/keyboard.c')
| -rw-r--r-- | quantum/keyboard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c index ab25b02547..1d6657c230 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c | |||
| @@ -137,6 +137,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 137 | #ifdef WPM_ENABLE | 137 | #ifdef WPM_ENABLE |
| 138 | # include "wpm.h" | 138 | # include "wpm.h" |
| 139 | #endif | 139 | #endif |
| 140 | #ifdef OS_DETECTION_ENABLE | ||
| 141 | # include "os_detection.h" | ||
| 142 | #endif | ||
| 140 | 143 | ||
| 141 | static uint32_t last_input_modification_time = 0; | 144 | static uint32_t last_input_modification_time = 0; |
| 142 | uint32_t last_input_activity_time(void) { | 145 | uint32_t last_input_activity_time(void) { |
| @@ -741,4 +744,8 @@ void keyboard_task(void) { | |||
| 741 | #endif | 744 | #endif |
| 742 | 745 | ||
| 743 | led_task(); | 746 | led_task(); |
| 747 | |||
| 748 | #ifdef OS_DETECTION_ENABLE | ||
| 749 | os_detection_task(); | ||
| 750 | #endif | ||
| 744 | } | 751 | } |
