Are you referring to actually creating a command(adding actions, changing settings, etc..), or triggering a command?
To use a joystick-type device(Joystick, gamepad, steering wheel, etc..), you need to assign it to a VoiceAttack joystick slot first:
- Click
- in the "General" tab click "Joystick Options"
- click the "+" symbol next to the gamepad icon
- select your device from the list
- click "OK"
- enable the POV hat switches(if any)
- click "OK" on the "Joystick Options"
- finally click "OK" on the "Options" window.
Now you can assign joystick buttons to trigger commands by adding or editing a command, checking the "When I press button" option, pressing a button on your device, and clicking "OK"(Make sure to save the profile afterwards by clicking "OK" on the "Edit/Add a Command" window, and "Done" on the "Edit/Add a Profile" window).
EDIT: Fixed image links