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
USB joystick in kivy fails on process_as_mouse_or_keyboard #5891
Comments
I'm not quite sure why a joystick is detected as mouse/keyboard. Perhaps try to disable hidinput and see if SDL detects the device? The joystick is handled in SDL window anyway. |
What's the best method to disable hidinput? I see the provider code here: and in the config there is this section:
should I perhaps just change the provider there? I tried removing the line entirely but now I get no output at all (joystick does not seem to respond). Is there a way for me to specify which device? like |
you might be interested in this documentation: |
@tshirtman that is indeed interesting, yet I can't help feeling that I'm hacking on a problem that is probably already solved, in pygame this is indeed pretty easy to test: and while running the default code I do get lot's of spam from the joystick axis: but commenting out that code and trying to listen to the buttons I get nothing. |
Versions
Description
I was attempting to use a DragonRise USB controller to add many buttons and a joystick to an embedded raspberrypi project.
Code and Logs
output:
I have tried this on kivey 1.9, 1.10, and 1.11 on ubuntu, raspbian and arch linux, and on both x86_64 and armhf architectures with the dragonrise controller as well as some generic game controllers as well (all work under jstest)
stackoverflow where I asked about this bug first
The text was updated successfully, but these errors were encountered: