UInputManager
Engine/source/platformX86UNIX/x86UNIXInputManager.h
Private Types
Parent
Private Attributes
Public Friends
Public Functions
bool
bool
bool
bool
enable()
bool
bool
bool
const char *
getJoystickAxesString(U32 deviceID)
bool
bool
isActive()
bool
bool
bool
bool
bool
bool
bool
bool
onAdd()
Called when the object is added to the sim.
onDeleteNotify(SimObject * object)
Called when a SimObject is deleted.
setLocking(bool enabled)
setWindowLocked(bool locked)
Private Functions
joyAxisEvent(const SDL_Event & event)
joyAxisEvent(U8 deviceID, U8 axisNum, S16 axisValue)
joyButtonEvent(const SDL_Event & event)
joyButtonEvent(U8 deviceID, U8 buttonNum, bool pressed)
mouseButtonEvent(const SDL_Event & event)
mouseMotionEvent(const SDL_Event & event)
bool
processKeyEvent(InputEventInfo & event)
Detailed Description
Private Types
typedef SimGroup Parent
Private Attributes
bool mActive
bool mJoystickActive
bool mJoystickEnabled
Vector< JoystickInputDevice * > mJoystickList
bool mKeyboardActive
bool mKeyboardEnabled
bool mKeyboardState [256]
S32 mLastMouseX
S32 mLastMouseY
bool mLocking
S32 mModifierKeys
bool mMouseActive
bool mMouseButtonState [3]
bool mMouseEnabled
Public Friends
Public Functions
UInputManager()
activate()
activateJoystick()
activateKeyboard()
activateMouse()
deactivate()
deactivateJoystick()
deactivateKeyboard()
deactivateMouse()
disable()
Reimplemented from: InputManager
disableJoystick()
disableKeyboard()
disableMouse()
enable()
Reimplemented from: InputManager
enableJoystick()
enableKeyboard()
enableMouse()
getJoystickAxesString(U32 deviceID)
getLocking()
init()
isActive()
isJoystickActive()
isJoystickEnabled()
isKeyboardActive()
isKeyboardEnabled()
isMouseActive()
isMouseEnabled()
joystickDetected()
onAdd()
Reimplemented from: SimObject
onDeleteNotify(SimObject * object)
Reimplemented from: SimSet
onRemove()
Reimplemented from: SimGroup
process()
Reimplemented from: InputManager
setLocking(bool enabled)
setWindowLocked(bool locked)
Private Functions
initJoystick()
joyAxisEvent(const SDL_Event & event)
joyAxisEvent(U8 deviceID, U8 axisNum, S16 axisValue)
joyButtonEvent(const SDL_Event & event)
joyButtonEvent(U8 deviceID, U8 buttonNum, bool pressed)
joyHatEvent(U8 deviceID, U8 hatNum, U8 prevHatState, U8 currHatState)
keyEvent(const SDL_Event & event)
lockInput()
mouseButtonEvent(const SDL_Event & event)
mouseMotionEvent(const SDL_Event & event)
processKeyEvent(InputEventInfo & event)
resetInputState()
resetKeyboardState()
resetMouseState()
unlockInput()