mirror of
https://github.com/X11Libre/xf86-input-void.git
synced 2026-03-24 01:24:08 +00:00
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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user