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

PS + O combo buttons doesn't work on #260

Closed
schyhub opened this issue Sep 18, 2023 · 4 comments
Closed

PS + O combo buttons doesn't work on #260

schyhub opened this issue Sep 18, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@schyhub
Copy link

schyhub commented Sep 18, 2023

chimera-session
  desktop
  desktop-xorg
  gamepadui
  opengamepadui
* gamepadui-with-qam
sudo evtest
/dev/input/event13:     DualSense Wireless Controller
/dev/input/event14:     DualSense Wireless Controller Motion Sensors
/dev/input/event15:     DualSense Wireless Controller Touchpad

choose
13

evtest is filled with non-stop spamming of

Event: time 1695031565.938056, type 3 (EV_ABS), code 1 (ABS_Y), value 127
Event: time 1695031565.938056, -------------- SYN_REPORT ------------
Event: time 1695031565.938059, type 3 (EV_ABS), code 1 (ABS_Y), value 126
Event: time 1695031565.938059, -------------- SYN_REPORT ------------
Event: time 1695031565.948057, type 3 (EV_ABS), code 0 (ABS_X), value 126
Event: time 1695031565.948057, -------------- SYN_REPORT ------------
Event: time 1695031565.948060, type 3 (EV_ABS), code 0 (ABS_X), value 127
Event: time 1695031565.948060, -------------- SYN_REPORT ------------
Event: time 1695031565.948068, type 3 (EV_ABS), code 1 (ABS_Y), value 127
Event: time 1695031565.948068, -------------- SYN_REPORT ------------
Event: time 1695031565.954720, type 3 (EV_ABS), code 0 (ABS_X), value 126
Event: time 1695031565.954720, type 3 (EV_ABS), code 1 (ABS_Y), value 126
Event: time 1695031565.954720, -------------- SYN_REPORT ------------
Event: time 1695031565.954723, type 3 (EV_ABS), code 0 (ABS_X), value 127
Event: time 1695031565.954723, type 3 (EV_ABS), code 1 (ABS_Y), value 127
Event: time 1695031565.954723, -------------- SYN_REPORT ------------
Event: time 1695031565.954727, type 3 (EV_ABS), code 1 (ABS_Y), value 126
Event: time 1695031565.954727, -------------- SYN_REPORT ------------
Event: time 1695031565.961389, type 3 (EV_ABS), code 1 (ABS_Y), value 127
Event: time 1695031565.961389, -------------- SYN_REPORT ------------
Event: time 1695031565.961391, type 3 (EV_ABS), code 1 (ABS_Y), value 126
Event: time 1695031565.961391, -------------- SYN_REPORT ------------
Event: time 1695031565.968056, type 3 (EV_ABS), code 1 (ABS_Y), value 127

when I get to pressed the combo, this is what I receive

Event: time 1695031565.968056, -------------- SYN_REPORT ------------
Event: time 1695031565.968068, type 1 (EV_KEY), code 316 (BTN_MODE), value 0
Event: time 1695031565.968068, -------------- SYN_REPORT ------------
Event: time 1695031565.968072, type 3 (EV_ABS), code 1 (ABS_Y), value 126
Event: time 1695031565.968072, -------------- SYN_REPORT ------------
Event: time 1695031565.968074, type 1 (EV_KEY), code 305 (BTN_EAST), value 0

Wonder if the spamming is why there the combo buttons doesn't work

@pastaq
Copy link
Collaborator

pastaq commented Sep 18, 2023

that spam is just stick drift.

I see a clue as to what is going on. Only the "value 0" events are making it through so the logic is not working in our input manager somewhere. I should be getting one of these dualsense controllers soon to help troubleshoot this issue.

@pastaq
Copy link
Collaborator

pastaq commented Sep 23, 2023

I recently got a dualshock 4 and a dualsense controller to figure out what is happening here. Turns out the way we were detecting virtual controllers was slightly flawed as the driver for the PS controllers doesn't assign a phys address to the evdev. Knowing this we can check for virtual devices another way and solve this issue soon.

@schyhub
Copy link
Author

schyhub commented Sep 23, 2023

Interesting. Then I hope it will be resolved soon.

Thank for the works!

@ShadowApex
Copy link
Collaborator

Fixed in #264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants