Arduino Universal Inputs
A collection of libraries for managing/processing input devices on Arduino.
|
Represents an input device. More...
#include <IInputDevice.h>
Public Member Functions | |
IInputDevice (inputid_t id) | |
Creates a new input device. More... | |
inputid_t | getID () const |
Retrieves the ID of this device. More... | |
virtual inputtype_t | type () const =0 |
Retrieves the type of this device. More... | |
virtual bool | poll ()=0 |
Polls this input device for change. More... | |
Represents an input device.
Provides basic functionality for an abstract input device.
|
inline |
Creates a new input device.
id | ID of the inout device |
|
inline |
Retrieves the ID of this device.
|
pure virtual |
|
pure virtual |