summaryrefslogtreecommitdiff
path: root/src/vmmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmmouse.c')
-rw-r--r--src/vmmouse.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vmmouse.c b/src/vmmouse.c
index 1dfe5be..b716f46 100644
--- a/src/vmmouse.c
+++ b/src/vmmouse.c
@@ -203,8 +203,11 @@ InputDriverRec VMMOUSE = {
NULL,
VMMousePreInit,
VMMouseUnInit,
- NULL,
+ NULL
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 11
+ ,
0
+#endif
};
static char reverseMap[32] = { 0, 4, 2, 6, 1, 5, 3, 7,