-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(shortcuts): enhance shortcut handling with WX to VK code mapping
- Add `WXK_TO_VK_CODE_MAP` to map WX key codes to virtual key (VK) codes. - Rename `get_key_name_from_win32con` to `get_vk_code_display_name` for better clarity. - Implement `get_vk_code` to facilitate conversion from WX to VK codes and integrate with existing logic. - Update `ShortcutCaptureDialog` to correctly capture shortcuts using both modifier and VK codes. - Improve UI with `update_ui` method and bind key events for enhanced interaction and shortcut setting consistency.
- Loading branch information
Showing
1 changed file
with
116 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters