Use psx-osk when a player needs to enter a name or other short text with a controller.
How the crate is organized
The single module exposes Keyboard, navigation Dir, emitted Action values and a caller-selected Palette. The keyboard tracks the selected key, case and symbol page. Your program owns the text buffer and handles insertion, backspace and commit actions.
Integration notes
Feed D-pad navigation through a repeat policy such as PadTracker, and activate a key on a button edge. Enforce your text capacity when handling Action::Insert; the keyboard does not own or resize the destination. Rendering assumes a 320-wide display and an 8×8 font cell, so account for the panel's height in your UI layout.
Read controller input first. The API reference includes the navigation/activation/drawing sequence; this crate has no dedicated standalone SDK example yet.
API, dependencies and source structure
SDK revision f2fec1c301f1. Structure, dependencies and features below come from this revision.
The PS1 reference includes all Cargo features. The manifest below shows which features are enabled by default.
Dependencies
Cargo features
This crate declares no Cargo features.
Read the complete manifest and feature comments.
Source layout
The list includes internal implementation and test files. Public modules, types, functions and their signatures are indexed in the API reference above.
2 source and manifest files
Cargo.tomlsrc/lib.rs: A PS4-style on-screen keyboard: QWERTY, a Shift toggle for case, a symbols