feat(libSceVideoOut): host menu on F4 with the existing host shortcut actions #17712
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17712"
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?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-09T11:53:05Z.
What
Adds a host menu on F4. F4 opens it; Up and Down move the cursor; Enter runs the chosen action; Escape closes it. The entries are the host actions that already exist on other keys: volume up and down, mute, screenshot, performance overlay and pad status, plus Close. While the menu is open, Up, Down, Enter and Escape are used by the menu and do not reach the title's pad.
The menu is shown in the log (
APS5_LOG_ERR), one line per entry with the cursor marked. It is not drawn on screen yet. A menu on screen needs drawing that has not been checked on a display, so it is left to a separate PR.Actions reuse the same request handling as the existing shortcuts, so each one does exactly what its own key does. The shortcut handling was moved into one method (
applyHostRequests) with no behaviour change.The action names can be remapped like the other host actions (
HostMenu).Commits: the model of the menu (its tests and its ctest registration, from the validated branch
feat/host-menu), the F4 control, binding, request and routing, the action name, the refactor, the menu in the pad input, the toggle, the arrow keys, Enter, Escape, the logging, the F4 test, and the docs row.Known gap: releasing Up, Down, Enter or Escape while the menu is open still reaches the pad. The pad sees a release it never saw pressed, which does nothing, but the key-up is not swallowed.
Tested
Linux, built with
video_out_host_menu_tests,video_out_mouse_testsandpad_keyboard_mouse_tests; ctest passes 3/3 (video_out_host_menu,video_out_mouse,pad_keyboard_mouse).PadInputand the log output, which need a window. No title was run.GPUs tested: n/a, no graphics code.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Pull request closed