Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with EVDEV [Linux] #10991

Closed
Ahmed-E-86 opened this issue Oct 12, 2021 · 8 comments
Closed

Issue with EVDEV [Linux] #10991

Ahmed-E-86 opened this issue Oct 12, 2021 · 8 comments

Comments

@Ahmed-E-86
Copy link

Ahmed-E-86 commented Oct 12, 2021

Quick summary

When attempting to use EVDEV with Generic wired PS3 controllers, most keys do not map correctly.

Details

When attempting to use EVDEV with Generic wired PS3 controllers, which are identified as Twin USB Gamepad, most keys are mapped as RZ+ as what you can see in this picture:

Screenshot_20211012_024555

RPCS3's log.

RPCS3.log

System configuration:

  • OS: Kubuntu 21.04
  • Linux kernel: 5.11.0-37
  • CPU: Intel Core i5-4200M
  • GPU: AMD Radeon HD 8750M
  • Driver version: Mesa 21.2.3

Additional information

I tried this workaround below which helps with centering the left analog stick correctly, but it does not help with this issue

Screenshot_20211012_033013

I found this issue which looks identical to mine, but with another controller >> #8733

@MSuih
Copy link
Member

MSuih commented Oct 12, 2021

Did you try the filter noise button? It's a bit off-screen in your image, you need to scroll the view down first.

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Oct 12, 2021

Did you try the filter noise button? It's a bit off-screen in your image, you need to scroll the view down first.

That mostly works, but the right joystick is completely turned off after doing that, and I can not map it afterwards.

E evdev: Evdev Calibration: Added axis [ 5 = ABS_RZ = RZ+ ] to blacklist. [ Value = 128 ] [ Min = 0 ] [ Max = 255 ]
E evdev: Evdev Calibration: Added axis [ 2 = ABS_Z = LZ+ ] to blacklist. [ Value = 128 ] [ Min = 0 ] [ Max = 255 ]

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Oct 13, 2021

If I choose Keyboard instead of EVDEV, would it work with all PS3 games without any problems?

If that is possible, I will use AntiMicroX to utilize my controllers as a keyboard until this issue is fixed.

@Megamouse
Copy link
Contributor

This is clearly a shitty 3rd party driver. (pardon the language)
Should be fixed if you follow the link in the description on the pad settings dialog and do what it says on the bottom of the page.

@Megamouse
Copy link
Contributor

I think if these are real DualShock 3 controllers after all, you can also use the Dualshock 3 pad handler instead of evdev.

@Megamouse
Copy link
Contributor

Closing as this is an issue with 3rdParty drivers.

@Megamouse
Copy link
Contributor

Looking at your original post again, you created an evdev_positive_axis.yml as seen on the wiki, but apparently you never actually adjusted it.

I suggest removing all entries and only adding:

ABS_RZ: true
ABS_Z: true

@Ahmed-E-86
Copy link
Author

Ahmed-E-86 commented Oct 15, 2021

Looking at your original post again, you created an evdev_positive_axis.yml as seen on the wiki, but apparently you never actually adjusted it.

I suggest removing all entries and only adding:

ABS_RZ: true ABS_Z: true

These values do not work alone, I had to change the first 6 entries to true to set both analogs correctly.

ABS_X: true
ABS_Y: true
ABS_Z: true
ABS_RX: true
ABS_RY: true
ABS_RZ: true

Could you please add that to the wiki?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants