mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +00:00
Merge pull request #7759 from grant2258/mouse
use none zero as requested for udev mouse
This commit is contained in:
commit
9feeaecb12
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user