mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
fix for windows
This commit is contained in:
parent
05e614891d
commit
272bb3bb2a
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ MMKeyCode keyCodeForChar(const char c){
|
|||
|
||||
return (MMKeyCode)code;
|
||||
#elif defined(IS_WINDOWS)
|
||||
CGKeyCode code;
|
||||
MMKeyCode code;
|
||||
code = VkKeyScan(c);
|
||||
if (code == 0xFFFF)
|
||||
return K_NOT_A_KEY;
|
||||
|
|
|
|||
Loading…
Reference in a new issue