mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 18:40:36 +00:00
evdev: fixup for relax controller criteria
This commit is contained in:
parent
b923eb058a
commit
3788ef3e27
@ -639,8 +639,7 @@ int evdev_joystick_handler::add_device(const std::string& device, const std::sha
|
||||
name = fmt::format("%d. %s", ++unique_names[name], name);
|
||||
|
||||
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) &&
|
||||
name == device)
|
||||
{
|
||||
// It's a joystick. Now let's make sure we don't already have this one.
|
||||
|
Loading…
x
Reference in New Issue
Block a user