Open Dev Kit Documentation :: Game :: Input
Game.InputDefines an input event in the game
Functions
- Create Input ( Name String ) Input
- Creates a new input event with specified name
Properties
- Keyboard Key Keyboard Key
- keyboard key associated with the input event
- Cursor Action Cursor Action
- cursor action associated with the input event
- Gamepad Action Gamepad Action
- gamepad action associated with the input event
- VR Action VR Action
- virtual-reality action associated with the input event
- Device Integer
- index number of which device when there are multiple keyboards, mice, wands, touchscreens or gamepads; -1 for it to apply to all connected devices (not recommended)
- Player Integer
- optional number used to separate input events between players
- Factor Float
- factor that is multiplied to the raw value which can be used to give more weight to certain inputs or reverse an input for the opposite axis when used in the same event
- Valid Boolean
- whether input event is valid
If you think anything is missing, please feel free to: submit documentation feedback on this page
