OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
Loading...
Searching...
No Matches
inputHub::neutralGear Namespace Reference

Neutral gear operation. More...

Functions

void set (InputNumber neutral, InputNumberCombination combination={JOY_LSHIFT_PADDLE, JOY_RSHIFT_PADDLE})
 Set a "virtual" button for the neutral gear.
 

Detailed Description

Neutral gear operation.

Function Documentation

◆ set()

void inputHub::neutralGear::set ( InputNumber neutral,
InputNumberCombination combination = {JOY_LSHIFT_PADDLEJOY_RSHIFT_PADDLE} )

Set a "virtual" button for the neutral gear.

Parameters
neutralInput number assigned to the neutral gear "virtual" button. Should not be assigned to a hardware input.
combinationA combination of input numbers to trigger the neutral gear button. Must be assigned to two or more hardware inputs.