Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Joystick help
02-09-2007, 08:28 PM,
#12
 
In the Subversion repository for the game, we have TCS (traction control), ABS (antilock braking), automatic shifting, as well as something called button delay, all of which combine to make driving with the keyboard or joystick buttons much easier. Also, in the last version as well as in SVN, you can race using the mouse as a control. However it seems you found a solution by editing the controls file by hand. If you also set calibrated=off in VDrift.config, I think it will still use the calibration in-game, but will make the menu much easier to use.

Now on to your joystick calibration. It seems like your joystick is being prevented from covering its full range, or it's off-center. Does the box stop moving even though you continue moving the axis? Or does the calibration cursor start somewhere other than the middle of the white box?

edit: after searching the web for your joystick and seeing that it's not the gamepad type as I expected but a flight-sim style single stick, I wonder, how does this joystick have 4 axes? Is there one axis per direction, rather than one for left/right and one for up/down? If this is the case I think I can devise a way to fix this...I'll see what I can do.

I know why your joystick causes erratic movement in the menus. The menu joystick movement code does not yet take the calibration data into account. So when your joystick is at rest, which means it's probably around -0.4 or something, the menu thinks you moved the axis 40% to the left, indicating that you are moving it when you're really not. This also explains why it thinks you're moving axes you're really not, in the assign controls menu.

I'll see what I can do to get both of these portions of the GUI to account for calibration. In the mean time, if you're running Linux, one thing you could do is run the program jscalibrator, which will calibrate your joystick external to the game, and VDrift will see the proper values.
Reply


Messages In This Thread
Joystick help - by y2kkmac - 01-17-2007, 07:01 PM
[No subject] - by cotharyus - 01-17-2007, 08:35 PM
[No subject] - by joevenzon_phpbb2_import3 - 01-18-2007, 11:07 AM
[No subject] - by thelusiv - 01-18-2007, 04:09 PM
[No subject] - by y2kkmac - 01-19-2007, 09:08 PM
[No subject] - by Nigo - 02-06-2007, 05:30 AM
[No subject] - by uldics - 02-09-2007, 02:45 AM
[No subject] - by thelusiv - 02-09-2007, 02:50 AM
[No subject] - by uldics - 02-09-2007, 02:59 AM
[No subject] - by thelusiv - 02-09-2007, 03:17 AM
[No subject] - by uldics - 02-09-2007, 05:57 AM
[No subject] - by thelusiv - 02-09-2007, 08:28 PM
[No subject] - by uldics - 02-10-2007, 07:47 AM
[No subject] - by thelusiv - 02-11-2007, 01:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)