The Sim Racing Library is an Arduino library for interfacing sim racing equipment such as pedals and gear shifters with Arduino development boards.
Install the library using either the .zip file from the latest release or by searching for "Sim Racing" in the libraries manager of the Arduino IDE. See the Arduino documentation on how to install libraries for more information.
Read the documentation to check if your device is supported by the library. Follow the wiring instructions on the device page to connect your device to the Arduino.
Run one of the library examples in the Arduino IDE by going to File -> Examples -> Sim Racing Library
. For all peripherals, call begin()
to initialize the class and update()
to refresh with new data.
- Two pedal peripherals (gas + brake)
- Three pedal peripherals (gas, brake, clutch)
- Analog shifters
- Analog handbrakes
- Logitech Two Pedal Peripheral (Gas, Brake)
- Logitech Three Pedal Peripheral (Gas, Brake, Clutch)
- Logitech Driving Force Shifter
This library is licensed under the terms of the GNU Lesser General Public License (LGPL), either version 3 of the License, or (at your option) any later version. See the LICENSE file for more information.