1
0
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:
Bryan Roe
2022-02-26 14:12:02 -08:00
parent 91cde55010
commit c6b20ff1e2

View File

@@ -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++) {