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 28c8a819f..6ed3d780f 100644 --- a/common/host.c +++ b/common/host.c | |||
| @@ -127,6 +127,11 @@ void host_clear_keys(void) | |||
| 127 | } | 127 | } |
| 128 | } | 128 | } |
| 129 | 129 | ||
| 130 | uint8_t host_get_mods(void) | ||
| 131 | { | ||
| 132 | return keyboard_report->mods; | ||
| 133 | } | ||
| 134 | |||
| 130 | void host_add_mods(uint8_t mods) | 135 | void host_add_mods(uint8_t mods) |
| 131 | { | 136 | { |
| 132 | keyboard_report->mods |= mods; | 137 | keyboard_report->mods |= mods; |
