frametop

Full Keyboard in Frametop

This folder is Full Keyboard for Steam Frame by TaiKeid and contributors, under the MIT License (LICENSE, Copyright (c) 2026 TaiKeid and contributors). Its own third-party parts and their licences are in third_party/README.md. Frametop runs it as its keyboard: on the desktop’s screens, in the SteamVR dashboard, and in place of Steam’s own keyboard.

It was imported at 0.8.1, commit ef915ef75169ac886b7de86d18df2e59150cde2f, with git subtree --squash; the squash commit carries TaiKeid as its author. Everything here is theirs except the changes listed below.

Frametop’s changes

Names

Its programs keep upstream’s names, framekeyboard and framekeyboard-native-guard, instead of Frametop’s ft- names (ft-keyboard, ft-kbguard). This is a waiver from the root AGENTS.md. The names are upstream’s in CMakeLists.txt, in bridge/native_bridge.py, which finds the guard by name, in src/startup.cpp, in its packaging scripts, and in their tests, so renaming them would add Frametop changes to several upstream files that every pull would have to merge. Frametop’s own files use them too: frametop-keyboard.service (pkill -x framekeyboard), uninstall.sh, scripts/fast-install and pack/Containerfile, and installed units would have to move along with them. framekeyboard fits in 15 characters for pkill -x. Nothing finds the guard by process name, so its longer name is truncated harmlessly. Rename them only together with upstream, or with an install step that moves the installed unit.

Upstream parts Frametop doesn’t use

These stay in the tree, unchanged, so subtree pulls stay clean. In --frametop mode they’re never reached, or never shown:

Their tests still run in just test-keyboard, so a pull that breaks them shows up.

Settings follow upstream’s pattern: each one has a pending_* copy in src/app.cpp that Settings edits, applied in several places. touch_typing does the same, so a new Frametop setting needs about five edits there too.

How it works with Frametop

Frametop’s desktop runs in a nested KWin that gamescope never sees, so keys sent to gamescope can’t reach it. The input relay (input/input-relay.py) owns typing for the desktop already: it knows where typing goes (the panel clicked last, from ft-screens), and it types Frametop Voice’s text there. Full Keyboard talks to it over the relay’s abstract datagram socket, @frametop_relay:

Only same-user messages count on either side. Full Keyboard takes word only from the relay’s own name, and sends desktop typing only while that word is under 3 seconds old, so a stopped relay never leaves typing addressed to a name another process could take. The relay takes keys and text only from the address that said hello.

Known limits: on the desktop, keys go by their place on the keyboard, so pick the same layout in Full Keyboard as the desktop’s. Text the desktop’s layout has no key for (Chinese, Japanese, Korean, emoji) can’t be typed on the desktop yet; it reaches Steam’s fields as before.

Building and running

keyboard/build.sh                          # build/frametop/framekeyboard, in the dev container
FULL_KEYBOARD_TESTS=1 keyboard/build.sh    # with its tests (ctest)
keyboard/run.sh install | uninstall        # frametop-keyboard.service, starts with SteamVR
keyboard/run.sh status | restart | log [lines]
input/test/keys-test.py                    # the relay's side, offline

Updating from upstream

git subtree pull --prefix keyboard https://github.com/TaiKeid/steam-frame-full-keyboard <tag> --squash

Then build with its tests, run input/test/keys-test.py, and update the version and commit above.