mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #1356] [MERGED] Added keyboard and mouse input remapping, mouse movement to joystick logic, GUI and more #2066
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2066
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/1356
Author: @kalaposfos13
Created: 10/12/2024
Status: ✅ Merged
Merged: 1/31/2025
Merged by: @georgemoralis
Base:
main← Head:main📝 Commits (10+)
81e0f14added support for loading keyboard config from file94c0764final minor update before pull request37dcdcefix messing up the mergef6d54bffix waitEvent to correctly handle mouse inputs3dda62fadd license9820022Applied coding style fixes22e4ab8clang-format fucked up the .ini file31caf01Merge branch 'shadps4-emu:main' into main45f05c0actually fix clang changing ini syntaxb15810dremove big commented out code blocks,📊 Changes
17 files changed (+1994 additions, -284 deletions)
View changed files
📝
CMakeLists.txt(+8 -0)📝
README.md(+29 -27)📝
src/common/config.cpp(+106 -15)📝
src/common/config.h(+3 -2)📝
src/core/libraries/pad/pad.cpp(+4 -4)📝
src/imgui/renderer/imgui_core.cpp(+1 -1)➕
src/input/input_handler.cpp(+676 -0)➕
src/input/input_handler.h(+407 -0)➕
src/input/input_mouse.cpp(+74 -0)➕
src/input/input_mouse.h(+18 -0)➕
src/qt_gui/kbm_config_dialog.cpp(+237 -0)➕
src/qt_gui/kbm_config_dialog.h(+38 -0)➕
src/qt_gui/kbm_help_dialog.cpp(+112 -0)➕
src/qt_gui/kbm_help_dialog.h(+169 -0)📝
src/qt_gui/main_window.cpp(+10 -0)📝
src/sdl_window.cpp(+99 -233)📝
src/sdl_window.h(+3 -2)📄 Description
An updated overview of the PR as of 2 months later, since so much has changed that not a lot remains from the original version:
The current state of input handling
I decided that since more and more games are finally becoming more and more playable, an update to this system is really needed, as a core part of PC gaming is the ability to rebind controls however you want, and a lot of people prefer using KBM over controller.
An overview of the changes
A technical overview of the control flow of the new input handling system
This explanation leaves things like halfmode_joystick and key_toggle handling out, but it is already quite complicated without those.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.