summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/void.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/void.c b/src/void.c
index 729fb41..4d77f82 100644
--- a/src/void.c
+++ b/src/void.c
@@ -137,7 +137,8 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
InitValuatorAxisStruct(device,
0,
axes_labels[0],
- 0, /* min val */1, /* max val */
+ 0, /* min val */
+ 1, /* max val */
1, /* resolution */
0, /* min_res */
1, /* max_res */
@@ -145,7 +146,8 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
InitValuatorAxisStruct(device,
1,
axes_labels[1],
- 0, /* min val */1, /* max val */
+ 0, /* min val */
+ 1, /* max val */
1, /* resolution */
0, /* min_res */
1, /* max_res */