summaryrefslogtreecommitdiff
path: root/src/xNestedMouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xNestedMouse.h')
-rw-r--r--src/xNestedMouse.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xNestedMouse.h b/src/xNestedMouse.h
index 89b2b4d..ec8ce1d 100644
--- a/src/xNestedMouse.h
+++ b/src/xNestedMouse.h
@@ -1,11 +1,19 @@
+extern int NestedMouseMotion;
+extern int NestedKeyPress;
+
typedef struct {
int x;
int y;
} NestedMouseMotionData;
+typedef struct {
+ char key;
+} NestedKeyPressData;
+
typedef union {
NestedMouseMotionData mouseMotion;
+ NestedKeyPressData keyPress;
} NestedInputData;
typedef union {