Header menu logo Mibo

Trigger Type

Represents a physical hardware input trigger, expressed in backend-neutral codes so an InputMap is portable across backends.

Union cases

Union case Description

GamepadButton(player, gamepadButton)

Full Usage: GamepadButton(player, gamepadButton)

Parameters:
player : int
gamepadButton : GamepadButtonCode

Key keyCode

Full Usage: Key keyCode

Parameters:
keyCode : KeyCode

KeyCombo keyCombo

Full Usage: KeyCombo keyCombo

Parameters:
keyCombo : Set<KeyCode>

MouseButton mouseButton

Full Usage: MouseButton mouseButton

Parameters:
mouseButton : MouseButtonCode

Instance members

Instance member Description

this.IsGamepadButton

Full Usage: this.IsGamepadButton

Returns: bool
Returns: bool

this.IsKey

Full Usage: this.IsKey

Returns: bool
Returns: bool

this.IsKeyCombo

Full Usage: this.IsKeyCombo

Returns: bool
Returns: bool

this.IsMouseButton

Full Usage: this.IsMouseButton

Returns: bool
Returns: bool

Type something to start searching.