![]() |
VR-Forces 4.6 Class Documentation
|
Handler that you insert into the manager to be made aware of game controller events. More...

Public Member Functions | |
| DtGameControllerEventHandler () | |
| virtual | ~DtGameControllerEventHandler () |
| virtual bool | gameControllerEvent (DtGenericControllerEvent *)=0 |
| Return true to handle the event and not allow other events to handle. | |
| virtual bool | canProcessEvent (DtGenericControllerEvent *) const |
| Return true if this event can be processed by this handler. | |
| virtual void | tick (bool sentEvents) |
| Called after game controller events are processed in any given tick. | |
| virtual void | gameControllerDeviceRemoved (int) |
| Called when a game controller device is removed. | |
| virtual void | gameControllerDeviceAdded (int) |
| Called when a game controller device is added. | |
| virtual bool | filterGameControllerEvent (DtGenericControllerEvent *) |
| Return true to filter this Game controller Event. | |
| virtual void | noQueuedEvents () |
| Called when there were events but now there are no longer queued events. | |
| virtual void | gameControlInformationAdded (const std::string &configuration, const std::string &functionGroup, const std::string &function, const DtGameControlInformation &i) |
| Called when game controller information is added or updated for the given configuration, function group and function. | |
Handler that you insert into the manager to be made aware of game controller events.
A subclass of this handler can be added to the joystick manager to be made aware of any joystick/keyboard event.
|
inline |
|
inlinevirtual |
|
pure virtual |
Return true to handle the event and not allow other events to handle.
Implemented in makVrv::DtButtonChoiceDialog, makVrv::DtAxisConfigurationSelectionDialog, and makVrv::DtJoystickFunctionEnableHandler.
|
inlinevirtual |
Return true if this event can be processed by this handler.
Return of false will filter the event for this handler
Reimplemented in makVrv::DtJoystickFunctionEnableHandler.
|
inlinevirtual |
Called after game controller events are processed in any given tick.
If sentEvents is true some game controller event was sent this tick
Reimplemented in makVrv::DtButtonChoiceDialog, and makVrv::DtJoystickFunctionEnableHandler.
|
inlinevirtual |
Called when a game controller device is removed.
Reimplemented in makVrv::DtButtonChoiceDialog, makVrv::DtJoystickFunctionEnableHandler, and makVrf::DtVrfGuiJoystickControlHandler.
|
inlinevirtual |
Called when a game controller device is added.
Reimplemented in makVrv::DtButtonChoiceDialog, and makVrv::DtJoystickFunctionEnableHandler.
|
inlinevirtual |
Return true to filter this Game controller Event.
Reimplemented in makVrv::DtButtonChoiceDialog, makVrv::DtJoystickFunctionEnableHandler, and makVrv::DtAxisConfigurationSelectionDialog.
|
inlinevirtual |
Called when there were events but now there are no longer queued events.
Reimplemented in makVrv::DtButtonChoiceDialog, and makVrv::DtJoystickFunctionEnableHandler.
|
inlinevirtual |
Called when game controller information is added or updated for the given configuration, function group and function.
Reimplemented in makVrv::DtJoystickFunctionEnableHandler.