mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-22 03:03:18 +00:00
Added workaround for when browser passes windows specific extended up flags
This commit is contained in:
@@ -243,6 +243,7 @@ void KeyAction(unsigned char vk, int up)
|
||||
int i;
|
||||
CGKeyCode keycode;
|
||||
CGEventSourceRef source;
|
||||
if (up == 4) { up = 0; }
|
||||
|
||||
source = CGEventSourceCreate(kCGEventSourceStateHIDSystemState);
|
||||
for (i = 0 ; i < g_keymapLen; i++) {
|
||||
|
||||
Reference in New Issue
Block a user