-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Language agnostic keyboard shortcuts #504
Comments
Hey @amatoenot, unsure how you would make this agnostic as the underlying key codes sent by the keys varies depending on which layout you are using. Could you elaborate how this would work in practice? |
Hi @zenangst, |
I haven't found any information about HID related information on https://developer.apple.com/documentation/coregraphics/cgeventfield |
What about https://developer.apple.com/documentation/coregraphics/cgeventfield/keyboardeventkeycode |
That is what is used to identify it today, but the current input source send different key codes for different keys depending on the layout. |
It would be nice to have language-agnostic keyboard shortcuts. It seems all other system shortcuts work with key codes instead of actual symbols, so the input source doesn't matter, which is not the case with the Keyboard Cowboy. Currently, as a workaround, I have to duplicate actions to have shortcuts working in both languages.
![image](https://private-user-images.githubusercontent.com/17862456/309178838-5e2510c1-f0dc-451b-824d-6f4586eeadc2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzNDU5NTAsIm5iZiI6MTcyMDM0NTY1MCwicGF0aCI6Ii8xNzg2MjQ1Ni8zMDkxNzg4MzgtNWUyNTEwYzEtZjBkYy00NTFiLTgyNGQtNmY0NTg2ZWVhZGMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA3VDA5NDczMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ5ZGIyZTY2MTk2N2Q1ZmUwZmNhYTI1MjhmYmYwMTllN2VjZjZmMjllOTliZGExZmYzZmI5MDZkODZmNDg3Y2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KENzh_qnS7xZ5kma23JEOenvAp4LdgVTn--1tdoXNx4)
The text was updated successfully, but these errors were encountered: