class GSF::JoystickState

Defined in:

gsf/joysticks.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def any_just_pressed? #

[View source]
def any_pressed? #

[View source]
def axis_just_moved_negative?(axis : Joysticks::Axis) #

[View source]
def axis_just_moved_positive?(axis : Joysticks::Axis) #

[View source]
def axis_moved(axis : Joysticks::Axis, position : Float32) #

[View source]
def axis_position(axis : Joysticks::Axis) #

[View source]
def just_pressed?(button : Joysticks::Button) #

[View source]
def just_pressed?(buttons : Array(Joysticks::Button)) #

[View source]
def pressed(button : UInt32) #

[View source]
def pressed?(button : Joysticks::Button) #

[View source]
def pressed?(buttons : Array(Joysticks::Button)) #

[View source]
def released(button : UInt32) #

[View source]
def reset #

[View source]