summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-11-25 12:45:27 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-11-30 07:50:57 +1000
commit7456467a0453677b9e5bca914c9274a305f35586 (patch)
treeab675876736cfbab4f45440a7d5dee7401ac00aa
parent86084d219f856e420cd1984ebe0320739248eeb4 (diff)
Add mode field to xf86InitValuatorAxisStruct.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/void.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/void.c b/src/void.c
index c0feca8..404b8d7 100644
--- a/src/void.c
+++ b/src/void.c
@@ -141,14 +141,16 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
0, /* min val */1, /* max val */
1, /* resolution */
0, /* min_res */
- 1); /* max_res */
+ 1, /* max_res */
+ Absolute);
InitValuatorAxisStruct(device,
1,
axes_labels[1],
0, /* min val */1, /* max val */
1, /* resolution */
0, /* min_res */
- 1); /* max_res */
+ 1, /* max_res */
+ Absolute);
ErrorF("unable to allocate Valuator class device\n");
return !Success;
}