-
Notifications
You must be signed in to change notification settings - Fork 840
Command line options
DS4Windows (since version V1.7.13) supports following command line options when a main DS4Windows process is already running in the background. Windows BAT/CMD batch file or 3rd party application can use these commands to automate stop/start/shutdown or loadProfile operations.
DS4Windows.exe -command stop
DS4Windows.exe -command start
DS4Windows.exe -command shutdown
DS4Windows.exe -command LoadProfile.<controller#>.<profile name>
DS4Windows.exe -command LoadTempProfile.<controller#>.<profile name>
Stop/Start commands does the same as "Stop/Start" button in DS4Windows settings screen. Stop command doesn't shutdown the DS4Windows process, but just disconnects all controllers from the application.
Shutdown command disconnects all controllers and shutdowns the DS4Windows main process (ie. the application is closed).
LoadProfile/LoadTempProfile commands load and activates a profile. For example "DS4Windows.exe -command LoadProfile.1.SnakeGame" command would load a profile named SnakeGame for the first connected controller. This is useful command if you use batch files to launch games and want to automate the selection of correct profile without using auto-profile feature of DS4Windows.
Note! The -command keyword needs to be in lowercase letters.