mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-17 20:43:43 +00: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;
|
||||
}
|
||||
if (libevdev_has_event_type(dev, EV_KEY) &&
|
||||
libevdev_has_event_code(dev, EV_ABS, ABS_X) &&
|
||||
libevdev_has_event_code(dev, EV_ABS, ABS_Y))
|
||||
libevdev_has_event_type(dev, EV_ABS))
|
||||
{
|
||||
// It's a joystick.
|
||||
std::string name = get_device_name(dev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user