; Pacto Tech - switch the controller to: Keyboard Off ; (leave keyboard mode: back to the arcade controls as gamepads (takes ~12 s so Windows can forget the old controller)) ; AutoHotkey v2. Runs silently and exits. Needs the Pacto Tech Utility running. ; Docs: https://leecyrille.github.io/PactoTech_Public_Releases/control-api.html #Requires AutoHotkey v2.0 #NoTrayIcon try { r := ComObject("WinHttp.WinHttpRequest.5.1") r.SetTimeouts(2000, 2000, 2000, 5000) r.Open("GET", "http://127.117.73.87:47391/mode/keyboard-off", false) r.Send() ExitApp(r.Status = 200 ? 0 : 1) } catch { ExitApp(1) }