Page 3 of 4

Re: T300RS and others FFB Wheel Development

Posted: Wed Jul 22, 2015 5:52 pm
by InhexSTER
Yeah, 10 GB update was a surprise.

I think there is tiny difference in OUT report, it seems it has 0x30 in front now.
So vibration looks like this:
0x30 0x11 0x08 0xFF ....

where 0xFF is max force

and length of OUT is bigger as mentioned in the descriptor.
So when relaying to G27 i used packer.buffer+1
And you need only first 7 bytes for G27


Edit:

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

Re: T300RS and others FFB Wheel Development

Posted: Thu Jul 23, 2015 8:24 pm
by Matlo
I finally was able to start DriveClub, and tested the firmware. It works, and the tranfers are indeed different :)
I captured the transfers that happen when setting the vibration level, and replayed it toward my Momo Racing wheel... and it vibrated!
I pushed the tool and the sample file here: https://github.com/matlo/GIMX-tools/tre ... r/PS4/momo

Re: T300RS and others FFB Wheel Development

Posted: Sun Jul 26, 2015 2:46 am
by InhexSTER
Awesome :) When G920 (Xbox One) is out, whould be nice of someone could capture descriptors/reports, but I assume output should be similar again

Re: T300RS and others FFB Wheel Development

Posted: Tue Aug 18, 2015 9:22 pm
by Matlo
Hi,
I finally got my Momo Racing FFB wheel to work with my PS4 :)
I've posted some details on the blog.
I still have to make the code handle the other Logitech wheels.

Re: T300RS and others FFB Wheel Development

Posted: Fri Aug 21, 2015 5:12 pm
by InhexSTER
Nice progress on integrating FFB into GIMX! Glad that community will get finally G27 support soon.
Would be nice to get hands on G920 (October 14th), to dump descriptors, but I don't think I will be able to.
That way we would have full FFB support on XB1 and PS4.

Re: T300RS and others FFB Wheel Development

Posted: Fri Sep 18, 2015 9:53 pm
by Matlo
Hi,

Do you have any idea about the location of the rear gear button in the G27 input report?

Re: T300RS and others FFB Wheel Development

Posted: Mon Oct 05, 2015 8:10 pm
by InhexSTER
Sorry, I din't check a forum in while, been busy at work recently.

I put my G27 in storage, but if you still need this info I can dig it up.
Planning to sell it anyways.

Re: T300RS and others FFB Wheel Development

Posted: Tue Oct 06, 2015 5:49 pm
by Matlo
I still need this info. It would be great if you could get it.

Re: T300RS and others FFB Wheel Development

Posted: Thu Oct 08, 2015 7:40 am
by Matlo
Hi,
It also would be great if you could share your source code.
I bought an Arduino USB host shield that I should receive in a few weeks.

Re: T300RS and others FFB Wheel Development

Posted: Wed Oct 21, 2015 11:16 am
by tps
the reverse gear on the G27 seems to be 'implemented' in the last 3 bytes (B08, B09, B10) of the report when in native mode:

Code: Select all

B0: //identical to DFGT
 0001 0000: cross
 0010 0000: rectangle
 0100 0000: circle
 1000 0000: triangle
 0000 1111: h: no button
 0000 0000: h:0 up
 0000 0010: h:2 right
 0000 0100: h:4 down
 0000 0110: h:6 left
 0000 0111: h:7 up-left
 0000 0001: h:1 up-right
 0000 0011: h:2 down-right
 0000 0101: h:5 down-left

 B1:
 01: r shifter / R1
 02: l shifter / L1
 04: wrt - wheel right top / R2
 08: wlt - wheel left top / L2
 80: x--- / L3
 10: -x-- / select
 20: --x- / start
 40: ---x / R3

 B2:
 01: gear 1
 02: gear 2
 04: gear 3
 08: gear 4
 10: gear 5
 20: gear 6
 40: wrm - wheel right middle
 80: wrb - wheel right bottom

 B3.01: wlm - wheel left middle
 B3.02: wlb - wheel left bottom
 B3+B4: X axis
 B3+B4: X axis: >  max: 00 00 - 00 80 - max:  FF FF <
 B3+B4: X axis: >  90g: 00 65 - 00 80 - 90g:  00 95 <
 B3+B4: X axis: > 180g: 00 50 - 00 80 - 180g: 00 A0 <

 B5: accel
 B6: brake
 B7: clutch

 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
it seems that there might be an axis 'hidden' in there.
I'm working on something that implements that and I'll be able to confirm this soon.

cheers