# Pacto Tech - switch the controller to: Keyboard Mode # (keyboard / disconnect mode: the arcade controls type keys and the DongleMaster gamepads take over) # Needs the Pacto Tech Utility running. For the least visible run use: # powershell -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -File "Pacto - Keyboard Mode.ps1" # Docs: https://leecyrille.github.io/PactoTech_Public_Releases/control-api.html try { Invoke-RestMethod -Uri "http://127.117.73.87:47391/mode/keyboard-on" -TimeoutSec 5 | Out-Null; exit 0 } catch { exit 1 }