summaryrefslogtreecommitdiff
path: root/src/xf86HyperPen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xf86HyperPen.c')
-rw-r--r--src/xf86HyperPen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c
index 515cbc6..c9b2ad0 100644
--- a/src/xf86HyperPen.c
+++ b/src/xf86HyperPen.c
@@ -75,6 +75,10 @@
#define XCONFIG_GIVEN "(**)"
#define xf86Verbose 1
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 12
+#error "This driver requires server with ABI 12."
+#endif
+
/*
* Be sure to set vmin appropriately for your device's protocol. You want to
* read a full packet before returning