-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
[Bug] Sending unicode via XP macro uses a delayed Shift state #9533
Comments
Bug also confirmed on Win 10 and Ubuntu 20.04 with handwired/dactyl_manuform |
Looks like this was broken in #8770. Before that change |
I was able to find and swap out the |
Co-authored-by: Ryan <[email protected]>
With the merging of #11220, this should now be fixed. |
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
Describe the Bug
The XP keycode macro allows for using shift/capslock state to choose between two unicodes, just like a regular alphabet key outputs a lower or upper case character, depending on the current shift/capslock state.
Unfortunately, this is no longer working as intended: The shift state when triggering a XP macro gets delayed once every input. Let me explain with this very simple keyboard layout/config (keymap.c):
When triggering the XP macro, the state of the last shift state of the previous XP trigger is used for the current one.
Here is the a sequential key press table of what is happening:
Also, the shift for the XP macro is saved even when shift has been let go or even when another key has been pressed inbetween:
System Information
Additional Context
Issue occurs on both linux and windows, so its OS agnostic. Also, XP worked for me last time I compiled it, which was a little over a year ago tho, so something must have changed
The text was updated successfully, but these errors were encountered: