Public Member Functions | |
| EventHandler () | |
| ~EventHandler () | |
| bool | keyPressed (const KeyEvent &arg) |
| bool | keyReleased (const KeyEvent &arg) |
| bool | buttonPressed (const JoyStickEvent &arg, int button) |
| bool | buttonReleased (const JoyStickEvent &arg, int button) |
| bool | axisMoved (const JoyStickEvent &arg, int axis) |
| bool | povMoved (const JoyStickEvent &arg, int pov) |
| void | displayHelp () |
| EventHandler () | |
| ~EventHandler () | |
| bool | keyPressed (const KeyEvent &arg) |
| bool | keyReleased (const KeyEvent &arg) |
| bool | mouseMoved (const MouseEvent &arg) |
| bool | mousePressed (const MouseEvent &arg, MouseButtonID id) |
| bool | mouseReleased (const MouseEvent &arg, MouseButtonID id) |
| bool | buttonPressed (const JoyStickEvent &arg, int button) |
| bool | buttonReleased (const JoyStickEvent &arg, int button) |
| bool | axisMoved (const JoyStickEvent &arg, int axis) |
| bool | povMoved (const JoyStickEvent &arg, int pov) |
| EventHandler () | |
| ~EventHandler () | |
| bool | keyPressed (const KeyEvent &arg) |
| bool | keyReleased (const KeyEvent &arg) |
| bool | mouseMoved (const MouseEvent &arg) |
| bool | mousePressed (const MouseEvent &arg, MouseButtonID id) |
| bool | mouseReleased (const MouseEvent &arg, MouseButtonID id) |
Private Attributes | |
| bool | configuringFF |
Definition at line 46 of file FFConsoleDemo.cpp.
| EventHandler::EventHandler | ( | ) | [inline] |
Definition at line 50 of file FFConsoleDemo.cpp.
| EventHandler::~EventHandler | ( | ) | [inline] |
Definition at line 51 of file FFConsoleDemo.cpp.
| EventHandler::EventHandler | ( | ) | [inline] |
Definition at line 58 of file OISConsole.cpp.
| EventHandler::~EventHandler | ( | ) | [inline] |
Definition at line 59 of file OISConsole.cpp.
| EventHandler::EventHandler | ( | ) | [inline] |
Definition at line 28 of file SdlDemo.cpp.
| EventHandler::~EventHandler | ( | ) | [inline] |
Definition at line 29 of file SdlDemo.cpp.
| bool EventHandler::keyPressed | ( | const KeyEvent & | arg | ) | [inline, virtual] |
Implements OIS::KeyListener.
Definition at line 53 of file FFConsoleDemo.cpp.
References appRunning, OIS::KC_ESCAPE, OIS::KC_Q, and OIS::KeyEvent::key.
| bool EventHandler::keyReleased | ( | const KeyEvent & | arg | ) | [inline, virtual] |
| bool EventHandler::buttonPressed | ( | const JoyStickEvent & | arg, | |
| int | button | |||
| ) | [inline, virtual] |
| bool EventHandler::buttonReleased | ( | const JoyStickEvent & | arg, | |
| int | button | |||
| ) | [inline, virtual] |
| bool EventHandler::axisMoved | ( | const JoyStickEvent & | arg, | |
| int | axis | |||
| ) | [inline, virtual] |
| bool EventHandler::povMoved | ( | const JoyStickEvent & | arg, | |
| int | pov | |||
| ) | [inline, virtual] |
| void EventHandler::displayHelp | ( | ) | [inline] |
Definition at line 83 of file FFConsoleDemo.cpp.
| bool EventHandler::keyPressed | ( | const KeyEvent & | arg | ) | [inline, virtual] |
Implements OIS::KeyListener.
Definition at line 60 of file OISConsole.cpp.
References OIS::EventArg::device, OIS::KeyEvent::key, and OIS::KeyEvent::text.
| bool EventHandler::keyReleased | ( | const KeyEvent & | arg | ) | [inline, virtual] |
Implements OIS::KeyListener.
Definition at line 66 of file OISConsole.cpp.
References appRunning, OIS::KC_ESCAPE, OIS::KC_Q, and OIS::KeyEvent::key.
| bool EventHandler::mouseMoved | ( | const MouseEvent & | arg | ) | [inline, virtual] |
Implements OIS::MouseListener.
Definition at line 71 of file OISConsole.cpp.
References OIS::Axis::abs, OIS::Axis::rel, OIS::MouseEvent::state, OIS::MouseState::X, OIS::MouseState::Y, and OIS::MouseState::Z.
| bool EventHandler::mousePressed | ( | const MouseEvent & | arg, | |
| MouseButtonID | id | |||
| ) | [inline, virtual] |
| bool EventHandler::mouseReleased | ( | const MouseEvent & | arg, | |
| MouseButtonID | id | |||
| ) | [inline, virtual] |
| bool EventHandler::buttonPressed | ( | const JoyStickEvent & | arg, | |
| int | button | |||
| ) | [inline, virtual] |
| bool EventHandler::buttonReleased | ( | const JoyStickEvent & | arg, | |
| int | button | |||
| ) | [inline, virtual] |
| bool EventHandler::axisMoved | ( | const JoyStickEvent & | arg, | |
| int | axis | |||
| ) | [inline, virtual] |
Implements OIS::JoyStickListener.
Definition at line 93 of file OISConsole.cpp.
References OIS::JoyStickState::mAxes, and OIS::JoyStickEvent::state.
| bool EventHandler::povMoved | ( | const JoyStickEvent & | arg, | |
| int | pov | |||
| ) | [inline, virtual] |
Reimplemented from OIS::JoyStickListener.
Definition at line 100 of file OISConsole.cpp.
References OIS::Pov::direction, OIS::JoyStickState::mPOV, and OIS::JoyStickEvent::state.
| bool EventHandler::keyPressed | ( | const KeyEvent & | arg | ) | [inline, virtual] |
Implements OIS::KeyListener.
Definition at line 30 of file SdlDemo.cpp.
References OIS::EventArg::device, OIS::KeyEvent::key, OutputMessage(), and OIS::KeyEvent::text.
| bool EventHandler::keyReleased | ( | const KeyEvent & | arg | ) | [inline, virtual] |
Implements OIS::KeyListener.
Definition at line 37 of file SdlDemo.cpp.
References appRunning, OIS::KC_ESCAPE, OIS::KC_Q, OIS::KeyEvent::key, and OutputMessage().
| bool EventHandler::mouseMoved | ( | const MouseEvent & | arg | ) | [inline, virtual] |
Implements OIS::MouseListener.
Definition at line 48 of file SdlDemo.cpp.
References OutputMessage(), and OIS::MouseEvent::state.
| bool EventHandler::mousePressed | ( | const MouseEvent & | arg, | |
| MouseButtonID | id | |||
| ) | [inline, virtual] |
Implements OIS::MouseListener.
Definition at line 57 of file SdlDemo.cpp.
References OutputMessage().
| bool EventHandler::mouseReleased | ( | const MouseEvent & | arg, | |
| MouseButtonID | id | |||
| ) | [inline, virtual] |
Implements OIS::MouseListener.
Definition at line 63 of file SdlDemo.cpp.
References OutputMessage().
bool EventHandler::configuringFF [private] |
Definition at line 48 of file FFConsoleDemo.cpp.
1.5.4