Skip to content

feat: make hotkeys keyboard-layout independent #169

Merged
sigoden merged 1 commit intomainfrom
feat
Feb 12, 2025
Merged

feat: make hotkeys keyboard-layout independent #169
sigoden merged 1 commit intomainfrom
feat

Conversation

@sigoden
Copy link
Copy Markdown
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