-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
5.0 does not recognise Xbox One gamepad #183
Comments
Dependencies are all statically linked and since it loaded there's no issue with those. Does the gamepad show up in |
Should have mentioned that, yes it does show up as
Curiously,
Although I am unsure how relevant that is. As for
Also it seems I'm bad at reading documentation and just now saw that there is a setting dialogue (oops). But changing the I should also mention: the gamepad is connected via USB, since I don't have one of those Wireless dongles that the first gen controllers need (and I don't know if they work on Linux anyway). |
I can't open my gamepad with lsusb either so that shouldn't be the problem. I don't have any other gamepad to test, can you run the test program from this build https://github.com/univrsal/libgamepad/actions/runs/971981457 (should be in x86_64-linux-gnu/bin/libgamepad_tests) and see what the output is? |
Last 3 lines repeat in a second interval It also sees both analogue sticks and the buttons when pressing them (A B X Y):
|
huh, that's strange, I'll update the library for input overlay |
New build works :) |
nice |
Hm... maybe I was a bit fast, although it could be a separate issue. My sticks are showing as being pressed down right when not being touched at all, KDE settings shows them fine: Back and Select are swapped in the overlay, although funny enough it is correct in io-cct. Although changing that is easy in the settings, so not a big deal. But the D-Pad isn't recognised at all when pressed. Both libgamepad_test (and also KDE settings) shows the D-Pad as axis (horizontal is native ID 6, vertical is 7), not buttons. I'm just not sure how to configure the D-Pad as axis in io-cct, since I guess the D-Pad expects button inputs (as per the keycode), but I can't find an option to make it an axis instead. |
do they move at all? What does the test program output when you move them? |
I seem to have the issue as well so I guess that's not related to the gamepad but rather the analog stick element miscalculating the offset |
Hey @univrsal , any update on this? :-) |
No I haven't spent much time on input overlay in general recently |
Oh, I understand. Perhaps you can point to place in code where you think issue might be? |
This is where the analog stick gets rendered And this is where the gamepad input is handled: There's a bunch of things that need some work, but I haven't really gotten around to spending time on any of them. |
Nice, thanks! |
See #297 for further tracking |
This is the first time I installed this plugin, so no old configuration is laying around anywhere. Also means it's not particularly urgent :)
I didn't try the older version because the required lib doesn't seem to be in the Fedora repos.
Does the new version require any libs to be installed? The .so seems to load fine in the logs and the Wiki doesn't say anything about it from what I've seen.
Describe the bug
When adding an overlay, my Xbox One Controller is not being shown in the list of available gamepads, reloading gamepads also does not help. The gamepad itself works in various games as well as Steam (Big Picture), Kodi, and AntiMicro, so I would assume it's not the pad :)
To Reproduce
Expected behavior
The gamepad to show up and show inputs ;)
Screenshots
Additional information:
Additional context
lsusb
output in case it's relevant:What type of id does that field expect and can I fill it out manually? I tried the
/dev
path (shown in KDE's settings), and the Vendor/Product ID fromlsubs
, but no luck.The text was updated successfully, but these errors were encountered: