I assume you have the xbox 360 wireless control working with your computer already? If not there's a wireless receiver you need to buy in order to use a 360 controller with your computer. In order to use a Joystick with AHK you need to specific what buttons you want to do what. I don't use stars planner so I don't know how they do it but the list of joystick buttons for AHK can be found here
. You type in Joy1, Joy2, Joy3, etc for what button you want to correspond to what action, that's how Stars Hotkeys works at least.