Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Does not appear to respect system keyboard layout #69

Closed
danpalmer opened this issue Mar 15, 2019 · 2 comments
Closed

Does not appear to respect system keyboard layout #69

danpalmer opened this issue Mar 15, 2019 · 2 comments

Comments

@danpalmer
Copy link

Given a configuration of:

cmd - j : chunkc tiling::window --focus prev

When using the Dvorak Cmd-Qwerty layout on macOS, pressing "Cmd+C" focuses to the previous window.

This should be interpreted as "Cmd+C", not "Cmd+J".

@dominiklohmann
Copy link

See #1.

@koekeishiya
Copy link
Owner

I'm not familiar with dvorak Cmd-Qwerty layout, but standard dvorak has j located where c would be in a standard qwerty setup. We lookup the currently selected keyboard-layout and translate keycodes to the string representation it has for that layout to define our mapping. See https://github.com/koekeishiya/skhd/blob/master/src/locale.c#L62

I also confirmed during development of #59 that changing my input-source would cause the bindings to change. Is the issue that you are using a dvorak layout, but toggled into qwerty-mode or something? And because of that, skhd treats it as dvorak when it should've been handled as qwerty?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants