Arduino Sim Racing Library v1.1.4
|
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 237 of file SimRacing.h.
|
inlinevirtual |
Initialize the hardware (if necessary)
Reimplemented in SimRacing::Pedals, SimRacing::AnalogShifter, and SimRacing::Handbrake.
Definition at line 242 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::Pedals, SimRacing::AnalogShifter, and SimRacing::Handbrake.
Definition at line 252 of file SimRacing.h.
|
pure virtual |
Perform a poll of the hardware to refresh the class state.
Implemented in SimRacing::Pedals, SimRacing::AnalogShifter, and SimRacing::Handbrake.