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
Configuring HS to always use a specific keyboard layout #2378
Comments
Try: hs.keycodes.log:setLogLevel("error") See hs.logger for more information. |
Hi @latenitefilms, thanks for the reply!
Putting a number instead of a string doesn’t help either. Anyway, regardless of being able to silence those messages, I was hoping to just tell HS to use a specific layout and avoid the overhead involved with looking for the missing keys (but, perhaps, it isn’t possible and there’s no overhead in the first place?). Thanks! |
Opps, my bad - try: hs.keycodes.log.setLogLevel("error") The reason why is explained here:
Regarding:
To be honest, I'm not sure off the top of my head. |
Hello!
I’m using two keyboard layouts on my Mac. The main one is English, and all of my Hammerspoon keybindings are specified using English letters. When I switch to the non-English layout and invoke one of the keybindings — it works, but the console shows this:
2020-05-30 13:03:50: 13:03:50 ** Warning:hs.keycode: key 'l' not found in active keymap; using ANSI-standard US keyboard layout as fallback, returning '37’
To me, keybindings being oblivious to the current layout is definitely the desired behavior. However, I was wondering if there's a way to configure HS to always the ANSI-standard US keyboard layout, or, at least, silence those warnings?
Thanks!
The text was updated successfully, but these errors were encountered: