aboutsummaryrefslogtreecommitdiffstats
path: root/src/hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hid.h')
-rw-r--r--src/hid.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/hid.h b/src/hid.h
index 16ac53e..64536e3 100644
--- a/src/hid.h
+++ b/src/hid.h
@@ -7,16 +7,23 @@
#define MACRO_HOLD_MAX 32
-#define REPORT_ID_MIN REPORT_ID_KEYBOARD
+#define REPORT_ID_NONE 0
+
+#define REPORT_ID_MIN 1
+
enum {
- REPORT_ID_KEYBOARD = 1,
- REPORT_ID_CONSUMER,
+ REPORT_ID_CONSUMER = REPORT_ID_MIN,
REPORT_ID_SYSTEM,
REPORT_ID_MOUSE,
REPORT_ID_GAMEPAD,
REPORT_ID_MAX
};
+enum {
+ INST_HID_KBD,
+ INST_HID_MISC
+};
+
void hid_init(void);
void hid_force_release(uint x, uint y);
void hid_switch_layer_with_key(uint8_t layer, uint x, uint y);