Joystick mod

The Joystick mod allows you to mount a joystick on the top of the gearbox that will act as both a joystick, and a mouse! The joystick is mounted on the port provided for the pedals. It is therefore impossible to use this mod with the pedals.

Pressing the joystick is equivalent to a left click. Holding it down for a long time switches the mouse mod to the joystick mod (directional arrows) and vice versa.

Summary

  1. Shopping list
  2. Wiring
  3. Les fichiers 3D
  4. Le code

1) Shopping list

  • a joystick (Aliexpress)
  • DIN912 : 4xM3x8
  • Wires (already present in the main shopping list)
  • Dupont connectors

2) Wiring

The joystick is wired to the pedal port on the PCB :

JoystickPCBArduino
XThrottleA0
YBrakeA1
SWClutchA2
GNDGNDGND
5V5V5V

3) 3D files

The files are on the google Drive.

4) The code

The mod requires at least the 2.52 code.

Just replace :

//#define SRTMOUSE

by :

#define SRTMOUSE

Be careful, as soon as the mod is activated, the joystick behaves like a mouse. If there is a problem on the assembly, you may have difficulties to use your mouse (cursor systematically goes to the left for example). Engaging the sixth gear disable the mouse behaviour, so if anything goes wrong, engage the 6th.

I've been passionate about cars since I was a kid! I learned the multiple variations of the Skyline R34 through the Gran Tursimo series, until I discovered GTR2 at the wheel of a keyboard. A few years later, I plunged back into Sim Racing with a G27 which made me enter the DIY world. Always looking for an immersion out of reach in reality, I develop projects that I take care to make accessible to any 3D printer owner!
Posts created 102

7 thoughts on “Joystick mod

  1. Hi Lebois, is it a typo in Section 4? Should I “uncomment” that “define SRTMOUSE” statement? Thanks?
    —- QUOTE ————–
    Just replace :
    //#define SRTMOUSE
    by :
    //#define SRTMOUSE
    —- END QUOTE ————-

    1. Hi Lebois, my friend downloaded the latest rc12 to try adding joystick. But when he enabled him joystick then the 6-button panel disabled. He got this message when troubleshooting the issue. May I ask if there is any tweak required to enable button/joystick/eClutch on a single unit without exceeding the memory usage? Thanks a lot. (he has not use pedals).

  2. Hi Lebois, my friend downloaded the latest rc12 to try adding joystick. But when he enabled him joystick then the 6-button panel disabled. He got this message when troubleshooting the issue.

    https://www.arduino.cc/en/Guide/Troubleshooting#size

    May I ask if there is any settings adjustment/ tweak required to enable button/joystick/eClutch on a single unit without exceeding the memory usage? Thanks a lot. (he confirmed that he has not use pedals).

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top