- #MICROSOFT SIDEWINDER PRECISION 2 JOYSTICK WORN OUT SERIAL#
- #MICROSOFT SIDEWINDER PRECISION 2 JOYSTICK WORN OUT MANUAL#
- #MICROSOFT SIDEWINDER PRECISION 2 JOYSTICK WORN OUT FULL#
- #MICROSOFT SIDEWINDER PRECISION 2 JOYSTICK WORN OUT CODE#
If you leave it open it will float back and forth and make it hard to assign axes in games.
#MICROSOFT SIDEWINDER PRECISION 2 JOYSTICK WORN OUT FULL#
Right now it always thinks it's twisted full left. I just grounded the sense pin, but what I should have done was put in a voltage divider so it always thinks it's centered. Since the twist is part of the grip itself and not the base, my stick no longer twists. You'll have to pull the power cable between sessions to power it down. You can leave all of this out and it will work fine, but the FFB motors will be permanently on. I desoldered the infrared LED and photodiode from the circuit board in the MSFFB2 grip and put them on a little board facing each other, and I wired the switch in so it cuts power to the LED when I want to turn FFB on. For some reason it wouldn't work when I just used the switch in place of the phototransistor, and I eventually got fed up with trying to be clever. I replaced this with a switch on the base. The only difficult part is the little infrared sensor the MSFFB2 uses to turn the force on and off. The grip is slightly unbalanced, and there might be room to put some lead counterweight in the base, but it works fine with the power on. If you wanted to be really fancy you could fashion a connector to use an unmodified Cougar or Warthog grip. Physically mounting the grip was just a matter of cutting both shafts, boring out the F-16 shaft, smoothing out the MSFFB2 shaft, and epoxying them together. You might need to tweak the buttonInputs1 macros for the newer sticks.
#MICROSOFT SIDEWINDER PRECISION 2 JOYSTICK WORN OUT CODE#
The code should be similar to read a Cougar or Warthog stick, but I think they have slightly different button assignment. The Teensy board is teensy, so it easily fits anywhere in the base of the MSFFB2. This send_now() transmits everything all at once.Ĭonnect the chip via USB, program it, and you're done. the computer does not see any of the changes yet.
#MICROSOFT SIDEWINDER PRECISION 2 JOYSTICK WORN OUT MANUAL#
Because setup configured the Joystick manual send, take the SS pin high to de-select the chip: send a value of 0 to read the SPI bytes take the SS pin low to select the chip loop() runs for as long as power is applied require you to manually call nd_now(). control over when the computer receives updates, but it does configure the joystick to manual send mode. #define H2D !(buttonInputs3 & 0x08) /* TMS */ #define H3D !(buttonInputs3 & 0x80) /* DMS */ #define H4U !(buttonInputs2 & 0x08) /* CMS */ #define H1D !(buttonInputs2 & 0x80) /* Trim */ #define S2 !(buttonInputs1 & 0x04) /* Pickle */ #define S4 !(buttonInputs1 & 0x08) /* Paddle Switch */ #define S1 !(buttonInputs1 & 0x10) /* Nose Wheel Steering */
#define TG2 !(buttonInputs1 & 0x20) /* Trigger 2 */ #define TG1 !(buttonInputs1 & 0x40) /* Trigger 1 */ #define S3 !(buttonInputs1 & 0x80) /* Pinky Switch */
Unsigned int buttonInputs1 // data read from SPI Buttons are muxed into shift registers, use the SPI protocol to read them You must select Joystick from the "Tools > USB Type" menu brown and green go to the +5V and GND pins, orange goes to SCLK (pin 1), red goes to SS (pin 0), and yellow goes to MISO (pin 3). It's programmable with the Arduino IDE and comes with a USB joystick profile ready-built, so it could hardly be easier. I think the cheapest project board with SPI is a Teensy 2.0, for $16.
#MICROSOFT SIDEWINDER PRECISION 2 JOYSTICK WORN OUT SERIAL#
On the old F-16 I identified the brown wire as +5V, green as ground, orange as clock, red as enable, and yellow as serial data out. It's completely compatible with SPI (serial peripheral interface). To read any of these sticks you need to give it +5V, ground, a clock source, a data line, and a select line. An old SNES controller uses the exact same principle. I don't know about the CH Fighterstick, but the Thrustmaster F-16, F-22, Cougar, and Warthog use three 8-bit shift registers to cut the grip wiring down to five conductors. I have no knowledge in electronics, but I will show those instructions to one who knows,īut please be as detailed as possible for the fools around here like me I would appreciate some detailed instructions of how you managed yours, I wish to try it with an old serial ch F16 fighterstick I have, use it's grip on my msff2,