mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-07 23:55:04 -06:00
evdev: relax controller criteria
This commit is contained in:
parent
de58f19866
commit
3937733182
@ -584,8 +584,7 @@ std::vector<std::string> evdev_joystick_handler::ListDevices()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (libevdev_has_event_type(dev, EV_KEY) &&
|
if (libevdev_has_event_type(dev, EV_KEY) &&
|
||||||
libevdev_has_event_code(dev, EV_ABS, ABS_X) &&
|
libevdev_has_event_type(dev, EV_ABS))
|
||||||
libevdev_has_event_code(dev, EV_ABS, ABS_Y))
|
|
||||||
{
|
{
|
||||||
// It's a joystick.
|
// It's a joystick.
|
||||||
std::string name = get_device_name(dev);
|
std::string name = get_device_name(dev);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user