-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor key handling; clean up imports
- Refactored Modified Keys handling in `AutomationExtensions.cs` by introducing a new `private static readonly Dictionary` named `s_ModifiedKeys` to store modifier and modified key code pairs, replacing the previous list-based approach. This change simplifies the process of checking and retrieving modified keys by utilizing dictionary lookups instead of searching through a list of tuples. - Removed the unused `using System.Runtime.InteropServices;` directive from `User32Controller.cs`, indicating a cleanup of unnecessary imports possibly due to codebase restructuring or removal of code requiring interoperation with unmanaged code.
- Loading branch information
1 parent
d9fd1a3
commit 11eee5b
Showing
2 changed files
with
62 additions
and
32 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
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