[PR #2778] [MERGED] multikey for kbm_gui #2974

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2778
Author: @tlarok
Created: 4/13/2025
Status: Merged
Merged: 4/23/2025
Merged by: @georgemoralis

Base: mainHead: multikey


📝 Commits (10+)

📊 Changes

2 files changed (+169 additions, -121 deletions)

View changed files

📝 src/qt_gui/kbm_gui.cpp (+152 -121)
📝 src/qt_gui/kbm_gui.h (+17 -0)

📄 Description

decided to make code which adds basic multi-key support for kbm_gui.

Changes
EventFilter blocks extra key bindings if isAutoRepeat is true or if 3 keys are already registered.
Replaced all SetMapping() calls in EventFilter() with pressedKeys.insert() to track active keys.
Changed regular checks in CheckMapping() to handle multy key mapping.
Ctrl, Alt, and Shift now detect both left and right key variants.


🔄 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/2778 **Author:** [@tlarok](https://github.com/tlarok) **Created:** 4/13/2025 **Status:** ✅ Merged **Merged:** 4/23/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `multikey` --- ### 📝 Commits (10+) - [`d3d150a`](https://github.com/shadps4-emu/shadPS4/commit/d3d150ad0146373366b0d3a795cfdea712453a0b) Update kbm_gui.cpp - [`1a99e83`](https://github.com/shadps4-emu/shadPS4/commit/1a99e8383ed448d229df2b8aafa2646034d49e2d) Update kbm_gui.cpp - [`a63c4e0`](https://github.com/shadps4-emu/shadPS4/commit/a63c4e0a8173f92e27574941542181337b4f733b) Merge branch 'shadps4-emu:main' into main - [`9323822`](https://github.com/shadps4-emu/shadPS4/commit/932382215290ce2f1db5b7efa2a7c6790c40b2f2) Update kbm_gui.h - [`9a038e8`](https://github.com/shadps4-emu/shadPS4/commit/9a038e81ed6a5cabb568233159a6d16285bc6f33) Update kbm_gui.cpp - [`83a996e`](https://github.com/shadps4-emu/shadPS4/commit/83a996e70aa9ed6a8258b61a3001b16ef6b82abe) Merge branch 'shadps4-emu:main' into main - [`5be2c56`](https://github.com/shadps4-emu/shadPS4/commit/5be2c563a5ae4c8825d18a632e43551e06feac4e) lunix test - [`be91127`](https://github.com/shadps4-emu/shadPS4/commit/be91127e2c7de8fada1d89c6bc509556d8f472db) linux test - [`2de561e`](https://github.com/shadps4-emu/shadPS4/commit/2de561e835dea40198fd35a15a631c916d65fdc9) Update kbm_gui.h - [`000e7cb`](https://github.com/shadps4-emu/shadPS4/commit/000e7cb028128829927c52908e9152bf07a6f649) Update kbm_gui.cpp ### 📊 Changes **2 files changed** (+169 additions, -121 deletions) <details> <summary>View changed files</summary> 📝 `src/qt_gui/kbm_gui.cpp` (+152 -121) 📝 `src/qt_gui/kbm_gui.h` (+17 -0) </details> ### 📄 Description decided to make code which adds basic multi-key support for kbm_gui. Changes EventFilter blocks extra key bindings if isAutoRepeat is true or if 3 keys are already registered. Replaced all SetMapping() calls in EventFilter() with pressedKeys.insert() to track active keys. Changed regular checks in CheckMapping() to handle multy key mapping. Ctrl, Alt, and Shift now detect both left and right key variants. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:01:58 +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#2974
No description provided.