-
Notifications
You must be signed in to change notification settings - Fork 109
Latest build on ios 12 - not recognized any inputs from bluetooth controller or keyboard. #445
Comments
@mittorn sounds like sdl2 bug? Maybe it should be updated to latest version for ios? |
Does it need to be compiled with latest ios sdk to make bt inputs to work? |
Looking into log, it seems to recognize joystick. Do I need to type additional commands to get some input? I have also root access to app if that would help anything. [2019:04:19|19:14:02] 1 joysticks found: |
Try add -sdl_joy_old_api option |
Thanks a lot, controller works great now. Slightly off-topic: when using external monitor through video adapter, and choosing one of windowed video modes, it will run nicely 16:9 only on monitor. But issue is I can't get controller (or any touch input) to work in this mode. However when mirroring screen works fine as it should (4:3 ratio). |
Sorry, i do not know how it work |
Thanks for help anyway. |
External monitors? On iOS? Never heard of this. @TuTuc0 Probably this on SDL2 level. We don't have any checks on "lost focus" engine state in eventhandlers, i.e. always accepting incoming events from SDL2. |
You probably can try to report this to SDL2 developers, but I doubt that they will fix it unless we don't provide minimal example. "Desktop mode" selection just does call SDL_GetDesktopDisplayMode on first screen, so engine knows native resolution of first screen. Looks like your external monitor becomes first for some reason. And current window mode were done for resizing window, leaving no changes. |
It's the opposite. Setting Desktop makes external screen to "mirror" screen. |
Anyway, I only supposed how it works. |
I think the SDL grabs mouse and keyboard input for active window, which could be main device currently displaying grey window and leaving external screen window without input. |
Bluetooth controller or keyboard worked fine on ios 10 or 11, but on ios 12 app does not recognize any input. Even BT keyboard does not type anything when console is opened.
The text was updated successfully, but these errors were encountered: