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