[PR #4000] [CLOSED] Rewrote hotkeys in json format #3857

Closed
opened 2026-02-27 22:05:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/4000
Author: @georgemoralis
Created: 2/7/2026
Status: Closed

Base: mainHead: hotkeys


📝 Commits (1)

📊 Changes

7 files changed (+484 additions, -37 deletions)

View changed files

📝 CMakeLists.txt (+2 -0)
📝 src/common/config.cpp (+0 -30)
📝 src/common/config.h (+0 -1)
src/input/hotkeys_settings.cpp (+207 -0)
src/input/hotkeys_settings.h (+145 -0)
📝 src/input/input_handler.cpp (+127 -6)
📝 src/main.cpp (+3 -0)

📄 Description

As title says hotkeys are now in json format , with support for versioning , so we can add new ones without the need to erase the old settings , also more clear solution than the existing

{
    "hotkeys": {
        "fullscreen": "f11",
        "pause": "f9",
        "quit": "lctrl, lshift, end",
        "reload_inputs": "f8",
        "renderdoc_capture": "f12",
        "show_fps": "f10",
        "toggle_mouse_to_gyro": "f6",
        "toggle_mouse_to_joystick": "f7",
        "toggle_mouse_to_touchpad": "delete",
        "volume_down": "kpminus",
        "volume_up": "kpplus"
    },
    "version": 1
}

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/4000 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 2/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `hotkeys` --- ### 📝 Commits (1) - [`e012f56`](https://github.com/shadps4-emu/shadPS4/commit/e012f569154dc2d6f7a2ac6fb35b2c62391b8dc2) added hotkeys.json ### 📊 Changes **7 files changed** (+484 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+2 -0) 📝 `src/common/config.cpp` (+0 -30) 📝 `src/common/config.h` (+0 -1) ➕ `src/input/hotkeys_settings.cpp` (+207 -0) ➕ `src/input/hotkeys_settings.h` (+145 -0) 📝 `src/input/input_handler.cpp` (+127 -6) 📝 `src/main.cpp` (+3 -0) </details> ### 📄 Description As title says hotkeys are now in json format , with support for versioning , so we can add new ones without the need to erase the old settings , also more clear solution than the existing ``` { "hotkeys": { "fullscreen": "f11", "pause": "f9", "quit": "lctrl, lshift, end", "reload_inputs": "f8", "renderdoc_capture": "f12", "show_fps": "f10", "toggle_mouse_to_gyro": "f6", "toggle_mouse_to_joystick": "f7", "toggle_mouse_to_touchpad": "delete", "volume_down": "kpminus", "volume_up": "kpplus" }, "version": 1 } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:05:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3857
No description provided.