Arduino software to make a clutch and handbreak to Logitech DFGT wheel. The potentiometer version worked well with Assetto Corsa game. pCARS game doesn't work, because it can't recognize two joystick.
For Arduino Leonardo/Micro
Will be necessary download and install libraries for each version:
Potentiometer version use Joystick.h:
https://github.com/MHeironimus/ArduinoJoystickLibrary/tree/version-1.0
Switch version use keyboard.h:
https://www.arduino.cc/en/Tutorial/KeyboardSerial
The hardware was printed with a 3D printer, the parts can be found here:
https://www.thingiverse.com/thing:671536
https://www.thingiverse.com/thing:2994189
https://www.thingiverse.com/thing:3154657
Videos:
https://www.youtube.com/watch?v=w80ICCchgjo