use none zero as requested

This commit is contained in:
grant2258 2018-12-17 00:07:00 +00:00
parent 862a4e099b
commit 3a0c27e753

View File

@ -514,7 +514,7 @@ static bool udev_input_add_device(udev_input_t *udev,
if (absinfo.minimum >= absinfo.maximum )
{
device->mouse.x_min = -1;
device->mouse.x_max = 1;
device->mouse.x_max = -1;
}
else
{
@ -528,7 +528,7 @@ static bool udev_input_add_device(udev_input_t *udev,
if (absinfo.minimum >= absinfo.maximum )
{
device->mouse.y_min = -1;
device->mouse.y_max = 1;
device->mouse.y_max = -1;
}
else
{