Commit 7456467a authored by Peter Hutterer's avatar Peter Hutterer

Add mode field to xf86InitValuatorAxisStruct.

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent 86084d21
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment