mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #4003] [MERGED] Automatically add missing hotkeys to the global input config #3861
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#3861
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/4003
Author: @kalaposfos13
Created: 2/7/2026
Status: ✅ Merged
Merged: 2/7/2026
Merged by: @georgemoralis
Base:
main← Head:hotkey-config-autoupdate📝 Commits (1)
dca8aacAutomatically add missing hotkeys to the global input config📊 Changes
4 files changed (+52 additions, -22 deletions)
View changed files
📝
src/common/config.cpp(+38 -15)📝
src/common/config.h(+2 -2)📝
src/input/input_handler.cpp(+9 -4)📝
src/input/input_handler.h(+3 -1)📄 Description
If a newly added hotkey gets introduced with a new build, and you already have an input_config/global.ini file in your user folder, then you wouldn't be able to use that new hotkey until you manually go and update that file locally, or delete it so it gets recreated. This PR aims to provide a fix for this, by automatically appending any hotkey not yet present in the file with a predefined default binding.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.