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
FennecTECH
FennecTECHOP5d ago
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...
FennecTECH
FennecTECHOP5d ago
Here is a link
Kyle Gospo
Kyle Gospo5d ago
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
FennecTECH
FennecTECHOP5d ago
Is there a way we could export the keyboard geometry
Kyle Gospo
Kyle Gospo5d ago
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
FennecTECH
FennecTECHOP5d ago
Is there a way to know where the keyboard will be? To know its height?
Kyle Gospo
Kyle Gospo5d ago
No
FennecTECH
FennecTECHOP5d ago
Height mainly
Kyle Gospo
Kyle Gospo5d ago
And the solution I gave is distro agnostic
FennecTECH
FennecTECHOP5d ago
Yes. Distro agnostic solutions are win It does sound like something that a gamescope PR could do
antheas
antheas5d ago
You can't detect whether the keyboard is up or its place Do you have access to x11 atoms? If yes you can check
FennecTECH
FennecTECHOP5d ago
Im using default gamescope
antheas
antheas5d ago
Does the launcher have access to x11 atoms
FennecTECH
FennecTECHOP5d ago
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
antheas
antheas5d ago
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
FennecTECH
FennecTECHOP5d ago
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...
FennecTECH
FennecTECHOP5d ago
Aren’t we planning on moving towards Wayland?
antheas
antheas5d ago
There's a Wayland equivalent
FennecTECH
FennecTECHOP5d ago
Ill let them know

Did you find this page helpful?