Class InputListener¶
Defined in File input_listener.h
Inheritance Relationships¶
Base Type¶
public MappedInputListener
Class Documentation¶
-
class
InputListener: public MappedInputListener¶ Helper class to receive inputs from Gainput.
Public Functions
-
InputListener(InputBoolListenerFunction boolListener, InputFloatListenerFunction floatListener)¶
-
InputListener(InputListener&)¶
-
~InputListener()¶
-
virtual bool
OnUserButtonBool(gainput::UserButtonId userButton, bool oldValue, bool newValue)¶
-
virtual bool
OnUserButtonFloat(gainput::UserButtonId userButton, float oldValue, float newValue)¶
-
int
getID() const¶
-
void
setID(int id)¶
-