Decode Force Feedback USB protocol

Author
FFB_Boy
Starting Member
  • Total Posts : 62
  • Reward points : 0
  • Joined: 2011/04/19 22:50:05
  • Location: 0
  • Status: offline
2011/04/19 23:27:39 (permalink)
0

Decode Force Feedback USB protocol

Hi
I've listened the USB communication between my PC and my FFB Wheel.

Here is the result send by Computer when I push the button

Btn1
41 0 41 1 0 0 0 0 0
41 1 41 1 0 0 0 0 0

Btn2
2 40 0 d9 0 0 aa 2 58
4 34 0 a 0 0 a8 1 0
1 2 20 20 84 3 3f ff ff
3 4e 0 7f 0 0 0 0 0
1 3 0 20 2c 1 bf 0 0
41 2 41 1 0 0 0 0 0
41 3 41 1 0 0 0 0 0

Btn3
2 6a 0 95 0 7f e5 1 0
4 5e 0 40 0 0 21 0 0
1 4 22 20 bc 2 3f 2c 1
41 4 41 1 0 0 0 0 0

Btn4
41 5 41 1 0 0 0 0 0
41 6 41 1 0 0 0 0 0
41 7 41 1 0 0 0 0 0

If I use FFconst.exe for each time the cursor change the PC send :
3 0 0 fa 0 0 0 0 0
41 0 41 1 0 0 0 0 0
Fa is the value that change from 128 to 127 : -1 to 1
And when the application lost focus it send :
42 5 0 0 0 0 0 0 0
41 0 0 1 0 0 0 0 0


Do you know where I can find information about his protocol .
I found nothing on www.usb.org
 
Thks


FFB_Boy



#1

4 Replies Related Threads

    lbodnar
    Super Member
    • Total Posts : 1148
    • Reward points : 0
    • Joined: 2005/12/18 06:06:09
    • Location: UK
    • Status: offline
    Re:Decode Force Feedback USB protocol 2011/04/20 00:46:56 (permalink)

    Leo
    #2
    Hartwig
    Starting Member
    • Total Posts : 53
    • Reward points : 0
    • Joined: 2010/05/19 03:57:54
    • Location: 0
    • Status: offline
    Re:Decode Force Feedback USB protocol 2011/04/20 01:15:53 (permalink)
    0
    FFB_Boy

    Hi
    I've listened the USB communication between my PC and my FFB Wheel.

    Here is the result send by Computer when I push the button

    Btn1
    41 0 41 1 0 0 0 0 0
    41 1 41 1 0 0 0 0 0

    Btn2
    2 40 0 d9 0 0 aa 2 58
    4 34 0 a 0 0 a8 1 0
    1 2 20 20 84 3 3f ff ff
    3 4e 0 7f 0 0 0 0 0
    1 3 0 20 2c 1 bf 0 0
    41 2 41 1 0 0 0 0 0
    41 3 41 1 0 0 0 0 0

    Btn3
    2 6a 0 95 0 7f e5 1 0
    4 5e 0 40 0 0 21 0 0
    1 4 22 20 bc 2 3f 2c 1
    41 4 41 1 0 0 0 0 0

    Btn4
    41 5 41 1 0 0 0 0 0
    41 6 41 1 0 0 0 0 0
    41 7 41 1 0 0 0 0 0

    If I use FFconst.exe for each time the cursor change the PC send :
    3 0 0 fa 0 0 0 0 0
    41 0 41 1 0 0 0 0 0
    Fa is the value that change from 128 to 127 : -1 to 1
    And when the application lost focus it send :
    42 5 0 0 0 0 0 0 0
    41 0 0 1 0 0 0 0 0


    Do you know where I can find information about his protocol .
    I found nothing on www.usb.org

    Thks


    FFB_Boy


    From within Windows' Control Panel under "Game Devices" you might have some device specific setup and calibration options provided by your FFB-device's Windows driver. It might reveal some more of the various report contents when applying changes to those parameters while listening to the URB data communication as you have done before.

    #3
    FFB_Boy
    Starting Member
    • Total Posts : 62
    • Reward points : 0
    • Joined: 2011/04/19 22:50:05
    • Location: 0
    • Status: offline
    Re:Decode Force Feedback USB protocol 2011/04/20 01:59:25 (permalink)
    0
    Hi
    I've read this one and if I take for example
    Btn1
    41 0 41 1 0 0 0 0 0
    41 1 41 1 0 0 0 0 0

    41     => ET Damper
    0/1     =>
    41     =>
    1     =>
    0     =>
    0     =>
    0     =>
    0     =>
    0     =>
    Where can I find information to do with this packet ?


    #4
    sebastien.decorme
    Super Member
    • Total Posts : 456
    • Reward points : 0
    • Joined: 2005/08/19 12:37:52
    • Location: FRANCE , Pierrelatte
    • Status: offline
    Re:Decode Force Feedback USB protocol 2011/06/09 02:00:53 (permalink)
    0
    Your problem is that it is a manufacturer protocol so you have to decade each data .
    Good luck
    #5
    Jump to:
    © 2017 APG vNext Commercial Version 4.5