Ctrl still pressed with keyb_event()
Query asked by user i’m trying to help a friend with a macro for his mouse, but i’ve been strugling with an error. But when i use : if(GetAsyncKeyState(VK_XBUTTON2)){ keybd_event(VK_LCONTROL, 0xA2, 0x0001, 0); Sleep(50); keybd_event(VK_LCONTROL, 0xA2, 0x0002, 0); Sleep(50); } My ctrl still holded unless i click in my console and press ctrl again. Solution […]