Extension tool for the Unity Input System that adds support for the Logitech G29 steering wheel and provides additional functionality for handling input. This tool is designed to enhance the Unity Input System with new features and capabilities, making it easier to work with input devices and manage user interactions in your games and applications.
Inputter is a extensions of new input system for Unity with combination of Logitech G SDK. Inputter has a new input device called "LogitechG29" with all force feedback and all buttons/axis. This "new" input device was built by using Logitech G SDK.
- Add package from this git URL:
com.mrrobin.inputter
or https://github.com/MrRobinOfficial/Unity-Inputter.git
Or
- Clone repo and extract to your Unity project folder.
using Inputter;
To access Logitech G29 SDK stuff, just access LogitechG29 input device instead
const float MIN_RPM = 0f;
const float MAX_RPM = 15000f;
float throttleInput = 0.5f;
LogitechG29.current.PlayLeds(throttleInput * MAX_RPM, MIN_RPM, MAX_RPM);
For button check, simple use indexer to get ButtonControl
int speedLimiter = 0;
if (LogitechG29.current[LogitechG29.G29Button.Plus].wasReleasedThisFrame)
speedLimiter++;
if (LogitechG29.current[LogitechG29.G29Button.Minus].wasReleasedThisFrame)
speedLimiter--;