WIP: feat(menu): Steam's on-screen keyboard for text fields on a Steam Deck and in Big Picture #3134
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3134
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:feat/steam-keyboard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Work in progress: nothing of this has run on a Steam Deck or in Big Picture.
On a Steam Deck and in Steam's Big Picture, typing into a text field of the menu (the settings search, for one) now brings
up Steam's own on-screen keyboard, and puts it away when the field gives the keyboard up. The menu's ABC keys stay
as they are.
host_take_text,host/rx_backend.c).There the game asks the builder, with a new one-way op
keyboard {"on": bool}.steam://open/keyboardorsteam://close/keyboard(build_driver::game_ops). The game picks whichof the two and never names a link. It works only where
SteamDeck,SteamGamepadUIorSteamTenfootis1.connected they would be dropped, and this keyboard is the controller's way to type.
Read first:
builder/crates/build-driver/src/game_ops.rs(keyboard),game_builder_keyboardingame/crates/longshot-game/src/builder_link.rs, and the change inhost/rx_backend.c.Testing
Tested: nothing in the game, at the author's request. Linux, game-free:
build-driver's keyboard, channel andgame_opstests (31 passed),longshot-game'sbuilder_linktests (44 passed),cargo check --all-targetsfor both,game/game.hregenerated, andtest_menu_text_field,test_text_keyboard_policyandtest_builder_channel.host/rx_backend.chas not been built as part of the game.Still to test:
in the field, and the keyboard gone after Esc or B (by hand).
Measurements
Nothing to measure: one request when a text field takes or gives up the keyboard, sent from a thread of its own.
Risks
keyboardis never asked.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named). (not run)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
tests/that reads changed source is updated, not weakened.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
Possibly related, for context:
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.