mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-22 11:13:21 +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;
|
int i;
|
||||||
CGKeyCode keycode;
|
CGKeyCode keycode;
|
||||||
CGEventSourceRef source;
|
CGEventSourceRef source;
|
||||||
|
if (up == 4) { up = 0; }
|
||||||
|
|
||||||
source = CGEventSourceCreate(kCGEventSourceStateHIDSystemState);
|
source = CGEventSourceCreate(kCGEventSourceStateHIDSystemState);
|
||||||
for (i = 0 ; i < g_keymapLen; i++) {
|
for (i = 0 ; i < g_keymapLen; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user