summaryrefslogtreecommitdiff
path: root/common/host.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-10-04 03:30:09 +0900
committertmk <nobody@nowhere>2013-10-04 16:04:31 +0900
commitd52d554360d3bf06189bfd4f386fa99348d8a0a8 (patch)
treeb05d27552402f371e61aa0f29906a60c87e213ad /common/host.h
parentcb434cfebc607db15b52a42adae6423bd40f1f98 (diff)
downloadqmk_firmware-d52d554360d3bf06189bfd4f386fa99348d8a0a8.tar.gz
qmk_firmware-d52d554360d3bf06189bfd4f386fa99348d8a0a8.zip
Fix mod stuck of MODS_KEY when leaving layer #62
- Add action_util.c and remove action_oneshot.c - Add oneshot_mods for MODS_ONESHOT - Add weak_mods for MODS_KEY and MACRO - weak_mods is cleared when layer switching
Diffstat (limited to 'common/host.h')
-rw-r--r--common/host.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/common/host.h b/common/host.h
index 7c4f06601d..c1a0fbac40 100644
--- a/common/host.h
+++ b/common/host.h
@@ -33,7 +33,6 @@ extern bool keyboard_nkro;
#endif
/* report */
-extern report_keyboard_t *keyboard_report;
extern report_mouse_t mouse_report;
@@ -48,22 +47,6 @@ void host_mouse_send(report_mouse_t *report);
void host_system_send(uint16_t data);
void host_consumer_send(uint16_t data);
-/* keyboard report utils */
-void host_add_key(uint8_t key);
-void host_del_key(uint8_t key);
-void host_clear_keys(void);
-
-uint8_t host_get_mods(void);
-void host_add_mods(uint8_t mods);
-void host_del_mods(uint8_t mods);
-void host_set_mods(uint8_t mods);
-void host_clear_mods(void);
-
-uint8_t host_has_anykey(void);
-uint8_t host_has_anymod(void);
-uint8_t host_get_first_key(void);
-void host_send_keyboard_report(void);
-
/* mouse report utils */
uint8_t host_mouse_in_use(void);