AM-STUDIO / LOGITECH_USB_ADAPTER

23 stars 12 forks source link

Driving Force Shifter for G29 and G920: Gears 3 and 4 are 5 and 6 #1

Open cpw83 opened 5 years ago

cpw83 commented 5 years ago

Hi,

I encountered a slight problem (to which user lactlac in the YouTube comment section apparently found a solution):

Their comment:

The default sketch has one bug for me. Middle position of the joystick is reading incorrectly, so buttons 5 and 6 triggers instead of 3 and 4. To fix it, you need to change the value of HS_XAXIS_56 to 600 (line 18). AM-STUDIO sketch version Dec 8, 2018. MHeironimus/ArduinoJoystickLibrary version 2.0.5. Device: Logitech driving force shifter for G29 and G920

Same here - the gears go 1-2-5-6-5-6 instead of 1-2-3-4-5-6, however setting HS_XAXIS_56 to 600 appears to solve the problem.

fsouzamoraes commented 5 years ago

Sir, you and the youtube user comment just save my sunday mx5 cup race. Thank you very much...

huliqan commented 4 years ago

same too problem:))) Thank you very much!!! I changed to

define HS_XAXIS_56 600

and now all works fine!!!))))

jodelkapl commented 4 years ago

For me these settings are perfect:

// H-shifter mode analog axis thresholds // LEFT POSITION (1 AND 2 GEAR)

define HS_XAXIS_12 550

// RIGHT POSITION (5 AND 6 GEAR)

define HS_XAXIS_56 720

// TOP POSITION (1, 3, 5 GEAR)

define HS_YAXIS_135 850

// BOTTOM POSITION (2, 4, 6 GEAR)

define HS_YAXIS_246 240

mfilia commented 4 years ago

These settings work great if you are planning on 3D printing any gear stiffeners. Without it, your top gears (especially first) don't register properly. It works great without a stiffener too.

The magic is this

define HS_YAXIS_135 700

By lowering this value, it allows for more room at the top to register gear shifts. Now more in line with the values for the bottom gears

As shown:

// H-shifter mode analog axis thresholds // LEFT POSITION (1 AND 2 GEAR)

define HS_XAXIS_12 400

// RIGHT POSITION (5 AND 6 GEAR)

define HS_XAXIS_56 600

// TOP POSITION (1, 3, 5 GEAR)

define HS_YAXIS_135 700

// BOTTOM POSITION (2, 4, 6 GEAR)

define HS_YAXIS_246 300

haydenbelford commented 3 years ago

really new to this stuff and want to use the shifter in h shifter mode tried to change the true and false about but still in the other mode dk if anyone could help

haydenbelford commented 3 years ago

really new to this stuff and want to use the shifter in h shifter mode tried to change the true and false about but still in the other mode dk if anyone could help

or its just the buttons in neutral 1 3 5 if thqt helps

huliqan commented 3 years ago

How to add 2 axis in sketch? I need button(shifter) + 2 analog axis else ! or haw to merge this sketch+my 2Axis sketch (attached) Logitech_Shifter_2_AXIS.zip