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!
Joystick TestI'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:
UPDATE: And for mac (fixed not starting problem):
How To Contribute Data: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?)
P#5334 2011-12-13 13:23
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.
P#5342 2011-12-13 17:25
Thanks everyone who emailed me data so far. I have about 20 sets across 15 joysticks. Keep them coming!
P#5367 2011-12-14 14:20
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.
P#5373 2011-12-14 22:03
Anyway, what I found is that the actual executable file jstest_mac.app/Contents/MacOS/jstest did not have the executable bits set: if I ran chmod a+x on it, the app then worked.
P#5382 2011-12-15 16:57
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.
P#5399 2011-12-17 08:48
It says "Enter 3 Buttons and press Enter" but nothing happens.
I've managed to get a semi-rigged setup by editing my config.txt, but the numbers are cryptic. Any chance you could hook us up with a key to work from?
I'm using a Mac, OSX with a custom Xbox360 Driver from tattibogle.net. Not sure if that's too esoteric for ya. :)
P#5767 2012-01-21 02:07
(zipping it under linux was messing up the executable permissions)
Thanks everyone who mailed me. I compiled the data collected so far here in case it's useful to other developers:
P#6374 2012-07-29 17:46
Log in to post a comment