SDL joystick events are intercepted by WebView on Android |
Noxalus
|
Hello everyone.
I have an Android application using SDL in which I need to use a joystick, and this application has a WebView on top of the SDL rendering. In this application, SDL joystick events are not triggered anymore from the moment when the WebView is added. I figured out that the joystick inputs are intercepted by the WebView itself, and I've been able to retrieve joystick information using the Gamepad API. But this doesn't explain why SDL doesn't receive the joystick events anyway. I did some research on the web and found the hint SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS that could be related to my problem, but it doesn't seem to have any impact, no joystick events are triggered. Do you know what happen? |
|||||||||||
|