-
Notifications
You must be signed in to change notification settings - Fork 87
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
Fix Caps Lock LED not working properly. #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your excellent work! This fix works correctly in both language switching and caps lock modes, even when swapping Caps Lock with some other modifier key like Control.
Please fix the spelling in your code before I merge this pull request (_ignoreCapsLedChagnge
should be spelled _ignoreCapsLedChange
, without extra g
).
Looks like there is still one more left: |
@usr-sse2 @vit9696 |
Problem still exists on latest release. |
Use the debug kext and see if you can get some log when switching the caps lock. |
@Mateo1234454545 VoodooPS2Controller-2.1.1-RELEASE.zip btw what is your OS version? |
Will try tomorrow. |
Problem is more obvious on Big Sur. |
Hi,
#3 fixed the Caps Lock functionality, but the LED still works in a strange way.
The LED is always lighted when the caps lock is pressed and turns off when it is released, just like a blink.
In the log:
The true state change for LED was overridden in the period.
This fix is to ignore the LED changes after caps lock key going down and going up.
It should work for both a long press and a short press when changing caps state and input source.
Note that there seems to be a system bug for Catalina. The caps state LED doesn't work sometimes. You may need to toggle (enable and disable) the option in
Keyboard -> Input Sources -> Use the Caps Lock key to switch ...
.