InputAction
Represents a single input trigger such as a key, mouse button, or gamepad control.
Constructor
-
InputAction(scancode: Scancode) → InputAction -
InputAction(keycode: Keycode) → InputAction -
InputAction(mouse_button: MouseButton) → InputAction -
InputAction(
gamepad_button: GamepadButton,
slot: SupportsInt = 0
) → InputAction -
InputAction(
gamepad_axis: GamepadAxis,
is_positive: bool,
slot: SupportsInt = 0
) → InputAction
Represents a single input trigger such as a key, mouse button, or gamepad control.