pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[BUG]: Macro triggers using logical OR instead of logical AND for multi-button triggers

Open RedPanda4552 opened this issue 2 years ago • 1 comments

Describe the Bug

Setting a macro to trigger on multiple keys will cause any of the member keys individually to set off the macro. This affects any macros with 2+ trigger keys involved.

E.g. SDL-0/RightShoulder & SDL-0/B

Pressing SDL-0/RightShoulder, or pressing SDL-0/B will activate the macro.

Instead, both should be pressed to activate the macro.

Reproduction Steps

Set up a macro, hold one button then press and release another to make a multiple key trigger. Pressing either of the two buttons without the other will set off the macro when it shouldn't.

Expected Behavior

Pressing one of but not all members of a macro trigger should not set off the macro. Pressing all members should.

PCSX2 Revision

v1.7.5285

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

Logs & Dumps

No response

RedPanda4552 avatar Dec 12 '23 22:12 RedPanda4552

Duplicate of https://github.com/PCSX2/pcsx2/issues/8192 - I explained what's going on there (probably not in enough detail).

stenzek avatar Dec 13 '23 02:12 stenzek

Closing in favor of #8192

RedPanda4552 avatar Oct 04 '24 05:10 RedPanda4552