MPMA Framework 0.4
|
Represents a button on a device. More...
#include <GameDevice.h>
Public Member Functions | |
const std::string & | GetName () const |
Returns the friendly name of 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. | |
bool | IsPressed () const |
Returns whether the button is currently pressed. | |
const Device * | GetDevice () const |
Returns the device this button belongs to. |
Represents a button on a device.