FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::IJoystickListener Class Referenceabstract

Listener of joystick events. More...

#include <ijoysticklistener.h>

+ Collaboration diagram for FIFE::IJoystickListener:

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual FIFE::IJoystickListener::~IJoystickListener ( )
inlinevirtual

Definition at line 77 of file ijoysticklistener.h.

Member Function Documentation

virtual void FIFE::IJoystickListener::axisMotion ( JoystickEvent evt)
pure virtual

Called on a axis motion event.

Parameters
evtJoystickEvent that describes the event.
virtual void FIFE::IJoystickListener::buttonPressed ( JoystickEvent evt)
pure virtual

Called on a button pressed event.

Parameters
evtJoystickEvent that describes the event.
virtual void FIFE::IJoystickListener::buttonReleased ( JoystickEvent evt)
pure virtual

Called on a button released event.

Parameters
evtJoystickEvent that describes the event.
virtual void FIFE::IJoystickListener::deviceAdded ( JoystickEvent evt)
pure virtual

Called on a device added event.

Parameters
evtJoystickEvent that describes the event.
virtual void FIFE::IJoystickListener::deviceRemoved ( JoystickEvent evt)
pure virtual

Called on a device removed event.

Parameters
evtJoystickEvent that describes the event.
virtual void FIFE::IJoystickListener::hatMotion ( JoystickEvent evt)
pure virtual

Called on a hat motion event.

Parameters
evtJoystickEvent that describes the event.

The documentation for this class was generated from the following file: