fix(libSceVideoOut): do not forward host menu key releases to the pad #17717
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17717"
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-09T12:18:11Z.
What
Follow-up to #17712 (the host menu on F4). While the menu is open, Up, Down, Enter and Escape are taken by the menu on press. Their releases still reached the pad, which saw a release for a button it never saw pressed. This PR records which of those four keys the menu consumed on press, and swallows the matching release.
The key is recorded only when the menu takes the press, so a release of a key the menu did not take still reaches the pad as before.
This PR is stacked on #17712: its first commits are that PR's. Merge #17712 first.
Commits: the state (a flag per key the menu takes), the recording on press, and the swallowed release.
Tested
Linux, built with
video_out_mouse_tests,pad_keyboard_mouse_testsandvideo_out_host_menu_tests; ctest passes 3/3.PadInput, which needs a window. The build compiles that code.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