mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
evdev: relax controller criteria
This commit is contained in:
parent
de58f19866
commit
3937733182
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue