|
MPMA Framework 0.4
|
Represents an input button from an arbitrary device. More...
#include <Unified.h>
Public Member Functions | |
| bool | operator== (const UnifiedButton &o) const |
| <== | |
| bool | operator!= (const UnifiedButton &o) const |
| <!= | |
| bool | IsPressed () const |
| Returns whether the button is currently pressed. | |
| const std::string & | GetFriendlyName () const |
| Retrieves a user-friendly name for the button. | |
| const std::string | GetPersistentIdentifier () const |
| Returns an string that can be used to uniquely identify the button again after the program has exited. | |
Public Attributes | |
| DeviceType | Type |
| The source device of the button. | |
Represents an input button from an arbitrary device.
1.7.4