Listener interface that allows to receive notifications when device button states change.
More...
#include <GainputInputListener.h>
Listener interface that allows to receive notifications when device button states change.
- Examples:
- /samples/listener/listenersample.cpp, /samples/recording/recordingsample.cpp, and /samples/sync/syncsample.cpp.
◆ GetPriority()
virtual int gainput::InputListener::GetPriority |
( |
| ) |
const |
|
inlinevirtual |
◆ OnDeviceButtonBool()
virtual bool gainput::InputListener::OnDeviceButtonBool |
( |
DeviceId |
device, |
|
|
DeviceButtonId |
deviceButton, |
|
|
bool |
oldValue, |
|
|
bool |
newValue |
|
) |
| |
|
inlinevirtual |
◆ OnDeviceButtonFloat()
virtual bool gainput::InputListener::OnDeviceButtonFloat |
( |
DeviceId |
device, |
|
|
DeviceButtonId |
deviceButton, |
|
|
float |
oldValue, |
|
|
float |
newValue |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: