X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=common%2Fhost.h;h=8ff26298527587f50347e5ef6160c7a54991eb70;hb=73ab537bfc47263a11c5162bd5087203ef346a88;hp=4f1f234a9685a621b64a2c0a103c9a9064c8ce1a;hpb=8a709c2750eab09ec0f83450410a13640931d48e;p=max%2Ftmk_keyboard.git
diff --git a/common/host.h b/common/host.h
index 4f1f234a..8ff26298 100644
--- a/common/host.h
+++ b/common/host.h
@@ -19,6 +19,7 @@ along with this program. If not, see .
#define HOST_H
#include
+#include
#include "report.h"
#include "host_driver.h"
@@ -31,10 +32,6 @@ extern "C" {
extern bool keyboard_nkro;
#endif
-/* report */
-extern report_keyboard_t *keyboard_report;
-extern report_mouse_t mouse_report;
-
/* host driver */
void host_set_driver(host_driver_t *driver);
@@ -47,22 +44,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);
-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);
-
uint16_t host_last_sysytem_report(void);
uint16_t host_last_consumer_report(void);