feat(libScePad): toggle mouse capture with F7 beside the middle button #7496
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7496"
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 AlxcBTW on 2026-10-18T09:35:37Z.
What
ToggleMouse(mouse capture, mouse as the right stick) is bound to the middle mouse button only. A mouse without a usable middle button, or a laptop touchpad, cannot capture the mouse unless the player writes ananyps5-input.inifirst.This adds
F7as a second built-inToggleMousebinding. It needs no setting: aToggleMouse = ...line inanyps5-input.inireplaces both built-in bindings as before, and F7 goes with it. F7 is the key shadPS4 uses for the same toggle. F10 is avoided because Windows treats it as the menu key. Nothing else changes: the request path inPad::KeyboardMouse::HandleEventalready handles a key bound toToggleMouse.docs/user/INPUT_MAPPING.mdlists F7 in the default bindings and in the mouse-capture section.Tested
53af7be7eplus the CI scaffolding commit; run 39113757749, ctest-R '^(pad_|guest_pad|video_out_mouse|mouse_input|keyboard_input)'): 9 of 9 passed, among thempad_keyboard_mouseandpad_input_mapping. Not run on Windows.pad_keyboard_mouse(F7 down asks to toggle the mouse, F7 up asks for nothing) andpad_input_mapping(F7 and the middle button are both defaultToggleMousebindings; aToggleMouse = MOUSE:Rightline leaves neither of them).python3 tools/check_conventions.py --base origin/mainpasses.tools/pr_overlap.pylists #6353 (InputMapping.hpp, the default-bindings array, a different line) and could not compare #674 and #4891 (both touchdocs/user/INPUT_MAPPING.md, #4891 alsoInputMapping.hpp); none changesToggleMousebindings. Based oncdb7ed035.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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T10:31:35Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
docs/user/INPUT_MAPPING.mdcore/libs/prx/libScePad/include/InputMapping.hppdocs/user/INPUT_MAPPING.mdcore/libs/prx/libScePad/include/InputMapping.hppcore/libs/prx/libSceVideoOut/tests/KeyboardMouse.cppdocs/user/INPUT_MAPPING.mdImported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-18T16:44:32Z.
Windows run, since the description lists Windows as not run. Windows 11 26300, Ryzen AI 7 350, WinLibs GCC 15.2.0 r7, Release,
BUILD_TESTING=ON. Build:main6efb7261bwith #6648, #7559, #7496, #7497 and #7498 merged together (each merge clean, built once).pad_keyboard_mouseandpad_input_mappingpass 3 runs of 3. The output includes this PR'stoggle requestsline, so the new checks ran on Windows.AI-assisted