Arduino Sim Racing Library v1.1.5
|
Abstract class for all peripherals. More...
#include <SimRacing.h>
Public Member Functions | |
virtual void | begin () |
Initialize the hardware (if necessary) | |
virtual bool | update ()=0 |
Perform a poll of the hardware to refresh the class state. | |
virtual bool | isConnected () const |
Check if the device is physically connected to the board. | |
Abstract class for all peripherals.
Definition at line 249 of file SimRacing.h.
|
inlinevirtual |
Initialize the hardware (if necessary)
Reimplemented in SimRacing::AnalogShifter, SimRacing::Handbrake, and SimRacing::Pedals.
Definition at line 254 of file SimRacing.h.
|
inlinevirtual |
Check if the device is physically connected to the board.
That means it is both present and detected long enough to be considered 'stable'.
Reimplemented in SimRacing::AnalogShifter, SimRacing::Handbrake, and SimRacing::Pedals.
Definition at line 264 of file SimRacing.h.
|
pure virtual |
Perform a poll of the hardware to refresh the class state.
Implemented in SimRacing::AnalogShifter, SimRacing::Handbrake, and SimRacing::Pedals.