UserInput
General User Input for local player. Most of the inputs are designed to be independent of the players dominant hand selection, device or platform, or custom key bindings.
Members
Static Properties
Name | Description |
---|---|
UserInput .ALT | Button Left Alt in keyboard. This input is desktop mode only. |
UserInput .CPress | Button C in keyboard. This input is desktop mode only. |
UserInput .CTRL | Button Left Ctrl in keyboard. This input is desktop mode only. |
UserInput .Grip1 | Grip button 1. In default hand dominance mode this input maps to following controls: * Left controller grab button in VR Mode * The button Q in keyboard in Desktop/Webgl mode |
UserInput .Grip2 | Grip button 2. In default hand dominance mode this input maps to following controls: * Right controller grab button in VR Mode * The button E in keyboard in Desktop/Webgl mode |
UserInput .Joy1 | The Joystick 1, The "Movement". In default hand dominance mode, this input maps to the following controls: |
UserInput .Joy2 | The Joystick 2, The "Movement". In default hand dominance mode, this input maps to the following controls: * Right controller Joystick in VR mode * Arrow keys in Desktop/Webgl mode |
UserInput .JoyClick1 | Joystick click 1 In default hand dominance mode this input maps to following controls: * Left controller joystick click |
UserInput .JoyClick2 | Joystick click 2 In default hand dominance mode this input maps to following controls: * Right controller joystick click |
UserInput .Primary2 | Primary button 2, "Jump" In default hand dominance mode this input maps to following controls: * First button in Right VR Controller in VR Mode * Space button in Desktop/Webgl mode |
UserInput .Secondary2 | Secondary button 2 In default hand dominance mode this input maps to following controls: * Second button in Right VR Controller in VR mode |
UserInput .TriggerAxis1 | Trigger 1 value [0-1]. In default hand dominance mode this input maps to following controls: * Left controller trigger burron in VR Mode |
UserInput .TriggerAxis2 | Trigger 2 value [0-1]. In default hand dominance mode this input maps to following controls: * Right controller trigger burron in VR Mode |
UserInput .TriggerPress1 | Trigger 1 pressed. In default hand dominance mode this input maps to following controls: * Left controller trigger button in VR mode * Left Mouse button in Desktop/Webgl mode |
UserInput .TriggerPress2 | Trigger 2 pressed. In default hand dominance mode this input maps to following controls: * Right controller trigger button in VR mode * Right Mouse button in Desktop/Webgl mode |