Decompiled DLL with ILSpy to identify various commands.
Most commands can be found in DDM2._0_UX.CmdBackground.cmdService_DoWork
Write commands can be prefixed with int:command to specify which monitor to send the command to.
.\DDM.exe /0:writebrightnesslevel 50
Read command output is only shown in the debug console.
Used to show the output of various read commands
.\DDM.exe /console start
.\DDM.exe /console start
Opens DDM Console
.\DDM.exe /readbrightnesslevel
Reads the monitor brightness level
.\DDM.exe /writebrightnesslevel
Sets the monitor brightness level
.\DDM.exe /readcontrastlevel
Reads the monitor contrast level
.\DDM.exe /writecontrastlevel
Sets the monitor contrast level
.\DDM.exe /readcapabilities
Read monitor capabilities (in hex)
.\DDM.exe /readsupportedcontrols
Read monitor supported controls (in hex)
.\DDM.exe /writecolorpreset
Write color presets
.\DDM.exe /readcolorpreset
Read color presets
.\DDM.exe /readorientation
Read monitor orientation
.\DDM.exe /writeorientation
Sets monitor orientation
.\DDM.exe /readmonitoractivehours
Read monitor active hours
.\DDM.exe /writeactiveinput
.\DDM.exe /readactiveinput
.\DDM.exe /writepower
.\DDM.exe /writeosdlanguage
.\DDM.exe /osd
.\DDM.exe /readedid
.\DDM.exe /writeuc
.\DDM.exe /readmax
.\DDM.exe /readprivacy
.\DDM.exe /writeprivacy
.\DDM.exe /readfirmwareversion
.\DDM.exe /writevolume
.\DDM.exe /readvolume
.\DDM.exe /autocolorpreset
.\DDM.exe /swapvideo
.\DDM.exe /swapusb
.\DDM.exe /writesubinput
.\DDM.exe /writepxpmode
.\DDM.exe /writepxp
.\DDM.exe /readcontrol
.\DDM.exe /increasecontrol
.\DDM.exe /decreasecontrol
.\DDM.exe /writecontrol
.\DDM.exe /readpossible
.\DDM.exe /autosetup
.\DDM.exe /readmanufactureddate
.\DDM.exe /writemonitorpower
.\DDM.exe /readdisplaymode
.\DDM.exe /writeoptimalresolution
.\DDM.exe /readtiming
.\DDM.exe /readassetattributes
.\DDM.exe /log
.\DDM.exe /savediagnosticreport
.\DDM.exe /assetreport
.\DDM.exe /inventory
.\DDM.exe /surveyonly
.\DDM.exe /readdecodededid
.\DDM.exe /countmonitorsci
.\DDM.exe /monitornumber OR countmonitors
.\DDM.exe /usbpassthrough
.\DDM.exe /lockupdate
.\DDM.exe /noupdate
.\DDM.exe /screennotification
.\DDM.exe /lockrorate
.\DDM.exe /autostartup
.\DDM.exe /powernap
.\DDM.exe /colormanagement
.\DDM.exe /writeapplanguage
.\DDM.exe /telemetry
.\DDM.exe /writeealayout
.\DDM.exe /writeimportpermission
.\DDM.exe /displaymodel
.\DDM.exe /writeloglevel
.\DDM.exe /liveupdate") && ApplicationStartUp.Ota != null)
.\DDM.exe /rescan
to refresh the connected devices -Thanks @rtxbae!
Some examples of using the utility on MacOS to enable picture by picture, thanks @sepl2604!
/Applications/DDPM/DDPM.app/Contents/MacOS/DDPM /writepxp pbp-2h-fill USB-C HDMI1
Activate 50-50 PBP
/Applications/DDPM/DDPM.app/Contents/MacOS/DDPM /writepxp off
Turn off PBP
Is it possible to change the display's number?
The display number is "wrong" in DDPM
![Screenshot 2024-03-25 alle 15 52 37](https://private-user-images.githubusercontent.com/2115829/316560066-2f5b37c7-b317-45f8-b49e-7ea11a9eaaa9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4Mjc5OTAsIm5iZiI6MTcyMTgyNzY5MCwicGF0aCI6Ii8yMTE1ODI5LzMxNjU2MDA2Ni0yZjViMzdjNy1iMzE3LTQ1ZjgtYjQ5ZS03ZWExMWE5ZWFhYTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjRUMTMyODEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2ZkMTYwMjA0ZjNlNjQ5MzRhNzRiNzQxMjY5MTlkNTQxZGYwMGMwNzk2Zjc5YTQyYTljYTczY2U0MGQ2ZjM1YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.9VDjOWpkBUalME6PIQRHmn-gPhpWCLU_o0THfAKYKgk)
In Mac OS (and also on Windows DPPM) is "correct"
![Screenshot 2024-03-25 alle 15 53 02](https://private-user-images.githubusercontent.com/2115829/316560056-994bac77-d29a-4c0f-99d5-786115540567.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE4Mjc5OTAsIm5iZiI6MTcyMTgyNzY5MCwicGF0aCI6Ii8yMTE1ODI5LzMxNjU2MDA1Ni05OTRiYWM3Ny1kMjlhLTRjMGYtOTlkNS03ODYxMTU1NDA1NjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjRUMTMyODEwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTcwMjAwZDY2NTY1NGM2NzgxZTczYmEwZmRjMDY0ZGM2ZGRiYmVmYmNhYzI5NDEzMWY3MWJmNTEwMmZiMzNjMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.HtrYCweJk-UDmBQuATBKF2Afr6EOSaU4uULP1eryShA)