Tell SDL2/3 to hide onscreen keyboards, fix #739#741
Tell SDL2/3 to hide onscreen keyboards, fix #739#741DanielGibson merged 1 commit intodhewm:masterfrom
Conversation
Apparently on Steamdeck enabling SDL textinput always shows the onscreen keyboard without any input possible. At least that's my theory for dhewm#739 which reports an onscreen keyboard that doesn't go away and makes all input impossible. dhewm3 enables SDL textinput if a menu or the console is open, because sometimes menus allow text input. I hope this works around the reported problem and that opening the onscreen-keyboard with whatever combination of buttons Steamdeck uses for that still works. I don't have a Steamdeck so I can't test.
|
Can anyone who owns a steamdeck please test if these binaries work: dhewm3-1.5.5_RC2+onscreen-kb-fixes_Linux_amd64.tar.gz Ideally also check if you can write text when explicitly opening the onscreen keyboard (I guess the steamdeck has a button-combination for that?), for example by setting/modifying the player name in the main menu under multiplayer -> multiplayer settings I don't know if this makes a difference, but if so far everything works and you could also test if it works if you launch dhewm3 from Steam (as Non-Steam Game) that would be awesome. If you don't own Doom3, you can use the demo gamedata, see https://dhewm3.org/#using-the-doom3-demo-gamedata (And if you're extra-motivated, try if you can reproduce the reported problem, an onscreen keyboard blocking all input, with the binaries from 1.5.5 RC2, so we can see if my changes here really fix the issue or if it doesn't happen on your system either way) |
|
@NuclearMonster tested this on his steamdeck and it works - thank you! |
Apparently on Steamdeck enabling SDL textinput always shows the onscreen keyboard without any input possible. At least that's my theory for #739 which reports an onscreen keyboard that doesn't go away and makes all input impossible.
dhewm3 enables SDL textinput if a menu or the console is open, because sometimes menus allow text input.
I hope this works around the reported problem and that opening the onscreen-keyboard with whatever combination of buttons Steamdeck uses for that still works. I don't have a Steamdeck so I can't test.