UInputMan
From Data Realms Wiki
(Redirected from UInputManager)
Contents |
UInputMan
UInputMan is a UserData that manages user input. This for Cortex Command can be the mouse, keyboard, or a game pad. (The joystick functions are probably for gamepads.)
Member functions
Functions for the most part correspond to a specific controller device, though a few are more general
General
Mouse
- UInputMan:SetMousePos
- UInputMan:DisableMouseMoving
- UInputMan:ForceMouseWithinPlayerScreen
- UInputMan:MouseButtonPressed
- UInputMan:MouseButtonHeld
- UInputMan:MouseWheelMoved
- UInputMan:AnyMouseButtonPress
- UInputMan:TrapMousePos
- UInputMan:MouseUsedByPlayer
- UInputMan:SetMouseValueMagnitude
- UInputMan:ForceMouseWithinBox
- UInputMan:MouseButtonReleased
Keyboard
Gamepad
- UInputMan:AnalogMoveValues
- UInputMan:AnalogAimValues
- UInputMan:AnalogAxisValue
- UInputMan:AnalogStickValues
- UInputMan:ElementHeld
- UInputMan:ElementPressed
- UInputMan:ElementReleased
- UInputMan:JoyDirectionPressed
- UInputMan:JoyButtonPressed
- UInputMan:JoyButtonReleased
- UInputMan:AnyJoyPress
- UInputMan:AnyJoyButtonPress
- UInputMan:AnyJoyInput
- UInputMan:WhichJoyButtonPressed
- UInputMan:JoyButtonHeld
- UInputMan:JoyDirectionReleased
- UInputMan:JoyDirectionHeld
Notes
Key/Button values are numbers and correspond to the values in Settings.ini.
These values may be found from the console by calling a function while a key is held down. Here are some examples:
Alternatively you can see this list: Keylist