AntiMicroX / AntiMicroX/antimicrox

Changing sets with "While held" breaks while using more than two sets.

Open
#403 2 comments 1 reaction 0 assignees View on GitHub
bug low-priotity
Dominant language
C++
Stars
4k
Forks
249
Avg merge
13m
Merged PRs (30d)
1

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

My setup:

While holding "Guide" on Set 1,
it will switch to Set 2.

Then while holding "Select" on Set 2,
it will switch to Set 3.

Then on Set 3,
pressing the "B" button will execute a .bat file.

--------------

Problem:

If I do: "Select + Guide",
instead of: "Guide + Select",
I will end up stuck on Set 2.

Same thing happens if after pressing: "Guide + Select",
I release "Guide" before releasing "Select".

### Expected Behavior

When pressing the buttons in the wrong order: ex: "Select + Guide" instead of "Guide + Select", nothing should happen until I perform the correct sequence.

Or

If I release all the buttons, it should always go back to Set 1.

### Steps To Reproduce

1. While on Set 1, assign a button to change to Set 2 while held (let's say: A).
2. While on Set 2, assign a different button to change to Set 3 while held (let's say: B).
3. Instead of performing the correct "A + B", proceed with "B + A".
Or
After performing the correct "A + B", instead of releasing "B then A", proceed with releasing "A then B".
4. Congratulations, you are now most likely stuck on Set 2.

### Environment

```markdown
- OS: Windows 11
- AntiMicroX version: 3.2.2
```

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.