Added cancel through ESC to tester

This commit is contained in:
Benjamin Höglinger-Stelzer
2019-05-28 15:43:45 +02:00
parent 88a325f520
commit fb3b55c5d5

View File

@@ -47,7 +47,7 @@ int main()
XUSB_REPORT report;
XUSB_REPORT_INIT(&report);
while(true)
while(!(GetAsyncKeyState(VK_ESCAPE) & 0x8000))
{
ret = vigem_target_x360_update(client, x360, report);
report.bLeftTrigger++;