UserStationInput
This is an object that holds the value of user input.
Members
Properties
Name | Description |
---|---|
UserStationInput .ALT | Desktop mode only, associated with button [Left Alt] in keyboard. |
UserStationInput .Crouch | Desktop mode only, associated with button [C] in keyboard. |
UserStationInput .CTRL | Desktop mode only, associated with button [Left Ctrl] in keyboard. |
UserStationInput .Jump | Desktop mode jump [Space] button is pressed. |
UserStationInput .KeyboardArrows | Arrow inputs from keyboard [up, down, left, right] when in Desktop Mode. |
UserStationInput .KeyboardMove | Move Inputs from keyboard [W,S,A,D] when in desktop mode. |
UserStationInput .LeftControl | The 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 .LeftGrab | The left controller grab button. It returns a value between 0 and 1, 1 being fully pressed. Associates to [q] button in desktop mode. |
UserStationInput .LeftPrimary | Left controller primary button. Associated with [Space] button in keyboard while in desktop mode. |
UserStationInput .LeftSecondary | Left controller secondary button. |
UserStationInput .LeftSprint | The 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 .LeftTrigger | Left 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 .RightControl | The 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 .RightGrab | The right controller grab button. It returns a value between 0 and 1, 1 being fully pressed. Associates to [e] button in desktop mode. |
UserStationInput .RightPrimary | Right controller primary button. Associated with [Space] button in keyboard while in desktop mode. |
UserStationInput .RightSecondary | Right controller secondary button. |
UserStationInput .RightSprint | The 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 .RightTrigger | Right 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. |