mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Fix release key
This commit is contained in:
parent
44578aad48
commit
8fe2f76d8c
@ -98,9 +98,9 @@ void win32KeyEvent(int key, MMKeyFlags flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Set the scan code for keyup */
|
/* Set the scan code for keyup */
|
||||||
if ( flags & KEYEVENTF_KEYUP ) {
|
// if ( flags & KEYEVENTF_KEYUP ) {
|
||||||
scan |= 0x80;
|
// scan |= 0x80;
|
||||||
}
|
// }
|
||||||
|
|
||||||
keybd_event(key, scan, flags, 0);
|
keybd_event(key, scan, flags, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user