From 32633a42c74c65462370ef4a39a44a5784a98a06 Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 13 Jan 2013 10:24:20 +0900 Subject: Fix tap key using delaying_layer and waiting_key. --- common/host.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/host.c') 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; -- cgit v1.2.3-24-g4f1b