#include <hardware-input.h>
Public Member Functions | |
MouseHardwareInputSet (const HardwareInputTableEntry *buttonEntries) | |
HardwareInput | findHardwareInput (const String &id) const override |
HardwareInput | findHardwareInput (const Event &event) const override |
A mouse input device
Describes the mouse buttons
|
overridevirtual |
Retrieve a hardware input description from an unique identifier
In case no input was found with the specified id, an empty HardwareInput structure is return with the type set to kHardwareInputTypeInvalid.
Implements Common::HardwareInputSet.
|
overridevirtual |
Retrieve a hardware input description from one of the events produced when the input is triggered.
In case the specified event is not produced by this device, an empty HardwareInput structure is return with the type set to kHardwareInputTypeInvalid.
Implements Common::HardwareInputSet.