|
Torque2D Reference
|
#include <platformInput.h>
Static Public Member Functions | |
| static void | init () |
| static void | destroy () |
| static bool | enable () |
| static void | disable () |
| static void | activate () |
| static void | deactivate () |
| static void | reactivate () |
| static void | enableMouse () |
| static void | disableMouse () |
| static void | enableKeyboard () |
| static void | disableKeyboard () |
| static bool | activateKeyboard () |
| static void | deactivateKeyboard () |
| static bool | enableJoystick () |
| static void | disableJoystick () |
| static void | echoInputState () |
| static U16 | getAscii (U16 keyCode, KEY_STATE keyState) |
| static U16 | getKeyCode (U16 asciiCode) |
| static bool | isEnabled () |
| static bool | isActive () |
| static bool | isMouseEnabled () |
| static bool | isKeyboardEnabled () |
| static void | process () |
| static void | setCursorPos (S32 x, S32 y) |
| static void | setCursorState (bool on) |
| If True, turn on the platform's cursor. More... | |
| static void | setCursorShape (U32 cursorID) |
| static void | pushCursor (S32 cursorID) |
| Push a cursor shape using the Cursor Manager. More... | |
| static void | popCursor () |
| Pop the current cursor off of the Cursor Manager stack. More... | |
| static void | refreshCursor () |
| Refresh the current cursor's shape. More... | |
| static U32 | getDoubleClickTime () |
| static S32 | getDoubleClickWidth () |
| static S32 | getDoubleClickHeight () |
| static InputManager * | getManager () |
| Return InputManager Singleton. More... | |
| static CursorManager * | getCursorManager () |
| Return CursorManager Singleton. More... | |
| static U8 | getModifierKeys () |
| static void | setModifierKeys (U8 mod) |
Static Protected Attributes | |
| static InputManager * | smManager = NULL |
| Input Manager Singleton. More... | |
| static CursorManager * | smCursorManager = 0 |
| Cursor Manager Singleton. More... | |
| static bool | smActive = false |
| Is Input Active. More... | |
| static bool | smLastKeyboardActivated |
| static U8 | smModifierKeys |
| Current Modifier Keys Pressed. More... | |
| static bool | smLastMouseActivated |
| static bool | smLastJoystickActivated |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Return CursorManager Singleton.
|
static |
|
static |
|
static |
|
static |
|
static |
Return InputManager Singleton.
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Pop the current cursor off of the Cursor Manager stack.
|
static |
|
static |
Push a cursor shape using the Cursor Manager.
|
static |
|
static |
Refresh the current cursor's shape.
|
static |
|
static |
|
static |
If True, turn on the platform's cursor.
|
inlinestatic |
|
staticprotected |
Is Input Active.
|
staticprotected |
Cursor Manager Singleton.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
Input Manager Singleton.
|
staticprotected |
Current Modifier Keys Pressed.
1.8.10