Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turbo on hold component #107

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

PringlesGang
Copy link
Contributor

Adds a TurboOnHoldHandler that handles rapidfire events upon a (sequence of) buttons being held.

@PringlesGang PringlesGang force-pushed the turbo-on-hold-component branch 3 times, most recently from d7f259d to bf964aa Compare February 1, 2025 23:07
@PringlesGang PringlesGang marked this pull request as ready for review February 1, 2025 23:15
const bool pageMovement = (bool)(pageUpDownShouldFire & PAD1RIGHT) ^
(bool)(pageUpDownShouldFire & PAD1LEFT);

if (pageMovement) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be good to make vertical and horizontal changes exclusive, otherwise things might get messy if both get held down

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good now

@PringlesGang PringlesGang force-pushed the turbo-on-hold-component branch from e58797d to a992bd6 Compare February 8, 2025 14:12
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.

2 participants