|
Is It Possible to Code for 2 Joysticks and a Gamepad?
We've been a 1-driver team for a while now, with the operator being a backup driver, more or less. After our first district event, our driver has had trouble multi-tasking (priming our launcher and driving at the same time) and so I need to incorporate a Gamepad (360) so I can manage our shooting mechanism while he drives.
Problem is, we use Tank Drive. IE, we've defined Left and Right Joysticks, and because we've defined both sticks already, I don't know if we can define our gamepad's sticks. I'm wondering if there is an alternate way to incorporate the gamepad as a controller into the code, without overwriting the two Joysticks.
Would calling the gamepad's 'Joysticks' "LeftJoystick(3) and RightJoystick(4)" work? I haven't looked at our code in a while, but I think we defined our original Joysticks as (1) and (2) in ordnance with the DS.
|