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

Keys don't track input source #138

Open
iandunn opened this issue Apr 29, 2021 · 2 comments
Open

Keys don't track input source #138

iandunn opened this issue Apr 29, 2021 · 2 comments

Comments

@iandunn
Copy link

iandunn commented Apr 29, 2021

Hi, it looks like apps that use ShortcutRecorder can't automatically update shortcuts when the keyboard layout changes. All the other apps I use do.

Steps to reproduce:

  1. set a shortcut to ctrl-alt-t
  2. type ctrl-alt-t, it will fire the assigned action
  3. switch to Colemak (or Dvorak) - system preferences > keyboard > input sources
  4. type ctrl-alt-t (Colemak's t is where QWERTY places the f key), it won't fire the action
  5. type ctrl-alt-g (Colemak's g is where QWERTY places the t key), it will fire the action
@Kentzo
Copy link
Owner

Kentzo commented Apr 29, 2021

Global shortcuts (shortcuts that can be triggered regardless of a currently active application) use key codes, not key symbols. When you change the input source the physical key is likely to remain the same. If you remove the qwerty layout input source from System Preferences after step 5, you will see shortcut recorder to re-render it as ctrl-alt-g.

Do you use a Colemak or a QWERTY physical keyboard? I think a keyboard specifically designed for the Colemak layout, if such exists, has the "t" key where you expect it.

That being said, I think with some modifications ShortcutRecorder can be modified to support Colemak / Dvorak properly if it is the only ABC input source configured in System Preferences.

@Kentzo
Copy link
Owner

Kentzo commented Apr 29, 2021

I shared my ideas of how this can be implemented with the Timelime's support.

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

2 participants