[PR #3369] [MERGED] Qt: add customizable controller hotkeys #3419

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3369
Author: @rainmakerv3
Created: 8/2/2025
Status: Merged
Merged: 8/3/2025
Merged by: @georgemoralis

Base: mainHead: custom-hk


📝 Commits (2)

  • 17fb4fd customizable controller hotkeys - initial
  • 8fa94c6 Update input_handler.h

📊 Changes

15 files changed (+1067 additions, -15 deletions)

View changed files

📝 CMakeLists.txt (+3 -0)
📝 REUSE.toml (+1 -0)
📝 src/core/devtools/layer.cpp (+54 -11)
📝 src/core/devtools/layer.h (+9 -1)
src/images/hotkey.png (+0 -0)
📝 src/input/input_handler.cpp (+158 -0)
📝 src/input/input_handler.h (+8 -0)
src/qt_gui/hotkeys.cpp (+392 -0)
src/qt_gui/hotkeys.h (+62 -0)
src/qt_gui/hotkeys.ui (+313 -0)
📝 src/qt_gui/main_window.cpp (+6 -0)
📝 src/qt_gui/main_window_ui.h (+7 -0)
📝 src/sdl_window.cpp (+48 -2)
📝 src/sdl_window.h (+5 -1)
📝 src/shadps4.qrc (+1 -0)

📄 Description

Adds a Qt menu item to allow setting remappable hotkeys (only controller is remappable for now).

The following functions can be set: show FPS, toggle pause, toggle fullscreen, stop game (has a confirmation dialog)

I do plan on adding keyboard remappable hotkeys later on if this works out, but maybe not very soon.

image

🔄 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/3369 **Author:** [@rainmakerv3](https://github.com/rainmakerv3) **Created:** 8/2/2025 **Status:** ✅ Merged **Merged:** 8/3/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `custom-hk` --- ### 📝 Commits (2) - [`17fb4fd`](https://github.com/shadps4-emu/shadPS4/commit/17fb4fd7554656a24141983910881c95a483d1d3) customizable controller hotkeys - initial - [`8fa94c6`](https://github.com/shadps4-emu/shadPS4/commit/8fa94c6980b89cafd0aee90372e18cb993ab5260) Update input_handler.h ### 📊 Changes **15 files changed** (+1067 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+3 -0) 📝 `REUSE.toml` (+1 -0) 📝 `src/core/devtools/layer.cpp` (+54 -11) 📝 `src/core/devtools/layer.h` (+9 -1) ➕ `src/images/hotkey.png` (+0 -0) 📝 `src/input/input_handler.cpp` (+158 -0) 📝 `src/input/input_handler.h` (+8 -0) ➕ `src/qt_gui/hotkeys.cpp` (+392 -0) ➕ `src/qt_gui/hotkeys.h` (+62 -0) ➕ `src/qt_gui/hotkeys.ui` (+313 -0) 📝 `src/qt_gui/main_window.cpp` (+6 -0) 📝 `src/qt_gui/main_window_ui.h` (+7 -0) 📝 `src/sdl_window.cpp` (+48 -2) 📝 `src/sdl_window.h` (+5 -1) 📝 `src/shadps4.qrc` (+1 -0) </details> ### 📄 Description Adds a Qt menu item to allow setting remappable hotkeys (only controller is remappable for now). The following functions can be set: show FPS, toggle pause, toggle fullscreen, stop game (has a confirmation dialog) I do plan on adding keyboard remappable hotkeys later on if this works out, but maybe not very soon. <img width="849" height="525" alt="image" src="https://github.com/user-attachments/assets/2869c88e-e48f-4840-b236-8c976f07360a" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:37 +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#3419
No description provided.