Fixed bug with touchscreen/

From my analysis I "believe" this is a development bug/typo and is causing issues with mouse and touchscreen input, that would affect touchscreen and lightgun APIs.
This commit is contained in:
SindenLightgun 2019-10-01 12:26:13 +01:00 committed by GitHub
parent 46c80632f3
commit 2e480a37ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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