#include <InputAdapterDecorator.h>
Inheritance diagram for Odyssey::InputAdapterDecorator:
Public Member Functions | |
InputAdapterDecorator (InputAdapter *next, bool manage=true) | |
InputAdapterDecorator (InputAdapterPtr ptr) | |
virtual bool | keyPressed (const OIS::KeyEvent &evt) |
Called when a key is pressed on the keyboard. | |
virtual bool | keyReleased (const OIS::KeyEvent &evt) |
Called when a key is released on the keyboard. | |
virtual bool | mouseMoved (const OIS::MouseEvent &evt) |
Called when the mouse is moved. | |
virtual bool | mousePressed (const OIS::MouseEvent &evt, OIS::MouseButtonID id) |
Called when a mouse button is pressed. | |
virtual bool | mouseReleased (const OIS::MouseEvent &evt, OIS::MouseButtonID id) |
Called when a mouse button is released. | |
virtual bool | buttonPressed (const OIS::JoyStickEvent &evt, int id) |
Called when a joystick button is pressed. | |
virtual bool | buttonReleased (const OIS::JoyStickEvent &evt, int id) |
Called when a joystick button is released. | |
virtual bool | axisMoved (const OIS::JoyStickEvent &evt, int axis) |
Called when a joystick axis is moved. | |
virtual bool | povMoved (const OIS::JoyStickEvent &evt, int axis) |
Called when the pov hat on a joystick is moved. | |
Protected Attributes | |
InputAdapter * | _next |
InputAdapterPtr | _ptr |
|
|
|
|
|
Called when a joystick axis is moved.
Reimplemented from Odyssey::InputAdapter. |
|
Called when a joystick button is pressed.
Reimplemented from Odyssey::InputAdapter. |
|
Called when a joystick button is released.
Reimplemented from Odyssey::InputAdapter. |
|
Called when a key is pressed on the keyboard.
Reimplemented from Odyssey::InputAdapter. |
|
Called when a key is released on the keyboard.
Reimplemented from Odyssey::InputAdapter. |
|
Called when the mouse is moved.
Reimplemented from Odyssey::InputAdapter. |
|
Called when a mouse button is pressed.
Reimplemented from Odyssey::InputAdapter. |
|
Called when a mouse button is released.
Reimplemented from Odyssey::InputAdapter. |
|
Called when the pov hat on a joystick is moved.
Reimplemented from Odyssey::InputAdapter. |
|
|
|
|