In the Voxatron control options menu, it's possible to reset the joystick controls to default. The current default values are simply the first two joystick axes (x, y) and the first 2 buttons. Directional shooting is ignored. This scheme is better than nothing, but it would be nice to automatically detect the type of joystick and set the default controls accordingly. There are many different joystick types and layouts, so it's not possible to do this without a bit more information.
Some of you have already posted your config.txt file for particular joystick configurations that were either a pain or impossible to set up. I'd like to go one step further and build a decent-sized database of good default control schemes for various joysticks. That's where you come in!
I've made a joystick testing program that asks you to perform various actions with the joystick and records the low level events to a log file (log.txt). You can download it here for Windows and Linux:
1. Run the program (after plugging in any joystick(s)) and follow the instructions.
2. Email the resulting log.txt to me at hey@lexaloffle (Subject: Joystick Data).
3. (optional) If you have set up your joystick for use in Voxatron, please also send that config.txt:
Windows: [your home]/Roaming/Voxatron/config.txt
OSX: ~/Library/Application Support/Voxatron/config.txt
To avoid confusion, mention which joystick you're using in the config.txt if there is more than one type attached to your machine.
4. (optional) If you've had trouble setting up the joystick in the controls menu, make a note of what goes wrong.
5. (optional) Make a note in the comments of this post which type of joystick and operating system you sent results for. Duplicates don't hurt though -- the more data the better for weeding out errors.
I'll squeeze the first batch of results into 0.1.7, and then add more joystick data as it becomes available.
Later I'll collate the data and post it in a more general form that other developers can use in their games. (Does such a database already exist somewhere?)
A open database of joysticks would be great!
Maybe you should ask people to press the buttons based on their positions, not actions. like: Press the right back shoulder button, press the bottom action button (A in xbox), with this kind of info you can assume the most common configurations for various controllers.
btw, it is not working in my Mac (OSX 1.7.2) Core 2 Duo, nvidia 320m.
Sent in results for a PS3 joystick, plugged into gentoo linux, kernel 3.06  via usb.
X is jump, square is shoot.
left analog is move
right analog is shoot
This config.txt seems to work great, but I had to write it with vim, the in game configuration wouldn't work for some reason.  The in game config wouldn't detect anything when I moved the stick.
I agree with RodrigoCard about knowing the positions of the buttons.
Else, the moment you switch gamepad you might find that the controls you are used to in the other gamepad might be in different possitions from the other one. So, it will be ankward when you are playing with a group of friends and alternating the seats to play 1vs1 matches.