44 virtual bool OnDigitalMotion(
bool bPressed,
unsigned int holdTimeMs) = 0;
54 virtual bool OnAnalogMotion(
float magnitude,
unsigned int motionTimeMs) = 0;
virtual bool OnDigitalMotion(bool bPressed, unsigned int holdTimeMs)=0
A key mapped to a digital feature has been pressed or released.
virtual bool OnAnalogMotion(float magnitude, unsigned int motionTimeMs)=0
Callback for keys mapped to analog features.
Interface for handling keymap keys.
Definition: IKeyHandler.h:23
Definition: AudioDecoder.h:18
virtual bool IsPressed() const =0
Return true if the key is "pressed" (has a magnitude greater than 0.5)