[PR #308] [MERGED] Add UI to configure keyboard-to-controller mapping #1469

Closed
opened 2026-02-27 21:12:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/308
Author: @VasylBaran
Created: 7/20/2024
Status: Merged
Merged: 9/11/2024
Merged by: @georgemoralis

Base: mainHead: add_keyboard_keymapping


📝 Commits (4)

  • df3b461 Add UI to configure keyboard-to-controller mapping
  • 183338d Add an optional "---fix" argument to format-checking script
  • 977eb9b Merge branch 'main' into add_keyboard_keymapping
  • 1ed89d9 clang fix

📊 Changes

18 files changed (+1436 additions, -173 deletions)

View changed files

📝 .ci/clang-format.sh (+14 -5)
📝 .github/workflows/linux-qt.yml (+7 -1)
📝 .reuse/dep5 (+1 -0)
📝 CMakeLists.txt (+4 -0)
📝 src/common/config.cpp (+44 -1)
📝 src/common/config.h (+5 -0)
📝 src/emulator.cpp (+1 -1)
📝 src/emulator.h (+1 -1)
src/images/PS4_controller_scheme.png (+0 -0)
src/input/keys_constants.h (+30 -0)
src/qt_gui/keyboardcontrolswindow.cpp (+524 -0)
src/qt_gui/keyboardcontrolswindow.h (+40 -0)
src/qt_gui/keyboardcontrolswindow.ui (+439 -0)
📝 src/qt_gui/main_window.cpp (+12 -0)
📝 src/qt_gui/main_window.h (+5 -0)
📝 src/sdl_window.cpp (+280 -163)
📝 src/sdl_window.h (+28 -1)
📝 src/shadps4.qrc (+1 -0)

📄 Description

Add UI to configure keyboard-to-controller mapping.
Related to issue https://github.com/shadps4-emu/shadPS4/issues/298

image

In the future it would be nice (i.e. I plan to) add support for Modifiers (Shift+Key, Control+Key etc...) as well as more controls (DS4's touchpad etc...)


🔄 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/308 **Author:** [@VasylBaran](https://github.com/VasylBaran) **Created:** 7/20/2024 **Status:** ✅ Merged **Merged:** 9/11/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `add_keyboard_keymapping` --- ### 📝 Commits (4) - [`df3b461`](https://github.com/shadps4-emu/shadPS4/commit/df3b461f6b0050c4edd3851f4cf4de408ab45236) Add UI to configure keyboard-to-controller mapping - [`183338d`](https://github.com/shadps4-emu/shadPS4/commit/183338d639a26f5c09e7d8c88a7cd095d32081fa) Add an optional "---fix" argument to format-checking script - [`977eb9b`](https://github.com/shadps4-emu/shadPS4/commit/977eb9bb3eed4ba76bc899454c8c26569c01c92e) Merge branch 'main' into add_keyboard_keymapping - [`1ed89d9`](https://github.com/shadps4-emu/shadPS4/commit/1ed89d9a66bbc090691a0d6b5d3720b2d655b6b7) clang fix ### 📊 Changes **18 files changed** (+1436 additions, -173 deletions) <details> <summary>View changed files</summary> 📝 `.ci/clang-format.sh` (+14 -5) 📝 `.github/workflows/linux-qt.yml` (+7 -1) 📝 `.reuse/dep5` (+1 -0) 📝 `CMakeLists.txt` (+4 -0) 📝 `src/common/config.cpp` (+44 -1) 📝 `src/common/config.h` (+5 -0) 📝 `src/emulator.cpp` (+1 -1) 📝 `src/emulator.h` (+1 -1) ➕ `src/images/PS4_controller_scheme.png` (+0 -0) ➕ `src/input/keys_constants.h` (+30 -0) ➕ `src/qt_gui/keyboardcontrolswindow.cpp` (+524 -0) ➕ `src/qt_gui/keyboardcontrolswindow.h` (+40 -0) ➕ `src/qt_gui/keyboardcontrolswindow.ui` (+439 -0) 📝 `src/qt_gui/main_window.cpp` (+12 -0) 📝 `src/qt_gui/main_window.h` (+5 -0) 📝 `src/sdl_window.cpp` (+280 -163) 📝 `src/sdl_window.h` (+28 -1) 📝 `src/shadps4.qrc` (+1 -0) </details> ### 📄 Description Add UI to configure keyboard-to-controller mapping. Related to issue https://github.com/shadps4-emu/shadPS4/issues/298 ![image](https://github.com/user-attachments/assets/8be21d3a-d984-429d-ae47-30822257787c) In the future it would be nice (i.e. I plan to) add support for Modifiers (Shift+Key, Control+Key etc...) as well as more controls (DS4's touchpad etc...) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:12:41 +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#1469
No description provided.