Skip to content

Implemented button suppression when a combo is activated.#12

Open
dkosmari wants to merge 6 commits into
wiiu-env:mainfrom
dkosmari:button-suppression
Open

Implemented button suppression when a combo is activated.#12
dkosmari wants to merge 6 commits into
wiiu-env:mainfrom
dkosmari:button-suppression

Conversation

@dkosmari
Copy link
Copy Markdown

To avoid performing game actions while activating a combo, this PR adds button suppression.

Whenever a combo is activated, the buttons flagged as triggered in that *PADRead() call will be disabled. So the game never sees the last set of buttons that activated a combo. When each disabled button is released, it's enabled again.

As an example, the screenshot plugin uses TV + LEFT by default. If the game reacts to the LEFT button, taking screenshots can interfere with normal gameplay. With this PR, if the user holds the TV button, and then presses LEFT, the game will not see the LEFT button being pressed.

@dkosmari dkosmari force-pushed the button-suppression branch from 36fa78a to e3b5e87 Compare May 9, 2026 22:07
Daniel K. O. (dkosmari) added 2 commits May 9, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant