08-17-2006, 03:03 AM,
|
|
valdyn
Junior Member
|
Posts: 10
Threads: 1
Joined: Aug 2006
|
|
joystick/wheel axis config
joystick/wheel axis config does not act as discribed in documentaion. to set the direction of the uses axis you have to use prositive or negative which is different to the documentation. the doc says that you have to use true for positive and false for negative axis but only positive and negative is read in control.cc
|
|
08-17-2006, 03:03 AM,
|
|
valdyn
Junior Member
|
Posts: 10
Threads: 1
Joined: Aug 2006
|
|
joystick/wheel axis config
joystick/wheel axis config does not act as discribed in documentaion. to set the direction of the uses axis you have to use prositive or negative which is different to the documentation. the doc says that you have to use true for positive and false for negative axis but only positive and negative is read in control.cc
|
|
08-17-2006, 05:05 AM,
|
|
valdyn
Junior Member
|
Posts: 10
Threads: 1
Joined: Aug 2006
|
|
i've used the sources form 2006-07-08 with the patch for car.cc under fc4 (gcc4+)
my logitech formula gp was detected but i'm not able to configure or calibtrate. so i have modified the controls file (this was the doc if used) but this did not work, so i have debugged and found that the control.cc does read only "positive" and "negative" and not "true" and "false" as documented in ~/.vdrift/controls
|
|
08-17-2006, 05:05 AM,
|
|
valdyn
Junior Member
|
Posts: 10
Threads: 1
Joined: Aug 2006
|
|
i've used the sources form 2006-07-08 with the patch for car.cc under fc4 (gcc4+)
my logitech formula gp was detected but i'm not able to configure or calibtrate. so i have modified the controls file (this was the doc if used) but this did not work, so i have debugged and found that the control.cc does read only "positive" and "negative" and not "true" and "false" as documented in ~/.vdrift/controls
|
|
08-17-2006, 06:28 AM,
|
|
valdyn
Junior Member
|
Posts: 10
Threads: 1
Joined: Aug 2006
|
|
thelusiv Wrote:Well to add joystick controls you must first calibrate. When you enter the joystick calibration menu, and move the joystick axes, what happens? nothing, i did not see anything exept the normal menu controls
thelusiv Wrote:Anything at all?
no, nothing
but i can't tell you more at the moment or try something because im writing from work. but with manual config im able to play.
|
|
08-17-2006, 06:28 AM,
|
|
valdyn
Junior Member
|
Posts: 10
Threads: 1
Joined: Aug 2006
|
|
thelusiv Wrote:Well to add joystick controls you must first calibrate. When you enter the joystick calibration menu, and move the joystick axes, what happens? nothing, i did not see anything exept the normal menu controls
thelusiv Wrote:Anything at all?
no, nothing
but i can't tell you more at the moment or try something because im writing from work. but with manual config im able to play.
|
|
08-17-2006, 08:23 AM,
|
|
thelusiv
Administrator
|
Posts: 2,346
Threads: 223
Joined: Jun 2005
|
|
Hmmm, OK...Well, what's supposed to happen when you go to the calibration menu, is when you move the joystick, wheel, or whatever, it shows a sort of crosshair and then fills it in with blue across the range you move the joystick device. Then when you press OK and it sees you've made your calibration it sets calibrated = 1 in VDrift.config and remembers the calibrations.
So when you turn your wheel/move your joystick instead of the big square calibration fields popping up, it just sits there, and does nothing, is this correct?
Can you tell me anything about your joystick - what axes are you moving that aren't showing up? Maybe a program like jstest could tell you, or jscalibrator (but beware...I've had this program mess up the joystick input altogether before).
Thanks for the input and if you don't have time to find out that's understandable, but I can't fix it without more info, so...whatever you can get me helps
|
|
08-17-2006, 08:23 AM,
|
|
thelusiv
Administrator
|
Posts: 2,346
Threads: 223
Joined: Jun 2005
|
|
Hmmm, OK...Well, what's supposed to happen when you go to the calibration menu, is when you move the joystick, wheel, or whatever, it shows a sort of crosshair and then fills it in with blue across the range you move the joystick device. Then when you press OK and it sees you've made your calibration it sets calibrated = 1 in VDrift.config and remembers the calibrations.
So when you turn your wheel/move your joystick instead of the big square calibration fields popping up, it just sits there, and does nothing, is this correct?
Can you tell me anything about your joystick - what axes are you moving that aren't showing up? Maybe a program like jstest could tell you, or jscalibrator (but beware...I've had this program mess up the joystick input altogether before).
Thanks for the input and if you don't have time to find out that's understandable, but I can't fix it without more info, so...whatever you can get me helps
|
|
08-18-2006, 02:44 AM,
|
|
valdyn
Junior Member
|
Posts: 10
Threads: 1
Joined: Aug 2006
|
|
ok, yesterday i have done some debugging, when i press the calibrate butten the action is set to "joystickcalibrate" but i havn't any point (in src/gui/gui.cpp) where this action is computed (ProcessAction("joystickcalibrate")) this might be the problem i think it has to be "updatecalibration".
so i will get the lastest version from repo and check over the weekend if i can find the problem.
|
|
08-18-2006, 02:44 AM,
|
|
valdyn
Junior Member
|
Posts: 10
Threads: 1
Joined: Aug 2006
|
|
ok, yesterday i have done some debugging, when i press the calibrate butten the action is set to "joystickcalibrate" but i havn't any point (in src/gui/gui.cpp) where this action is computed (ProcessAction("joystickcalibrate")) this might be the problem i think it has to be "updatecalibration".
so i will get the lastest version from repo and check over the weekend if i can find the problem.
|
|
08-18-2006, 02:16 PM,
|
|
thelusiv
Administrator
|
Posts: 2,346
Threads: 223
Joined: Jun 2005
|
|
The UpdateCalibration action is used when the OK button is pressed on the Joystick Calibration menu. The actual calibration is done by the Calibration widget that appears on the Joystick Calibration menu, and has graphs of the joystick axis ranges with blue fill representing the area that has been reached by the moving axes.
The JoystickCalibrate action is just used to change to the Joystick Calibration menu. That's the name of the menu file as well as the name of the menu itself.
Again, all you should have to do is go to the Joystick Calibration menu, wiggle your joystick(s) around until the blue area won't get any bigger, then click OK.
If this is not working for you, are you sure that VDrift is recognizing your joystick device? When you run VDrift from the command line, it reports how many joysticks are connected and usable by the game as it starts up. It will look something like this:
Code: 1 joystick(s) found:
0. Logitech Inc. WingMan RumblePad
|
|
|