Skip to main content

UserStationInput

This is an object that holds the value of user input.

Members

Properties

NameDescription
UserStationInput.ALTDesktop mode only, associated with button [Left Alt] in keyboard.
UserStationInput.CrouchDesktop mode only, associated with button [C] in keyboard.
UserStationInput.CTRLDesktop mode only, associated with button [Left Ctrl] in keyboard.
UserStationInput.JumpDesktop mode jump [Space] button is pressed.
UserStationInput.KeyboardArrowsArrow inputs from keyboard [up, down, left, right] when in Desktop Mode.
UserStationInput.KeyboardMoveMove Inputs from keyboard [W,S,A,D] when in desktop mode.
UserStationInput.LeftControlThe left primary control vector2. In some controllers this is accomplished by trackpad, in others by a joystick. Returns values from keyboard buttons [W,S,A,D] while the client is in desktop mode.
UserStationInput.LeftGrabThe left controller grab button. It returns a value between 0 and 1, 1 being fully pressed. Associates to [q] button in desktop mode.
UserStationInput.LeftPrimaryLeft controller primary button. Associated with [Space] button in keyboard while in desktop mode.
UserStationInput.LeftSecondaryLeft controller secondary button.
UserStationInput.LeftSprintThe left sprint action. This action triggered differently in different controller types. In joystick-based controller this is accomplished by clicking the joystick. In trackpad-based controllers, this is accomplished by double taping the trackpad. Associated with [Left Shift] button in keyboard while in desktop mode.
UserStationInput.LeftTriggerLeft trigger button. The trigger button is the button pressed by index finger. It returns a value between 0 and 1, 1 being fully pressed. Associates to [Left Mouse Button] while in desktop mode.
UserStationInput.RightControlThe right primary control vector2. In some controllers this is accomplished by trackpad, in others by a joystick. Returns values from keyboard buttons [W,S,A,D] while the client is in desktop mode.
UserStationInput.RightGrabThe right controller grab button. It returns a value between 0 and 1, 1 being fully pressed. Associates to [e] button in desktop mode.
UserStationInput.RightPrimaryRight controller primary button. Associated with [Space] button in keyboard while in desktop mode.
UserStationInput.RightSecondaryRight controller secondary button.
UserStationInput.RightSprintThe right sprint action. This action triggered differently in different controller types. In joystick-based controller this is accomplished by clicking the joystick. In trackpad-based controllers, this is accomplished by double taping the trackpad. Associated with [Left Shift] button in keyboard while in desktop mode.
UserStationInput.RightTriggerRight trigger button. The trigger button is the button pressed by index finger. It returns a value between 0 and 1, 1 being fully pressed. Associates to [Right Mouse Button] while in desktop mode.