diff options
Diffstat (limited to 'common/host.c')
-rw-r--r-- | common/host.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/host.c b/common/host.c index 28c8a819fd..6ed3d780f6 100644 --- a/common/host.c +++ b/common/host.c @@ -127,6 +127,11 @@ void host_clear_keys(void) } } +uint8_t host_get_mods(void) +{ + return keyboard_report->mods; +} + void host_add_mods(uint8_t mods) { keyboard_report->mods |= mods; |