feat(libScePad): bind L2 to R and the first mouse side button #7497
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7497"
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:43Z.
What
docs/user/INPUT_MAPPING.mdsays "L2has no built-in keyboard or mouse binding".R2sits on the right mouse button, so with the built-in bindings a title that needs L2 (aim, brake, a shoulder menu) cannot be played with keyboard and mouse until the player writes ananyps5-input.ini.This adds two built-in
L2bindings: the keyRand the mouse side button 4 (X1). Both were unbound before, so no existing binding changes. The keyRis besideE(R1) and clear of the stick keys WASD and FHTG. AnL2 = ...line inanyps5-input.inireplaces both, like any action. Pressing either sets the digital L2 bit and an analog value of 255, asR2does.The default-bindings table in
docs/user/INPUT_MAPPING.mdgets theL2row and the sentence about L2 is removed.Tested
367d46e48plus the CI scaffolding commit; run 39113810428, ctest-R '^(pad_|guest_pad|video_out_mouse|mouse_input|keyboard_input)'): 9 of 9 passed, among thempad_keyboard_mouse. Not run on Windows.pad_keyboard_mouse:Rand mouse button 4 each press L2 with analog 255, leave R2 alone, and release it again.python3 tools/check_conventions.py --base origin/mainpasses.tools/pr_overlap.pylists no overlap with a comparable pull request; #674 and #4891 could not be compared (they touchdocs/user/INPUT_MAPPING.md, #4891 alsoInputMapping.hpp) and neither adds anL2binding. 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:37Z.
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:33Z.
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'sdefault L2line, so the new checks ran on Windows.AI-assisted