A very way to do this is preprocessor directives. Keep arcade set to 1 or 2 and have tank set to 1 and 2 (assuming those are the ports you have your joysticks plugged into). Then at the top of the file, type either
or
Then, in your main code, put
Code:
#ifdef TANK
(put your tank code here)
#else
(put your arcade code here)
#endif
When you go to compile, if TANK is #defined, it will use your tank code. If you change #define TANK to #define ARCADE (or anything else for the matter), your arcade code will be used instead. This is done when the code is compiled, not as it is running. Therefore, to change which drive configuration you would like to use, simply change the #define up top.
Our team is using code like this, which I will post here tonight as an example once I get to the meeting
