feat(input): add browser-based input mapping configurator #2444
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2444"
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 AMRYB on 2026-10-09T20:56:46Z.
What
Editing keyboard and mouse overrides currently requires writing
anyps5-input.iniby hand. Add a dependency-free browser configurator undertools/input-mapperfor all 27 actions supported by the current parser.The editor provides multiple alternative bindings, physical-key capture, searchable input menus, INI import, validation, conflict warnings, preview, copy and download. Only explicitly configured actions are exported; omitted actions retain their built-in inputs. Invalid imports preserve the current configuration. The responsive interface includes separate Controls, Configuration and Help views, 22 interface/FAQ languages, English on first visit, saved language preferences and right-to-left layouts.
Related to #392. #674 provides a native input editor, including keyboard/mouse editing and controller profiles. This contribution supplies the browser/static-hosting option using the format already on
main. It does not implement the proposedNONE, numeric-scancode or physical-controller extensions in #674, so it does not close the controller-mapping request by itself. No parser or emulator runtime changes are included.Update the existing input documentation with local run/test commands and the static asset list. The existing Progress workflow can publish these assets under
out/input-mapper/; publication and its dashboard link are left for maintainer review.To try it from the repository root with Node.js 22 or later:
Open
http://127.0.0.1:4173. No package installation is needed.Tested
npm --prefix tools/input-mapper test— 20 tests pass. Covers parser/default contracts against the current native sources, supported actions and input types, serialization, deduplication, incomplete/invalid bindings, retained-default conflicts, malformed imports, round trips, keyboard conversion and language preferences.node --checkfor every JavaScript module andgit diff --checkpass.Cross = KEY:FandCross = KEY:Spacein the preview. Clipboard permission denial correctly exposes the selected-preview fallback. The download action was triggered; the in-app browser did not expose a completed download event, so saved-file creation was not independently verified there.Checklist
main; no other open PR implements this browser configurator. The native-editor overlap with #674 is described above.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T21:08:05Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Pull request closed