this might be for compatibility mode, no idea. native mode has it mapped differently.InhexSTER wrote: Tested a G27 shifter, the byte for it is right after clutch byte (50)
byte index 51
0x0 = neutral
0x1 = 1
0x2 = 2
0x4 = 3
0x8 = 4
0x10 = 5
0x20 = 6
0x80 = Reverse
seems like bit before reverse is not used in G27 shifter since there is no gear in that spot
T300RS and others FFB Wheel Development
Re: T300RS and others FFB Wheel Development
Re: T300RS and others FFB Wheel Development
I've tested this with G27 emu and I can confirm that for Reverse you need to:
I use the neutral values when Reverse isn't engaged and set the specific values when Reverse is engaged.
Code: Select all
/*
*
B8+B9+B10: gear R?? from ~ 7D 8A 1C (idle) to ~ B0 2A 5D (engaged)
-H shifter-
[B8 B9 B10] values:
7C 8A 9C neutral
3F 94 9C left pull
BA 8A 9C right pull
7B 90 DC center push
BD 92 DC right push
C4 C1 DC right push up
B3 2B DD right push down / Reverse
*/
g27_report[8] = 0xB3;
g27_report[9] = 0x2B;
g27_report[10] = 0xDD;