#include <S5input.h>
Public Methods | |
| float | getMouseX () |
| float | getMouseY () |
| void | resetMousePosition () |
| void | resetMouse () |
| float | getKbForward () |
| float | getKbBackward () |
| float | getKbRight () |
| float | getKbLeft () |
| float | getKbUp () |
| float | getKbDown () |
| bool | getKbFire () |
| bool | getKbExit () |
| void | resetKbPresses () |
| bool | getActive () |
| void | setActive (bool a) |
| void | setRenderArea (SoXtRenderArea *renderArea) |
| SoXtRenderArea * | getRenderArea () |
| S5input () | |
| S5input (SoXtRenderArea *renderArea) | |
| virtual void | handleEvent (SoHandleEventAction *action) |
Static Public Methods | |
| void | initClass () |
Public Attributes | |
| float | mouseSensitivityX |
| float | mouseSensitivityY |
Protected Methods | |
| SbBool | mouseMoveCB (const SoLocation2Event *event) |
| SbBool | kbPressCB (const SoKeyboardEvent *event) |
| virtual | ~S5input () |
Protected Attributes | |
| SoXtRenderArea * | renderArea |
| bool | active |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001