I do something similar for the xbox one controllers I have hooked up.
The following below launches a bat script that adjusts my screen resolution and launches bigbox when I press the select and start buttons on the xbox one controller at the same time.
;Xbox One Controller Start and Select Buttons
joy7::
joy8::
if getkeystate("joy7")
if getkeystate("joy8")
Run, C:\LaunchBox\Ian\Launch Big Box.bat, C:\LaunchBox\Ian
return