FIFE
be64c707dea6b3250bd4355bf5c825d25920087d
|
Listener of joystick events. More...
#include <ijoysticklistener.h>
Public Member Functions | |
virtual void | axisMotion (JoystickEvent &evt)=0 |
Called on a axis motion event. More... | |
virtual void | hatMotion (JoystickEvent &evt)=0 |
Called on a hat motion event. More... | |
virtual void | buttonPressed (JoystickEvent &evt)=0 |
Called on a button pressed event. More... | |
virtual void | buttonReleased (JoystickEvent &evt)=0 |
Called on a button released event. More... | |
virtual void | deviceAdded (JoystickEvent &evt)=0 |
Called on a device added event. More... | |
virtual void | deviceRemoved (JoystickEvent &evt)=0 |
Called on a device removed event. More... | |
virtual | ~IJoystickListener () |
Public Member Functions inherited from FIFE::IListener | |
virtual bool | isActive () |
Indicates if the listener is active. More... | |
virtual void | setActive (bool active) |
Changes the listener status. More... | |
virtual | ~IListener () |
Additional Inherited Members | |
Protected Member Functions inherited from FIFE::IListener | |
IListener () | |
Listener of joystick events.
To be able to listen for joystick events you must make a class which inherits from this class and implements its functions.
Definition at line 44 of file ijoysticklistener.h.
|
inlinevirtual |
Definition at line 77 of file ijoysticklistener.h.
|
pure virtual |
Called on a axis motion event.
evt | JoystickEvent that describes the event. |
|
pure virtual |
Called on a button pressed event.
evt | JoystickEvent that describes the event. |
|
pure virtual |
Called on a button released event.
evt | JoystickEvent that describes the event. |
|
pure virtual |
Called on a device added event.
evt | JoystickEvent that describes the event. |
|
pure virtual |
Called on a device removed event.
evt | JoystickEvent that describes the event. |
|
pure virtual |
Called on a hat motion event.
evt | JoystickEvent that describes the event. |