enum Godot::JoyAxis

Overview

Godot JoyAxis global enum.

Defined in:

libgodot/generated/global_enums.cr

Enum Members

Invalid = -1_i64
LeftX = 0_i64
LeftY = 1_i64
RightX = 2_i64
RightY = 3_i64
TriggerLeft = 4_i64
TriggerRight = 5_i64
SdlMax = 6_i64
Max = 10_i64

Instance Method Summary

Instance methods inherited from struct Enum

!=(other : Int) : Bool !=, ==(other : Int) : Bool ==

Instance Method Detail

def invalid? #

Returns true if this enum value equals Invalid


def left_x? #

Returns true if this enum value equals LeftX


def left_y? #

Returns true if this enum value equals LeftY


def max? #

Returns true if this enum value equals Max


def right_x? #

Returns true if this enum value equals RightX


def right_y? #

Returns true if this enum value equals RightY


def sdl_max? #

Returns true if this enum value equals SdlMax


def trigger_left? #

Returns true if this enum value equals TriggerLeft


def trigger_right? #

Returns true if this enum value equals TriggerRight