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

Did you find this page helpful?