pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[BUG]: Key combinations doesn't work

Open ghost opened this issue 2 years ago • 11 comments

Describe the Bug

Trying to use key combinations to trigger gamepad actions (not macros) result in the action being triggered by pressing any of the keys of the combination.

Reproduction Steps

  1. Settings
  2. Controllers
  3. Any controller port(Dualshock 2)
  4. Click any gamepad button on screen to bind a key to it
  5. Press desired key combination
  6. Try the key combination in-game

Expected Behavior

The action should only trigger when you press the whole combination instead of any of its keys.

For example, I set up the combination Shift+W to the Left Analog's UP button, however, the action gets triggered whether I press Shift or W.

image

PCSX2 Revision

v1.7.4110

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

ghost avatar Feb 19 '23 00:02 ghost

Still an issue on v1.7.4534.

JordanTheToaster avatar May 25 '23 22:05 JordanTheToaster

Still an issue as of v1.7.5095.

kamfretoz avatar Oct 10 '23 14:10 kamfretoz

I mentioned it on Discord the other day but forgot to reply here: still an issue with current nightly (1.7.5192 when typing this), I tried to bisect but it looks like it never worked, 1.7.2764 (which is the oldest Qt version available for download on the website) already acts like that. Also noticed that DuckStation has the same issue.

Idk if it matters but I've only tested on Windows 10.

bslenul avatar Nov 07 '23 23:11 bslenul

It's weird, cos I have Ctrl+O as a hotkey for making a multi frame GS dump, and that works, but if I try say Ctrl+M for circle, it doesn't :/

refractionpcsx2 avatar Nov 07 '23 23:11 refractionpcsx2

IIRC it's because the axis event handlers fire an update if any button in the chord is pushed, whereas button handlers will only fire when the overall state changes.

stenzek avatar Nov 08 '23 02:11 stenzek