-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Touchscreen input with SDL2 bootstrap #516
Comments
Yes, it should work. It looks like your apk kivy is trying to load the android joystick provider, which was how touch was done with the old pygame bootstrap (and depended on the now-incompatible android module), but I'm not sure why Do you find that touch doesn't ever work at all? I haven't tested it much, but it did work for me without issues (Kivy listens to the touch events internally via sdl2 when available). Either way, I guess the place to look is probably kivy's module loading, to see why it things AndroidJoystick should be loaded. |
Someone is trying to solve the problem, or has already been solved in some dev version? Because i have done some test and I found something interesting as the cause of the problem. |
I haven't been able to reproduce the issue, and haven't seen anyone else come across it either. |
Thanks Inclement. Then I share what I discovered. |
Hi, |
Just to mention that I also have the problem "AndroidJoystick is not supported by your version of linux". Is there any progess on a solution? 05-29 17:06:34.742 24142 24317 I python : [INFO ] [Text ] Provider: sdl2 |
i just want to point out that scene that pygame depends sdl which conflit with sdl2,so if you want to use sdl2 as bootstrap,then you can not use pygame, but the joystick is one of the pygame module. |
Getting the ImportError isn't necessarily a problem, does touch actually not work for you? |
actually the touch function works for me in this case. but i found another problem which is highly related to this issue. when i use bootstrap with sdl2 and i use pyjnius to making use of the java class, such as and when i compare the output of the logcat betwteen sdl2 and pygame , i found something strange as follows: the line "08-06 15:43:11.691 2602 2625 I python : [WARNING] [Base ] Unknown provider" which i thought may be the source of the problem. |
This issue is stale and I haven't seen anything about this recently, so closing. |
Is this meant to work? I can get my app to start and it renders as expected, but then I can't interact with it...
See app startup log below.
If there is something I can contribute to help wire this up let me know (and please point to where to start if possible!)
Thanks
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: