aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/wininput.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/wininput.h')
-rw-r--r--backends/wininput.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/backends/wininput.h b/backends/wininput.h
index 240f1a6..ef817e8 100644
--- a/backends/wininput.h
+++ b/backends/wininput.h
@@ -18,14 +18,20 @@ enum /*wininput_channel_type*/ {
};
enum /*wininput_control_channel*/ {
+ keypress = 0,
+ button,
position,
//wheel, /*relative*/
- button,
- keypress,
key_unicode
};
+typedef struct /*_wininput_key_info*/ {
+ uint8_t keycode;
+ char* name;
+ uint8_t channel;
+} key_info;
+
typedef union {
struct {
uint8_t pad[4];