Forums

Full Version: Logitec G25 shifter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there.

I have a problem using the shifter in VDrift.
I can assign the gears in the options-menu, but it doesn't work in the game. (When I shift into first gear, the car stay in neutral).
I tried to edit the controls-file manually, but it had no effekt.
Here's what it looks like:

first_gear joy 0 button 8 false true
second_gear joy 0 button 9 false true
third_gear joy 0 button 10 false true
fourth_gear joy 0 button 11 false true
fifth_gear joy 0 button 12 false true
sixth_gear joy 0 button 13 false true
reverse joy 0 button 14 false true

Any ideas?
Shifting up and down using a shift-up/shift-down button is working fine by the way. I also tried not to assign these, in case that might be the problem but it didn't help either.

Any ideas?
If I'm not mistaken, the G25 is not yet fully supported in Linux. Have you tested it using a program like jstest to see what happens there? If I recall I remember someone saying that the clutch pedal and H shifter are not yet supported in Linux.
ok, I fogot to mention that I'm using XP $P2 :wink:
Oh OK, I know what the problem is. You need to set up a way to release the clutch after the shift. Either try using your clutch pedal with the "Analog Clutch" option (warning: you're probably the first to test this), or set each of the shift "buttons" to also be "engage clutch" buttons.
Just to keep everyone on the same page:

Taking your foot off the clutch = engaging the clutch

If the gear numbers in the HUD are changing as you shift, but the car's still in neutral, it's because the clutch isn't being re-engaged after shifting. As thelusiv said, assigning each shift button to the "engage clutch" control will probably fix this.
hm, I somehow missed that there was a new version out :roll:
I now installed the 03/23-version and tried again.
Here are my settings:

joysticktype wheel 900to200
neutral joy 0 button 8 true false
neutral joy 0 button 9 true false
neutral joy 0 button 10 true false
neutral joy 0 button 11 true false
neutral joy 0 button 12 true false
neutral joy 0 button 13 true false
neutral joy 0 button 14 true false
first_gear joy 0 button 8 true true
second_gear joy 0 button 9 true true
third_gear joy 0 button 10 true true
fourth_gear joy 0 button 11 true true
fifth_gear joy 0 button 12 true true
sixth_gear joy 0 button 13 true true
reverse joy 0 button 14 true true
clutch joy 0 axis 4 negative 0 1 1
gas joy 0 axis 2 negative 0 1 1
brake joy 0 axis 3 negative 0 1 1
steer_left joy 0 axis 0 negative 0 1 1
steer_right joy 0 axis 0 positive 0 1 1
start_engine joy 0 button 0 true true

That way shifting into gears now seems to work fine Smile

BUT: I can't get into neutral this way. The idea was go back to neutral whenever I release one of the gear-buttons ...

And when I try to set even one of the buttons as "held down" (which they all are actually), none of them will work. Strange, isn't it?

Setting the "engage clutch" option had no effect by the way.
Alright, first off you don't want to set them as held, that's only for when you assign a key or button to an analog control. For instance, if you are using the keyboard for steering.

Let me get this straight though...when you put the control in gear, there is a button down event, and when you take it out of gear, there is a button release event?

We might need to rethink the way we do gears. Right now, we disengage the clutch (press clutch pedal in) when the gear is selected, then shift to the selected gear. The usual way of engaging the clutch (releasing the clutch pedal) is to set the same button to engage clutch, and so when the button is released the clutch engages. In your case though, it sounds like you need some other kind of clutch control along with your shifter since there's no button release until you take it out of gear.

Have you tried assigning the clutch pedal on your G25 to the "analog clutch" control in the game? Does that help any?
Interesting... I didn't realize that's how the H-gate shifter controllers worked. Given that info, it shouldn't be too hard to add support.
We should definitely include a fix for this by next release. Could the AutoClutch feature be extended to automatically engage the clutch a certain amount of time after every shift?
I think if the button press is set to engage clutch on button down it'll work fine already. The change required is to get the transmission into neutral when you're not holding down any buttons.
Well like I said: shifting into gears is now working fine. I'm not sure what the problem was with the old version ...
I guess I misinterpretated the options of "button held" and "up/down". I thought when I assign the "up"-option, it would mean that the game reacts whenever the pressed button is released again?
You are correct about the up/down option. For instance usually shifting works by the button down event (press) triggering the shift, and the button up event (release) triggering the clutch engage. So do you have it working properly now, and if so what did you have to do? What could we do to make it more obvious what to do?