1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-01 22:20:31 +00:00

resolve changes

This commit is contained in:
grant2258 2018-12-16 20:52:15 +00:00
parent fd6856ce20
commit 74de0ade03

@ -511,11 +511,10 @@ static bool udev_input_add_device(udev_input_t *udev,
{
if (ioctl(fd, EVIOCGABS(ABS_X), &absinfo) >= 0)
{
if (absinfo.minimum >= absinfo.maximum )
{
device->mouse.x_min = 0;
device->mouse.x_max = 0;
device->mouse.x_min = -1;
device->mouse.x_max = 1;
}
else
{
@ -526,11 +525,10 @@ static bool udev_input_add_device(udev_input_t *udev,
if (ioctl(fd, EVIOCGABS(ABS_Y), &absinfo) >= 0)
{
if (absinfo.minimum >= absinfo.maximum )
{
device->mouse.y_min = 0;
device->mouse.y_max = 0;
device->mouse.y_min = -1;
device->mouse.y_max = 1;
}
else
{