aboutsummaryrefslogtreecommitdiff
path: root/key.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-08-15 20:49:23 +0200
committerJavier <dev.git@javispedro.com>2014-08-15 20:49:23 +0200
commit9694ec75ab1464b3699ef367f3800e60bef0cc7a (patch)
tree645c4d0fc9b8c71162cdf9f4ac572904b0bc4079 /key.h
downloadcoveraudiod-9694ec75ab1464b3699ef367f3800e60bef0cc7a.tar.gz
coveraudiod-9694ec75ab1464b3699ef367f3800e60bef0cc7a.zip
initial import
Diffstat (limited to 'key.h')
-rw-r--r--key.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/key.h b/key.h
new file mode 100644
index 0000000..c70dfd1
--- /dev/null
+++ b/key.h
@@ -0,0 +1,13 @@
+#ifndef KEY_H
+#define KEY_H
+
+#include <stdbool.h>
+
+#define MICROSOFT_VENDOR_ID 0x045e
+
+#define MICROSOFT_TOUCH_COVER_1_PRODUCT_ID 0x079a
+#define MICROSOFT_TOUCH_COVER_2_PRODUCT_ID 0x07a7
+
+void handle_keypress(bool dead_key);
+
+#endif // KEY_H