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

High Sierra feature – Caps Lock to switch languages #142

Closed
usr-sse2 opened this issue Dec 22, 2017 · 4 comments
Closed

High Sierra feature – Caps Lock to switch languages #142

usr-sse2 opened this issue Dec 22, 2017 · 4 comments

Comments

@usr-sse2
Copy link

macOS High Sierra adds a new feature – switching keyboards with Caps Lock. (It's only for system-provided layouts, no Russian BG46).
2017-12-22 17 41 07
But with VoodooPS2 it's very buggy – most times double-press switches language and single-press activates Caps Lock if no keys pressed within 1 second after, but it's not always so. It should be related to the Sierra Caps Lock workaround and maybe to kCapsLockDoesLock.

@RehabMan
Copy link
Owner

The bugs are caused by the capslock bug workaround.
As long as we need the workaround (hardcoded in VoodooPS2Keyboard), caps lock cannot be remapped.

@RehabMan
Copy link
Owner

Capslock can be remapped with ACPI.
Refer to example: SSDT-Swap-LeftControlCapsLock.dsl

@frol
Copy link

frol commented Sep 10, 2019

According to Karabiner EventViewer, pressing CapsLock produces events in a wrong order: key_up -> key_down instead of key_down -> key_up.

Does the remapping CapsLock <-> LeftControl intend to help with the issue and fix the CapsLock button or is it just breaking another button instead of CapsLock?

P.S. I also use CapsLock as a layout switcher and I would like to fix this...

UPD1: Removing the workaround resulted in that a single CapsLock press (down + up) produces only a single event key_down or key_up (it is toggling).

@frol
Copy link

frol commented Sep 10, 2019

FYI, I have patched the issue for myself: acidanthera/bugtracker#435 (comment)

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

No branches or pull requests

3 participants