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

feat: make hotkeys keyboard-layout independent #169

Merged
merged 1 commit into from
Feb 12, 2025
Merged

feat: make hotkeys keyboard-layout independent #169

merged 1 commit into from
Feb 12, 2025

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Feb 12, 2025

In the past, window-switcher registered hotkeys using virtual keys. However, this method has a flaw: the virtual keys value of the same hardware keys may differ across different keyboard layouts.

This PR allows hotkeys to be registered using scan codes. No matter what keyboard you use, hotkeys can be triggered by the same hardware keys.

NOTE: Non-English keyboard users may need to reconfigure their hotkeys based on the US keyboard below.

image

Replace #86 #87
Close #163

@sigoden sigoden merged commit cc9de01 into main Feb 12, 2025
2 checks passed
@sigoden sigoden deleted the feat branch February 12, 2025 11:44
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.

support scan codes to express hot keys to support multi language setups
1 participant