diff options
author | tmk <nobody@nowhere> | 2013-01-13 10:24:20 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-01-13 10:24:20 +0900 |
commit | 32633a42c74c65462370ef4a39a44a5784a98a06 (patch) | |
tree | 8bbc2fc62bcb06c9ea897507a4000b7336d1a6eb /common/host.c | |
parent | 411de9cc22e927313a5a768f3bf41f2f99bca126 (diff) | |
download | qmk_firmware-32633a42c74c65462370ef4a39a44a5784a98a06.tar.gz |
Fix tap key using delaying_layer and waiting_key.
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) } } +uint8_t host_get_mods(void) +{ + return keyboard_report->mods; +} + void host_add_mods(uint8_t mods) { keyboard_report->mods |= mods; |