aboutsummaryrefslogtreecommitdiffstats
path: root/src/hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hid.h')
-rw-r--r--src/hid.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/hid.h b/src/hid.h
index 65efb01..79e0348 100644
--- a/src/hid.h
+++ b/src/hid.h
@@ -3,6 +3,13 @@
#include <stdbool.h>
#include <stdint.h>
+#define REPORT_ID_MIN REPORT_ID_KEYBOARD
+enum {
+ REPORT_ID_KEYBOARD = 1,
+ REPORT_ID_MOUSE,
+ REPORT_ID_CONSUMER_CONTROL,
+ REPORT_ID_MAX
+};
+
void hid_init(void);
-bool hid_gen_report(uint8_t *keycode);
void hid_task(void);