![]() |
OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
|
Fake digital input for testing. More...
#include <InputHardware.hpp>
Public Member Functions | |
| FakeDigitalInput (FakeInput *instance) | |
| Construct a new Fake Digital Input object. | |
| virtual void | read (uint128_t &state) override |
| Read the current state of the inputs (pressed or released) | |
Public Member Functions inherited from DigitalInput | |
Fake digital input for testing.
Definition at line 563 of file InputHardware.hpp.
|
inline |
Construct a new Fake Digital Input object.
| instance | Fake input specification |
Definition at line 574 of file InputHardware.hpp.
|
inlineoverridevirtual |
Read the current state of the inputs (pressed or released)
| [in,out] | state | At call, state of all inputs as recorded in the previous iteration. Whether the current state is unknown, state must be kept untouched. At return, new state of the inputs. |
Implements DigitalInput.
Definition at line 576 of file InputHardware.hpp.