Reverse Engineering the Force Feedback Pro

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

osterac wrote:
r8dhex wrote:By jittering, I don't mean the shaking from FFB. Even when completely centered, holding the stick steady, no forces. There seems to be noise on all the axes, including throttle and twist, when I cover the photosensor. Take my fingers off the photosensor, and everything quiets down. This happens even on the trunk version I compiled.
When I say the axes use optical sensors I don't mean the one in the handle that senses whether you are gripping the stick. Inside the joystick there is a camera that determines what position the stick and the throttle are in. This video illustrates it quite well:
https://www.youtube.com/watch?v=IvXyDwlAN8k
Maybe cleaning the lens on that camera or cleaning the tracker LEDs might help?
Yes, I understood what you were saying, and anyway I did swab the axes sensor while I had the stick open. I believe the axes sensor is clean, as the signal is clean and smooth when I move the stick without blocking the grip sensor, or when I disconnect FFB power entirely. However, when I turn on ffb and block the grip sensor, the axes suddenly have some "noise" or jitter even while holding the stick steady at center. The noise only happens when FFB is on.

I might do a video of this to show what is happening.
osterac
DBB Cadet
DBB Cadet
Posts: 16
Joined: Sat Aug 17, 2013 4:43 pm
Location: California

Re: Reverse Engineering the Force Feedback Pro

Post by osterac »

r8dhex wrote: Yes, I understood what you were saying, and anyway I did swab the axes sensor while I had the stick open. I believe the axes sensor is clean, as the signal is clean and smooth when I move the stick without blocking the grip sensor, or when I disconnect FFB power entirely. However, when I turn on ffb and block the grip sensor, the axes suddenly have some "noise" or jitter even while holding the stick steady at center. The noise only happens when FFB is on.
I might do a video of this to show what is happening.
Just tried that on mine... It does the same thing...

I used to have a fully soldered adapter made up for my joystick but it got lost somewhere. Now I am using a breadboard. I have heard of people having strange problems with breadboards that were solved by soldering the adapter on a circuit board. Could be caused by all that extra wiring causing resistance that is not accounted for in the original design.
r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

osterac wrote:
r8dhex wrote: Yes, I understood what you were saying, and anyway I did swab the axes sensor while I had the stick open. I believe the axes sensor is clean, as the signal is clean and smooth when I move the stick without blocking the grip sensor, or when I disconnect FFB power entirely. However, when I turn on ffb and block the grip sensor, the axes suddenly have some "noise" or jitter even while holding the stick steady at center. The noise only happens when FFB is on.
I might do a video of this to show what is happening.
Just tried that on mine... It does the same thing...

I used to have a fully soldered adapter made up for my joystick but it got lost somewhere. Now I am using a breadboard. I have heard of people having strange problems with breadboards that were solved by soldering the adapter on a circuit board. Could be caused by all that extra wiring causing resistance that is not accounted for in the original design.
That may be my problem, I have it on a breadboard. Plus, the wires going into the joystick mainboard are just jammed into the existing header. A more permanent solution for me may be to desolder the header, and solder my wires on to the mainboard itself. After successfully soldering the header pins on the teensy, and replacing some of the switches on the grip, I'm pretty confident now that I can handle the mainboard. That's something I couldn't have said before I started.
r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

So things are stalled on the hardware side, I'm still waiting for replacement switches and other parts to arrive.

In the meantime, I've played around with the code, and incorporated jaffa225man's fix to enable shift. I also added 16 extra buttons, so I can connect up to 8 switches to the remaining pins on the teensy. The 8 extra buttons are also shift-able.

I've forked the github repo, and pushed my changes to my repo. I'm not sure that everyone wants these changes, so I'll keep them as separate for now.

If anyone's interested, you can get the code from the links below. You'll have to compile them yourself though.

This one has the original 16 buttons, but with shift enabled
https://github.com/r8dhex/adapt-ffb-joy ... hiftEnable

This one has shift enabled, plus 16 more buttons
https://github.com/r8dhex/adapt-ffb-joy ... oreButtons

credit goes to the original developers, and to jaffa225man for the shift-patch.
r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

Hi all,

does anyone know how to turn on serial debugging in the code?

so far I've been looking in debug.c, I've set

Code: Select all

volatile uint8_t gDebugMode = 4;
but nothing shows up in the serial terminal. I even tried LogTextLf() to print something from the main loop, but nothing prints.

EDIT: nevermind, I figured it out.
Scotophor
DBB Cadet
DBB Cadet
Posts: 7
Joined: Mon Jun 08, 2015 5:41 pm

Re: Reverse Engineering the Force Feedback Pro

Post by Scotophor »

osterac wrote:FYI - you have to be gripping the stick for force feedback to work - there is a proximity sensor in the handle
... Unless you've modified it. I put in a switch to cut off the IR emitter, so when I flip the switch to the "override" position, the stick thinks there's always someone holding it. I occasionally find that useful in Microsoft Flight Simulator. Some people get a similar result on a more temporary basis by putting opaque tape over one of the sensor holes.

One should be careful though, because depending on the program running and the force effects being commanded, with the grip sensor overridden sometimes the stick can thrash around fairly violently and could damage itself if one is careless.
osterac
DBB Cadet
DBB Cadet
Posts: 16
Joined: Sat Aug 17, 2013 4:43 pm
Location: California

Re: Reverse Engineering the Force Feedback Pro

Post by osterac »

Scotophor wrote:with the grip sensor overridden sometimes the stick can thrash around fairly violently and could damage itself if one is careless.
It's true! I was sending several commands at once to the stick with the sensors blocked to demonstrate its capabilities and it would have shook itself off the desk if I hadn't stopped it.
telesimke
DBB Cadet
DBB Cadet
Posts: 1
Joined: Wed Apr 20, 2016 4:22 am

Re: Reverse Engineering the Force Feedback Pro

Post by telesimke »

Hi,

I was able to produce FFB joystick using stm32f4 disc1 board. With CubeMX's customhid configuration i built USB stack.
I used the report descriptor posted by Grendel on pg. 1 of this thread.

I was really struggling with joystick being recognized by DirectInput. Microchip users chinzei and ulao found a solution by deleting your device's entry under
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM
http://www.microchip.com/forums/m487478.aspx?print=true

But in my case i had to delete device's entry under
HKEY_CURRENT_USER\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM
https://www.lfs.net/forum/thread/75621- ... arting-LFS

BR telesimke
HackNFly
DBB Cadet
DBB Cadet
Posts: 5
Joined: Tue May 08, 2012 9:53 am

Re: Reverse Engineering the Force Feedback Pro

Post by HackNFly »

On the main webpage of the project it says that it has been tested on War Thunder. Does anyone have any information on who tested it. It isn't working for me, but the joystick works using the ForceText.exe program.
r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

HackNFly wrote:On the main webpage of the project it says that it has been tested on War Thunder. Does anyone have any information on who tested it. It isn't working for me, but the joystick works using the ForceText.exe program.
I've tested on WT, linux and windows. ForceFeedback doesn't seem to work. I have no idea how to make it work. I can confirm that ForceFeedback works on my stick using DCS World.
GroteGoedheid
DBB Cadet
DBB Cadet
Posts: 1
Joined: Sun Jul 17, 2016 12:33 pm

Re: Reverse Engineering the Force Feedback Pro

Post by GroteGoedheid »

Scanjo wrote:Cal and Skoo are hard at work and making great progress. My question to you is, would you rather they spend their time making it work or spend their time here posting to us? They're in the middle of figuring out all the FFB commands. Cal has referred to this as "grunt work" and it just takes time. They also want to add some features so they're making sure it all fits together.

Patience grasshopper... ;)
Hi there,

hopefully someone is still on this thread, since the last time something was posted about the reverse engineering of the FFB Wheel in which the name Cal was mentioned, is way back in 2014.
I am new to this thread, it took me two hours to read all messages. I came to this thread, because I found my son's MS FFB Wheel when cleaning his room. He gave it (back) to me, because he does not have a desktop with a gameport anymore. Neither do I, so I started Googling, and landed in this thread.
But unfortunately I cannot find any response by Cal, so I wonder if this project is still going on? If so, I would like to read from it. If not, I can throw away my FFB Wheel, I suppose.
Thanks in advance.
gbish
DBB Cadet
DBB Cadet
Posts: 2
Joined: Sat Jul 30, 2016 3:20 pm

Re: Reverse Engineering the Force Feedback Pro

Post by gbish »

I am still able to use my FFB Pro joystick with Windows 7. But now that Windows 10 is out, I can't seem to let the OS find it. Is there anything anyone else has done?
Deciman
DBB Cadet
DBB Cadet
Posts: 2
Joined: Thu Oct 20, 2016 8:51 am

Re: Reverse Engineering the Force Feedback Pro

Post by Deciman »

Hi guys

I hope you can help me....

I've built the adapter to reactivate my old Sidewinder FF Pro (FCC ID: C3KJ4), but I don't get any FF...

Board is equiped with a teensy2 (no ++)
All wires, connections and resistors checked, no short circuit, no dead wires or connections.
Tested with the optional capacitators and without them.
Firmware is the 'adaptffbjoy-r54.hex' (I've tried '3DPro32u4-10.hex', too)
Joystick is recognized as a 'LUFA Joystick wFFB' and all buttons and axis are working.
But I get no FF at all (only the basic 'centering force' of the stick)...

'fedit.exe' and 'FFConst.exe' allready tried to check FF.
With the '3dPro' hex file it is not recognizes ad a joystick supporting FF
(but that's what I've read in the descriptions), with the 'adaptffbjoy-r54.hex' it is supported.

Whenever a FF command is sent the teensy shows me a short 'blink'
but nothing happens to the stick...
Same with games supporting FF. Teensy is blinking, but nothing else hapens.

I#ve also tried to install the unsigned 'Com Port Driver' (working after forcing Win8.1 64 to accept unsigned drivers)
No changes...

My multimeter sais that the midi out has about 5v output, so power is presend (but no readable changes during midi actions).

Any Idea? Or is my joystick dead (or not compatible)

Deciman
Deciman
DBB Cadet
DBB Cadet
Posts: 2
Joined: Thu Oct 20, 2016 8:51 am

Re: Reverse Engineering the Force Feedback Pro

Post by Deciman »

Deciman wrote:Hi guys
I've built the adapter to reactivate my old Sidewinder FF Pro (FCC ID: C3KJ4), but I don't get any FF...
Just quoting my own posting...

Finally I've got it woking..

I've
- Installed the com port drivers from teensy (don't know if that was one of the reasons or not)
- tried several hex files
- rebooted firmware several times
- hotplugged joystick several times (with and without power plugged to the stick)

And suddenly something felt different... The 'basic' force from the stick was missing
and it was reacting to the FF test programms....

I think there are several issues...
- First the com port.. Is seems that it is loaded but not started allways.
- Then the hex file. I've managed to get my stick working with only one file that I found here as an attachment
(adaptffbjoy-shift-beta-hex-files.zip -> adaptffbjoy-shift-svn-2014-11-08-beta.hex)
All other hex files were not working at my present testing state.
- Most times (but not allways) it helps to plug the stick in WITHOUT power connected, wait until windows got is and then connect power.

I've also figured out that it makes no difference wether the optional capacitators are built or not.
FF works without them, too (if it works...)

Hope it helps...

Deciman

Edit: Working with the same config on Win7 32, too.
Here I've installed the com port drivers from the adaptffb-master package...
So it seems to make no difference which driver is used. Teensy or the one from the package. Both are working...
kevnician
DBB Cadet
DBB Cadet
Posts: 2
Joined: Mon Jan 16, 2017 4:20 pm

Re: Reverse Engineering the Force Feedback Pro

Post by kevnician »

r8dhex wrote:
osterac wrote:
r8dhex wrote:The trigger switch is different, and I wasn't able to replace it yet.

...

I noticed that axes have some jittering with FFB on. It's noticeable when you alternately cover/uncover the IR sensor on the grip. Could this be a wiring issue, interference perhaps?
You might try some contact cleaner on the trigger switch.

By jittering, you you mean that the stick waggles from side to side trying to center itself? Mine does this too sometimes, mostly during tests - less so in games. Depends on your spring center adjustments in your test software and can get worse if you have effects like friction, damping, and/or grooves enabled. I know this stick uses optical sensors for the axes - if those are dirty perhaps cleaning them or just blowing them out with some canned air might help...
Actually, the trigger finally died, after I put the grip back. No amount of pressure will work. I found the part numbers for those switches and I'm trying to order them (cheaply, intl shipping costs more than the parts).

By jittering, I don't mean the shaking from FFB. Even when completely centered, holding the stick steady, no forces. There seems to be noise on all the axes, including throttle and twist, when I cover the photosensor. Take my fingers off the photosensor, and everything quiets down. This happens even on the trunk version I compiled.
I was wondering if anyone could point me to the part number for the replacement trigger buttons?

Thanks
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16039
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Re: Reverse Engineering the Force Feedback Pro

Post by Krom »

http://www.mouser.com/ProductDetail/Omron/B3M-6009/

Trigger switch, works in 3dpro, precision pro, force feedback, precision 2, etc.
kevnician
DBB Cadet
DBB Cadet
Posts: 2
Joined: Mon Jan 16, 2017 4:20 pm

Re: Reverse Engineering the Force Feedback Pro

Post by kevnician »

Krom wrote:http://www.mouser.com/ProductDetail/Omron/B3M-6009/

Trigger switch, works in 3dpro, precision pro, force feedback, precision 2, etc.
Thanks for the quick reply! Glad to see there is still interest.
ddropski
DBB Cadet
DBB Cadet
Posts: 1
Joined: Mon Apr 03, 2017 1:48 pm

Re: Reverse Engineering the Force Feedback Pro

Post by ddropski »

Hi guys.

I also was hoping to get this working on win 10 PRO. I see there are 7 pages of tech info that ( I wont lie) is way over my head ... so can someone Please give me the cliff notes on what I need to do to get my FFBP working ..on win 10 .... I would really appreciate it ... I am amazed at all the work you guys have put in to this project you all are amazing


thank you all so very much .

dd
jaffa225man
DBB Cadet
DBB Cadet
Posts: 15
Joined: Mon Dec 15, 2014 5:32 pm

Re: Reverse Engineering the Force Feedback Pro

Post by jaffa225man »

r8dhex wrote:So things are stalled on the hardware side, I'm still waiting for replacement switches and other parts to arrive.

In the meantime, I've played around with the code, and incorporated jaffa225man's fix to enable shift. I also added 16 extra buttons, so I can connect up to 8 switches to the remaining pins on the teensy. The 8 extra buttons are also shift-able.

I've forked the github repo, and pushed my changes to my repo. I'm not sure that everyone wants these changes, so I'll keep them as separate for now.

If anyone's interested, you can get the code from the links below. You'll have to compile them yourself though.

This one has the original 16 buttons, but with shift enabled
https://github.com/r8dhex/adapt-ffb-joy ... hiftEnable

This one has shift enabled, plus 16 more buttons
https://github.com/r8dhex/adapt-ffb-joy ... oreButtons

credit goes to the original developers, and to jaffa225man for the shift-patch.
Thanks r8dhex, I'm honored! I think your work at adding sixteen extra buttons was probably harder to figure out than my shift patch.

With your ability to add buttons, I think Scotophor's idea about making the shift button number 10 (triggering even on its own without another button pressed) with a phantom/unpressable button 9, would be fairly easy. I probably prefer my method of emulating extra buttons, but it may be that some older games need to see button 10 to use shift (whereas shifting with the three equivalent buttons needed with my shift emulation would be hard/impossible).
Scotophor wrote:@jaffa225man- Re: button 9 "acting more like it does on an actual gameport", what system are you using for your actual gameport? As I recall, when my system was Win98, the shift button would only work as a shift in two ways:
  1. If the game explicitly recognized it as a shift button. Jane's WWII Fighters does this, as can be seen by examining ww2keys.txt (key and joy mappings control file). Notice the references and entries mentioning "JOY_SHIFT".
  2. If the user set it up that way using the Microsoft Sidewinder Game Controller profile software, that only works on pre-XP OS'es.
On my XP system with the FFP plugged into a real gameport, in the Control Panel and in games, the shift button appears as "Button 10" (there is no button 9 on the stick, but a button 9 which can't be activated appears in the control panel). It does not work as a shift unless the game itself is programmed or can be set up to recognize it as such.

This is not to say that you're doing anything wrong by implementing shift functionality in the FFB-Vert firmware! All I'm saying is that your implementation seems to me to be not "as it was", but in fact better than it was, if it makes the 8 regular buttons transparently appear to games as if they are 16 buttons, regardless of whether the game understands the concept of a "shift button".
Most modern games allow buttons to be defined, so making the shift button number 10, and having it pressed while also pressing emulated combinations as 11-18 (or 9 and 11-17) probably wouldn't break much. But, again, I doubt those old games would even recognize it correctly, as whatever digital-gameport ID (if anything was analogous to usb-descriptors then) and the driver, is not present with this adapter.
ddropski wrote:Hi guys.

I also was hoping to get this working on win 10 PRO. I see there are 7 pages of tech info that ( I wont lie) is way over my head ... so can someone Please give me the cliff notes on what I need to do to get my FFBP working ..on win 10 .... I would really appreciate it ... I am amazed at all the work you guys have put in to this project you all are amazing


thank you all so very much .

dd
I just tested it on a "Windows 10 Home" computer and had no difference from older windows versions. I have no reason to believe "Pro" wouldn't be the same too. Just plug it into a USB port, (and power for forces). Then, if the "windows" ("super") key is pressed at the same time as the 'x' key, the windows 7-style "Control Panel" can be opened. From there, you can click "View Devices and Printers" under "Hardware and Sound". There, right-click the "LUFA Joystick wFFB" and click "Game Controller Settings", and finally click "Properties" to test yours is working fully. The ForceTest utility, Scanjo attached on page 5, can still be used to make sure the forces work properly if you don't have a game that supports force feedback.

Thanks,

Luke
xforce
DBB Cadet
DBB Cadet
Posts: 4
Joined: Thu Jul 06, 2017 1:52 pm

Re: Reverse Engineering the Force Feedback Pro

Post by xforce »

Hi,

I'm trying to resolder my FFB pro's cable to a new gameport connector but I don't know which color belongs to which pin of the db15 connector,

does anyone here know and could tell me?
r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

xforce wrote:Hi,

I'm trying to resolder my FFB pro's cable to a new gameport connector but I don't know which color belongs to which pin of the db15 connector,

does anyone here know and could tell me?
Hi xforce, I don't know if you still need this but, this is from my notes when I rewired my FFBPro.



The first column is the mainboard pin, #1 is the pin closest to the joystick sensor. hope this helps.
xforce
DBB Cadet
DBB Cadet
Posts: 4
Joined: Thu Jul 06, 2017 1:52 pm

Re: Reverse Engineering the Force Feedback Pro

Post by xforce »

r8dhex wrote:
Hi xforce, I don't know if you still need this but, this is from my notes when I rewired my FFBPro.

The first column is the mainboard pin, #1 is the pin closest to the joystick sensor. hope this helps.
thanks, this really helps a lot, because now I've seen that my list was completely wrong
I don't understand the color-names though,


what is Orange-White, Green-White, Brown-White ?

And what is shield?

I only have these colors

Code: Select all

1	red
2	violet
	
3	grey
4	black
7	dark blue
10	green
11	white
12	helllblue	
14	yellow

attached a picture of my cable
Attachments
IMG_9701.jpg
r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

xforce wrote:
r8dhex wrote:
Hi xforce, I don't know if you still need this but, this is from my notes when I rewired my FFBPro.

The first column is the mainboard pin, #1 is the pin closest to the joystick sensor. hope this helps.
thanks, this really helps a lot, because now I've seen that my list was completely wrong
I don't understand the color-names though,


what is Orange-White, Green-White, Brown-White ?

And what is shield?

I only have these colors

Code: Select all

1	red
2	violet
	
3	grey
4	black
7	dark blue
10	green
11	white
12	helllblue	
14	yellow

attached a picture of my cable
Damn. It's been more than a year ago, but I guess that my color codes referred to the colors of the wires I used to rewire my FFBPro. I used a Cat5-UTP cable. So, it's probably useless to anyone else.

I have a picture here though of my mainboard, with the original wires still on it. http://i.imgur.com/72uYu5J.jpg
The wires will be numbered 1-11 from top to bottom on the picture, left side wires are the wires i used (red at the top pin1, brown at the bottom pin11)
Shield wire is connected to the D-shaped metal "shell" surrounding the connector.
xforce
DBB Cadet
DBB Cadet
Posts: 4
Joined: Thu Jul 06, 2017 1:52 pm

Re: Reverse Engineering the Force Feedback Pro

Post by xforce »

r8dhex wrote:
xforce wrote:
r8dhex wrote:
Hi xforce, I don't know if you still need this but, this is from my notes when I rewired my FFBPro.

The first column is the mainboard pin, #1 is the pin closest to the joystick sensor. hope this helps.
thanks, this really helps a lot, because now I've seen that my list was completely wrong
I don't understand the color-names though,


what is Orange-White, Green-White, Brown-White ?

And what is shield?

I only have these colors

Code: Select all

1	red
2	violet
	
3	grey
4	black
7	dark blue
10	green
11	white
12	helllblue	
14	yellow

attached a picture of my cable
Damn. It's been more than a year ago, but I guess that my color codes referred to the colors of the wires I used to rewire my FFBPro. I used a Cat5-UTP cable. So, it's probably useless to anyone else.

I have a picture here though of my mainboard, with the original wires still on it. http://i.imgur.com/72uYu5J.jpg
The wires will be numbered 1-11 from top to bottom on the picture, left side wires are the wires i used (red at the top pin1, brown at the bottom pin11)
Shield wire is connected to the D-shaped metal "shell" surrounding the connector.


thank you,
i'll try to fix my Sidewinder with this

now looking at it, isn't the right side (going to the cut off cable) the ones that went to the gameport?
because I cut off the gameport connector of my FFBpro
r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

xforce wrote:
r8dhex wrote:
xforce wrote:
r8dhex wrote:
Hi xforce, I don't know if you still need this but, this is from my notes when I rewired my FFBPro.

The first column is the mainboard pin, #1 is the pin closest to the joystick sensor. hope this helps.
thanks, this really helps a lot, because now I've seen that my list was completely wrong
I don't understand the color-names though,


what is Orange-White, Green-White, Brown-White ?

And what is shield?

I only have these colors

Code: Select all

1	red
2	violet
	
3	grey
4	black
7	dark blue
10	green
11	white
12	helllblue	
14	yellow

attached a picture of my cable
Damn. It's been more than a year ago, but I guess that my color codes referred to the colors of the wires I used to rewire my FFBPro. I used a Cat5-UTP cable. So, it's probably useless to anyone else.

I have a picture here though of my mainboard, with the original wires still on it. http://i.imgur.com/72uYu5J.jpg
The wires will be numbered 1-11 from top to bottom on the picture, left side wires are the wires i used (red at the top pin1, brown at the bottom pin11)
Shield wire is connected to the D-shaped metal "shell" surrounding the connector.


thank you,
i'll try to fix my Sidewinder with this

now looking at it, isn't the right side (going to the cut off cable) the ones that went to the gameport?
because I cut off the gameport connector of my FFBpro
Yes, the right-side cable goes to the gameport connector, I cut mine off too.
xforce
DBB Cadet
DBB Cadet
Posts: 4
Joined: Thu Jul 06, 2017 1:52 pm

Re: Reverse Engineering the Force Feedback Pro

Post by xforce »

r8dhex wrote:
xforce wrote:
r8dhex wrote:
xforce wrote:
r8dhex wrote:
Hi xforce, I don't know if you still need this but, this is from my notes when I rewired my FFBPro.

The first column is the mainboard pin, #1 is the pin closest to the joystick sensor. hope this helps.
thanks, this really helps a lot, because now I've seen that my list was completely wrong
I don't understand the color-names though,


what is Orange-White, Green-White, Brown-White ?

And what is shield?

I only have these colors

Code: Select all

1	red
2	violet
	
3	grey
4	black
7	dark blue
10	green
11	white
12	helllblue	
14	yellow

attached a picture of my cable
Damn. It's been more than a year ago, but I guess that my color codes referred to the colors of the wires I used to rewire my FFBPro. I used a Cat5-UTP cable. So, it's probably useless to anyone else.

I have a picture here though of my mainboard, with the original wires still on it. http://i.imgur.com/72uYu5J.jpg
The wires will be numbered 1-11 from top to bottom on the picture, left side wires are the wires i used (red at the top pin1, brown at the bottom pin11)
Shield wire is connected to the D-shaped metal "shell" surrounding the connector.


thank you,
i'll try to fix my Sidewinder with this

now looking at it, isn't the right side (going to the cut off cable) the ones that went to the gameport?
because I cut off the gameport connector of my FFBpro
Yes, the right-side cable goes to the gameport connector, I cut mine off too.
asking because you said
left side wires are the wires i used (red at the top pin1, brown at the bottom pin11)
so I need to find out the order of the right side wires, and find out to what gameport pin each goes
r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

xforce wrote:
r8dhex wrote:
xforce wrote:
r8dhex wrote:
xforce wrote:
r8dhex wrote:
Hi xforce, I don't know if you still need this but, this is from my notes when I rewired my FFBPro.

The first column is the mainboard pin, #1 is the pin closest to the joystick sensor. hope this helps.
thanks, this really helps a lot, because now I've seen that my list was completely wrong
I don't understand the color-names though,


what is Orange-White, Green-White, Brown-White ?

And what is shield?

I only have these colors

Code: Select all

1	red
2	violet
	
3	grey
4	black
7	dark blue
10	green
11	white
12	helllblue	
14	yellow

attached a picture of my cable
Damn. It's been more than a year ago, but I guess that my color codes referred to the colors of the wires I used to rewire my FFBPro. I used a Cat5-UTP cable. So, it's probably useless to anyone else.

I have a picture here though of my mainboard, with the original wires still on it. http://i.imgur.com/72uYu5J.jpg
The wires will be numbered 1-11 from top to bottom on the picture, left side wires are the wires i used (red at the top pin1, brown at the bottom pin11)
Shield wire is connected to the D-shaped metal "shell" surrounding the connector.


thank you,
i'll try to fix my Sidewinder with this

now looking at it, isn't the right side (going to the cut off cable) the ones that went to the gameport?
because I cut off the gameport connector of my FFBpro
Yes, the right-side cable goes to the gameport connector, I cut mine off too.
asking because you said
left side wires are the wires i used (red at the top pin1, brown at the bottom pin11)
so I need to find out the order of the right side wires, and find out to what gameport pin each goes
pretty much
papounet2
DBB Cadet
DBB Cadet
Posts: 2
Joined: Mon May 19, 2014 4:38 pm

Re: Reverse Engineering the Force Feedback Pro

Post by papounet2 »

Hi,

I had ordered an adapter some time ago but could not get it working the first time.
I am getting ready to play star citizen and bought a Thrustmaster 1600M which is fine.
But I had a bout of nostalgia , and I tried the adapter again and this time !!! I got my FFB Pro without Fan working with both adaptffbjoy-r54.hex and 3DPro32u4-10.hex with Win7 64.
With the former FW, the slider (throttle) appears rather unstable in Joy.cpl. with the late, the % bar is less jumpy
the later FW could be slightly more responsive.

Calibration is a bit of a problem, because a slight off-center setting and the ship is perpetuall drifting, but several calibration run later, i managed to have it stable.

I would be very very interested in getting the FW with the shift button (8 button+shift+8 shifted extra buttons) compiled for the teensys 2.0.

In the mean time, i will look into dual joysticks 6-DOF configuration
jaffa225man
DBB Cadet
DBB Cadet
Posts: 15
Joined: Mon Dec 15, 2014 5:32 pm

Re: Reverse Engineering the Force Feedback Pro

Post by jaffa225man »

papounet2 wrote:Hi,

I had ordered an adapter some time ago but could not get it working the first time.
I am getting ready to play star citizen and bought a Thrustmaster 1600M which is fine.
But I had a bout of nostalgia , and I tried the adapter again and this time !!! I got my FFB Pro without Fan working with both adaptffbjoy-r54.hex and 3DPro32u4-10.hex with Win7 64.
With the former FW, the slider (throttle) appears rather unstable in Joy.cpl. with the late, the % bar is less jumpy
the later FW could be slightly more responsive.

Calibration is a bit of a problem, because a slight off-center setting and the ship is perpetuall drifting, but several calibration run later, i managed to have it stable.

I would be very very interested in getting the FW with the shift button (8 button+shift+8 shifted extra buttons) compiled for the teensys 2.0.

In the mean time, i will look into dual joysticks 6-DOF configuration
If you mean the modifications I made, it was for the teensy 2.0. The hex files are already compiled and can be uploaded directly with PJRC's Teensy Loader (https://www.pjrc.com/teensy/loader.html). You can find the two versions I built as hex files in the zip file attached, in this very thread, here: http://descentbb.net/viewtopic.php?p=348404#p348404

Oh well, you probably know all that and meant r8dhex's repository for an additional 8 (16 with shift) buttons (but, yeah, it hasn't been precompiled): http://descentbb.net/viewtopic.php?p=36 ... 70#p362748


Good luck,

Luke
r8dhex
DBB Cadet
DBB Cadet
Posts: 16
Joined: Mon Feb 08, 2016 6:44 pm

Re: Reverse Engineering the Force Feedback Pro

Post by r8dhex »

I have the .hex file attached here. This makes all the original buttons 1-8, appear as 9-16 when the shift button is pressed. Of course credit goes to jaffa225man for the original shift implementation which I simply added on to.

If you wanted to use buttons 17-24, you'll wire buttons to pins PB7, PD1, PD2, PC6, PC7, PB6, PD7, PD4. They will also be shiftable.

Let me know how it works out for you.
papounet2 wrote:Hi,

I had ordered an adapter some time ago but could not get it working the first time.
I am getting ready to play star citizen and bought a Thrustmaster 1600M which is fine.
But I had a bout of nostalgia , and I tried the adapter again and this time !!! I got my FFB Pro without Fan working with both adaptffbjoy-r54.hex and 3DPro32u4-10.hex with Win7 64.
With the former FW, the slider (throttle) appears rather unstable in Joy.cpl. with the late, the % bar is less jumpy
the later FW could be slightly more responsive.

Calibration is a bit of a problem, because a slight off-center setting and the ship is perpetuall drifting, but several calibration run later, i managed to have it stable.

I would be very very interested in getting the FW with the shift button (8 button+shift+8 shifted extra buttons) compiled for the teensys 2.0.

In the mean time, i will look into dual joysticks 6-DOF configuration
Attachments
moreButtons.zip
(18.1 KiB) Downloaded 877 times
Gamester17
DBB Cadet
DBB Cadet
Posts: 2
Joined: Fri Dec 15, 2017 8:31 am

Re: Reverse Engineering the Force Feedback Pro

Post by Gamester17 »

mozgy wrote: Wed Apr 08, 2015 10:42 am Heya folks, I'm new here but not that new in Descent world,
(got 0.7ver zip, I think, from some IRC channel ;) ).

Anyway here's my take on making a working adapter - took schematics into free version of Eagle, made gerber files, sent to Seeed and here it is -
PCBs.jpg

Big THANK You to all the creators/coders that made this possible ..

--
Mozz
Anyone care to share these or other gerber files for making an adapter for FFP?

I got a couple of FFP that I like to revive and might as well make it right :wink:
schumpo
DBB Cadet
DBB Cadet
Posts: 1
Joined: Mon Feb 19, 2018 5:31 am

Re: Reverse Engineering the Force Feedback Pro

Post by schumpo »

Hello Everybody,

I know this thread is very old, but there are still some people trying to make the good old Sidewinder FFB pro work...

My Hardware:
  • PC with Windows 10 pro
    MS Sidewinder FFB Pro
    Teensy 2.0
    Female DB-15 Port
I recently bought the parts for the Teensy-DB15-Connection from the well-known "adapt-ffb-joy"-project and soldered them together according to the circuit plan. Everything seems to be connected fine.

This is my problem:

1. When I plug in my board, the Teensy is recognised by Windows.
2. The LED on the stick is illuminated constantly, also i can "sense" that the motors in the stick are activated, the stick centers.
3. Now I can transfer the "adaptffbjoy-shift-r54-beta.hex" onto the teensy...

and here comes the problem...

Nothing happens, the teensy just starts blinking rapidly. There is no new hardware recognized by Windows.

I've tried all available Hex-Files I could get - same results.
I resoldered the board with shorter wires and the capacitors - same results.
I installed the serial port drivers from the Teensy Website - same results
The Teensy itself seems to be working fine, I tried and tested several things with Arduino - it does what it should do - but not with the Stick :-(


Unfortunataly I could not finde ANY hint what this rapid blinking means... and yes, I'm a noob and also German, so my English understanding isn't thhat good.

Is anyone on this board still "alive" and able to help me?

Thanks a lot in advance,

Christian
Nelsson
DBB Cadet
DBB Cadet
Posts: 1
Joined: Thu Feb 22, 2018 7:35 am

Re: Reverse Engineering the Force Feedback Pro

Post by Nelsson »

I've tried to work with Sidewinder FFB Wheel. I've already tried to use several hex-versions of adapt-ffb-joy and sidewinder-arduino with Freeduino (Arduino Duemilanove clone) with no success. Arduino goes crazy when wiring pins together, therefore I cannot achieve exactly the same wiring that's used by Teensy HEX builds. Neither Linux or Windows recognizes the Arduino as LUFA Joystick when it's running with adapt-ffb-joy hex compiled for Teensy 2.0.

My wiring is this, except with no capacitors and I cannot complete all the wiring without completely messing up the Arduino.
viewtopic.php?f=8&t=19061&start=200#p345065

I've also tried the following more straightforward hacks, but the computer doesn't recognize the Joystick. I've tried with Win 8, Win XP and Linux Manjaro.

Converting A Microsoft Sidewinder Precision Pro To USB For Use With APM Mission Planner


Converting Sidewinder Precision Flightstick Pro To USB


I also tested the output's from wires to analog inputs with several resistor setups, only to find out that signals indeed aren't analog, but rather there seems to be some sort of digital protocol. I opened the wheel, and found no potentiometers, but an optical encoder instead. I've yet to find out how the pedals work. I don't quite have the skills to hack a digital protocol, nor do I understand much of adapt-ffb-joy code. I got the wheel for 5€ from recycling center, so it's not that big of a big deal. :)

Maybe it would be fun in the future to just bypass the original pcb and wire the optical encoder straight to Arduino, motor to Arduino via motor driver chip, buttons straight to Arduino, and then mod the heck out of the wheel. :D

edit: Pedals have potentiometers, there's some pretty nice ready-made Arduino code for force feedback wheel using optical encoder over here http://www.aiwave.fr/downloads/ESP_WHEEL_0.3.zip so it should be possible to work around the problem this way too.
Dooser
DBB Cadet
DBB Cadet
Posts: 1
Joined: Mon Jul 16, 2018 12:45 am

Re: Reverse Engineering the Force Feedback Pro

Post by Dooser »

[In case anyone still watches this old thread...]

First of all, great work ! I built the adapter and the old FFP works like a charm !

However, I see several axes which are not there or need additional hardware: 'Z axis', 'X rotation', 'Y rotation' and 'Slider'. The problem is that some games will try to use those instead of the available ones (i.e. X3: Terran Conflict will not recognize the 'Throttle' control, no matter which options I change).

Can anyone build a HEX file which excludes these additional axes ? (the actual joystick only has 'X', 'Y', 'Z rotation' and 'Throttle'). I'd be happy to Paypal that person a beer for their trouble.
MacroPolo
DBB Cadet
DBB Cadet
Posts: 1
Joined: Wed Sep 19, 2018 7:33 am

Re: Reverse Engineering the Force Feedback Pro

Post by MacroPolo »

r8dhex wrote: Sun Feb 21, 2016 7:32 pm So things are stalled on the hardware side, I'm still waiting for replacement switches and other parts to arrive.

In the meantime, I've played around with the code, and incorporated jaffa225man's fix to enable shift. I also added 16 extra buttons, so I can connect up to 8 switches to the remaining pins on the teensy. The 8 extra buttons are also shift-able.

I've forked the github repo, and pushed my changes to my repo. I'm not sure that everyone wants these changes, so I'll keep them as separate for now.

If anyone's interested, you can get the code from the links below. You'll have to compile them yourself though.

This one has the original 16 buttons, but with shift enabled
https://github.com/r8dhex/adapt-ffb-joy ... hiftEnable

This one has shift enabled, plus 16 more buttons
https://github.com/r8dhex/adapt-ffb-joy ... oreButtons

credit goes to the original developers, and to jaffa225man for the shift-patch.
I'm experiencing the same jitter in the axis.

Was you problem a bredboard one? It stabilized by only soldering properly the Arduino board to the cables?

Please could you post last .hexes of the firmware? I'm unable to compile thè sources.

Many thanks I'm advance. Regards, Pablo
Implicit
DBB Cadet
DBB Cadet
Posts: 1
Joined: Tue Oct 23, 2018 12:02 am

Re: Reverse Engineering the Force Feedback Pro

Post by Implicit »

schumpo wrote: Mon Feb 19, 2018 5:47 am Hello Everybody,

I know this thread is very old, but there are still some people trying to make the good old Sidewinder FFB pro work...

My Hardware:
  • PC with Windows 10 pro
    MS Sidewinder FFB Pro
    Teensy 2.0
    Female DB-15 Port
I recently bought the parts for the Teensy-DB15-Connection from the well-known "adapt-ffb-joy"-project and soldered them together according to the circuit plan. Everything seems to be connected fine.

This is my problem:

1. When I plug in my board, the Teensy is recognised by Windows.
2. The LED on the stick is illuminated constantly, also i can "sense" that the motors in the stick are activated, the stick centers.
3. Now I can transfer the "adaptffbjoy-shift-r54-beta.hex" onto the teensy...

and here comes the problem...

Nothing happens, the teensy just starts blinking rapidly. There is no new hardware recognized by Windows.

I've tried all available Hex-Files I could get - same results.
I resoldered the board with shorter wires and the capacitors - same results.
I installed the serial port drivers from the Teensy Website - same results
The Teensy itself seems to be working fine, I tried and tested several things with Arduino - it does what it should do - but not with the Stick :-(


Unfortunataly I could not finde ANY hint what this rapid blinking means... and yes, I'm a noob and also German, so my English understanding isn't thhat good.

Is anyone on this board still "alive" and able to help me?

Thanks a lot in advance,

Christian
I'm having exact same problem. It'll recognize it if I load the standard Teensy joystick software on it, but nothing happens when I load any of the adaptffbjoy versions.
Rapid blink, windows doesn't see anything. Does it need to have external 5v power to work?
User avatar
Scanjo
DBB Ace
DBB Ace
Posts: 64
Joined: Wed Oct 23, 2013 9:01 pm

Re: Reverse Engineering the Force Feedback Pro

Post by Scanjo »

GroteGoedheid wrote: Sun Jul 17, 2016 12:45 pm Hi there,

hopefully someone is still on this thread, since the last time something was posted about the reverse engineering of the FFB Wheel in which the name Cal was mentioned, is way back in 2014.
It was actually Skoo who was doing most of the work on the wheel.
GroteGoedheid wrote: Sun Jul 17, 2016 12:45 pm But unfortunately I cannot find any response by Cal, so I wonder if this project is still going on? If so, I would like to read from it. If not, I can throw away my FFB Wheel, I suppose.
Thanks in advance.
Skoo has the wheel functioning but without FFB at the moment. With this in mind I would not toss it. It's useable, just not FULLY as was intended from the factory...
=================
More info is on MY SITE.
User avatar
Scanjo
DBB Ace
DBB Ace
Posts: 64
Joined: Wed Oct 23, 2013 9:01 pm

Re: Reverse Engineering the Force Feedback Pro

Post by Scanjo »

Deciman wrote: Thu Oct 20, 2016 9:19 am Hi guys

I hope you can help me....

I've built the adapter to reactivate my old Sidewinder FF Pro (FCC ID: C3KJ4), but I don't get any FF...

Board is equiped with a teensy2 (no ++)
All wires, connections and resistors checked, no short circuit, no dead wires or connections.
Tested with the optional capacitators and without them.
Firmware is the 'adaptffbjoy-r54.hex' (I've tried '3DPro32u4-10.hex', too)
Joystick is recognized as a 'LUFA Joystick wFFB' and all buttons and axis are working.
But I get no FF at all (only the basic 'centering force' of the stick)...

'fedit.exe' and 'FFConst.exe' allready tried to check FF.
With the '3dPro' hex file it is not recognizes ad a joystick supporting FF
(but that's what I've read in the descriptions), with the 'adaptffbjoy-r54.hex' it is supported.

Whenever a FF command is sent the teensy shows me a short 'blink'
but nothing happens to the stick...
Same with games supporting FF. Teensy is blinking, but nothing else hapens.

I#ve also tried to install the unsigned 'Com Port Driver' (working after forcing Win8.1 64 to accept unsigned drivers)
No changes...

My multimeter sais that the midi out has about 5v output, so power is presend (but no readable changes during midi actions).

Any Idea? Or is my joystick dead (or not compatible)

Deciman
I have links to programs that help with testing the stick functions in my FAQ. See if these help.

http://www.iowajohnsons.com/FFBVert/FAQ.php#19
=================
More info is on MY SITE.
User avatar
Scanjo
DBB Ace
DBB Ace
Posts: 64
Joined: Wed Oct 23, 2013 9:01 pm

Re: Reverse Engineering the Force Feedback Pro

Post by Scanjo »

Deciman wrote: Fri Oct 21, 2016 7:31 am
Deciman wrote:Hi guys
I've built the adapter to reactivate my old Sidewinder FF Pro (FCC ID: C3KJ4), but I don't get any FF...
Just quoting my own posting...

Finally I've got it woking..

I've
- Installed the com port drivers from teensy (don't know if that was one of the reasons or not)
- tried several hex files
- rebooted firmware several times
- hotplugged joystick several times (with and without power plugged to the stick)

And suddenly something felt different... The 'basic' force from the stick was missing
and it was reacting to the FF test programms....

I think there are several issues...
- First the com port.. Is seems that it is loaded but not started allways.
- Then the hex file. I've managed to get my stick working with only one file that I found here as an attachment
(adaptffbjoy-shift-beta-hex-files.zip -> adaptffbjoy-shift-svn-2014-11-08-beta.hex)
All other hex files were not working at my present testing state.
- Most times (but not allways) it helps to plug the stick in WITHOUT power connected, wait until windows got is and then connect power.

I've also figured out that it makes no difference wether the optional capacitators are built or not.
FF works without them, too (if it works...)

Hope it helps...

Deciman

Edit: Working with the same config on Win7 32, too.
Here I've installed the com port drivers from the adaptffb-master package...
So it seems to make no difference which driver is used. Teensy or the one from the package. Both are working...
The order that things are plugged in CAN make a difference. There doesn't seem to be any set order or any rhyme or reason to it. Just try it different ways on your system and when you find the order that works for you, stick with it. ALL the hex files work for their intended purpose.

Some builds the capacitors are optional. On others they are required. Capacitors are cheap. Just put them in and it will always work. Without them it may not.
=================
More info is on MY SITE.
claud2000
DBB Cadet
DBB Cadet
Posts: 2
Joined: Thu Dec 20, 2018 10:57 pm

Re: Reverse Engineering the Force Feedback Pro

Post by claud2000 »

Implicit wrote: Tue Oct 23, 2018 12:06 am
schumpo wrote: Mon Feb 19, 2018 5:47 am Hello Everybody,

I know this thread is very old, but there are still some people trying to make the good old Sidewinder FFB pro work...

My Hardware:
  • PC with Windows 10 pro
    MS Sidewinder FFB Pro
    Teensy 2.0
    Female DB-15 Port
I recently bought the parts for the Teensy-DB15-Connection from the well-known "adapt-ffb-joy"-project and soldered them together according to the circuit plan. Everything seems to be connected fine.

This is my problem:

1. When I plug in my board, the Teensy is recognised by Windows.
2. The LED on the stick is illuminated constantly, also i can "sense" that the motors in the stick are activated, the stick centers.
3. Now I can transfer the "adaptffbjoy-shift-r54-beta.hex" onto the teensy...

and here comes the problem...

Nothing happens, the teensy just starts blinking rapidly. There is no new hardware recognized by Windows.

I've tried all available Hex-Files I could get - same results.
I resoldered the board with shorter wires and the capacitors - same results.
I installed the serial port drivers from the Teensy Website - same results
The Teensy itself seems to be working fine, I tried and tested several things with Arduino - it does what it should do - but not with the Stick :-(


Unfortunataly I could not finde ANY hint what this rapid blinking means... and yes, I'm a noob and also German, so my English understanding isn't thhat good.

Is anyone on this board still "alive" and able to help me?

Thanks a lot in advance,

Christian
I'm having exact same problem. It'll recognize it if I load the standard Teensy joystick software on it, but nothing happens when I load any of the adaptffbjoy versions.
Rapid blink, windows doesn't see anything. Does it need to have external 5v power to work?
Hi there , I have recently successfully built the convert for my FFP,and it works indeed.

My PC is win10.
Ms sidewinder force feedback PRO , product ID 66883-.....

Actually I met your problem as well , the light blink rapidly , and PC don’t have any feedback . it takes me a lot of time to check and finally I figure out what is wrong. I use wrong resistors . it should be 2.2k resistors , but I use 220k .
When I replace them with correct resistors . it work . the light blink 2-3 times and then will be light on for around 1-2second and then light off , then PC will recognize the FFP . it’s so great!!!
Hope my experience can help you .
BTW ,I am Chinese. My English is poor. Hope you can understand what I said .
Post Reply