Skip to content

Extension tool for the Unity Input System that adds support for the Logitech G29 steering wheel and provides additional functionality for handling input.

License

Notifications You must be signed in to change notification settings

MrRobinOfficial/Unity-Inputter

Repository files navigation

Inputter logo

Inputter [Unity Engine]

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.

license maintenance-status

Introduction

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.

Installation

Or

  • Clone repo and extract to your Unity project folder.

Quick guide

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--;

About

Extension tool for the Unity Input System that adds support for the Logitech G29 steering wheel and provides additional functionality for handling input.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages