aboutsummaryrefslogtreecommitdiff
path: root/mousetsr.h
diff options
context:
space:
mode:
Diffstat (limited to 'mousetsr.h')
-rw-r--r--mousetsr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mousetsr.h b/mousetsr.h
index 5f98333..5625ae1 100644
--- a/mousetsr.h
+++ b/mousetsr.h
@@ -63,7 +63,13 @@
#define MAX_BUTTONS 5
/** Maximum number of wheels supported. */
+#if USE_IMEX
#define MAX_WHEELS 2
+#elif USE_WHEEL
+#define MAX_WHEELS 1
+#else
+#define MAX_WHEELS 0
+#endif
/** Size of int33 graphic cursor shape definitions. */
#define GRAPHIC_CURSOR_WIDTH 16