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

MenubarFlag: Add detection based on currentMethod() when available #34

Conversation

zzamboni
Copy link
Contributor

@zzamboni zzamboni commented Jun 5, 2017

Some keyboard layouts are not detected by hs.keycodes.currentLayout()
but by hs.keycodes.currentMethod(). Use whichever of the two has
a value to get the current layout. This fixes detection for Chinese
and other layouts. Reported and fixed originally by @liukun
at zzamboni/dot-hammerspoon#7

Some keyboard layouts are not detected by hs.keycodes.currentLayout()
but by hs.keycodes.currentMethod(). Use whichever of the two has
a value to get the current layout. This fixes detection for Chinese
and other layouts. Reported and fixed originally by @liukun
at zzamboni/dot-hammerspoon#7
@zzamboni zzamboni changed the title Add detection based on currentMethod() when available MenubarFlag: Add detection based on currentMethod() when available Jun 6, 2017
@zzamboni
Copy link
Contributor Author

Closing in favor of #39

@zzamboni zzamboni closed this Jun 15, 2017
@zzamboni zzamboni deleted the MenubarFlag/detect-method-or-layout branch June 15, 2017 08:27
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.

None yet

1 participant