Allowing MCPE to understand steam deck keyboard
Ive been talking with the MCPElauncher Linux devs. Is there any way to get the height and location of the steam keyboard to allow Minecraft to move its text boxes? MCPE is inside a flatpak
19 Replies
GitHub
Detect steam on-screen keyboard and shrink window accordingly · I...
Is your feature request related to a problem? On steam deck alike systems. The steam on-screen keyboard obscures the chat box Describe the solution you'd like Detect steam keyboard and shrink t...
Here is a link
This issue isn't really bazzite specific since SteamOS is also immutable
I'm not aware of any applications that are properly aware of the steam keyboard and resize
Is there a way we could export the keyboard geometry
Could just look for the environment variable SteamDeck=1 and move the chat box to another location
Then there's no need for hacky detections that'll break when steam moves to Wayland
Is there a way to know where the keyboard will be? To know its height?
No
Height mainly
And the solution I gave is distro agnostic
Yes. Distro agnostic solutions are win
It does sound like something that a gamescope PR could do
You can't detect whether the keyboard is up or its place
Do you have access to x11 atoms?
If yes you can check
Im using default gamescope
Does the launcher have access to x11 atoms
Ill ask
Do you think gamescope would be accepting of a PR that exports the keyboard geometry and status to an environment variable? This seems like a good way to let anyone respond to the keyboard and it would be distro agnostic too
There's no geometry
Steam takes over the screen
But if you have access to the atoms you can know when it's doing that
X11 atoms
GitHub
Detect steam on-screen keyboard and shrink window accordingly · I...
Is your feature request related to a problem? On steam deck alike systems. The steam on-screen keyboard obscures the chat box Describe the solution you'd like Detect steam keyboard and shrink t...
Aren’t we planning on moving towards Wayland?
There's a Wayland equivalent
Ill let them know