This is a quick and dirty solution to controll a Marshall Camera with an XBox Controller or CLI.
I do not recommend using the code without going through it and check if it fullfills your usecase.
It was only tested on Windows
The environment variable %MARSHALL_CONTROLLER%
needs is assumed to hold the directory if the python scripts
Turn on camera
python "%MARSHALL_CONTROLLER%\cli.py" --ip 192.168.102.33 --on
Turn off camera
python "%MARSHALL_CONTROLLER%\cli.py" --ip 192.168.102.33 --off
Start XBox Controller script
python "%MARSHALL_CONTROLLER%\controller.py" --ip 192.168.102.33 --controller 1
Call a preset (Number from 0 to 255)
python "%MARSHALL_CONTROLLER%\cli.py" --ip 192.168.102.33 --call 1
Set a preset (Number from 0 to 255)
python "%MARSHALL_CONTROLLER%\cli.py" --ip 192.168.102.33 --set 1