class GSF::AxisState

Defined in:

gsf/joysticks.cr

Constant Summary

JustMovedThreshold = 75

Constructors

Instance Method Summary

Constructor Detail

def self.new(position : Float32) #

[View source]

Instance Method Detail

def just_moved_negative? #

[View source]
def just_moved_positive? #

[View source]
def moved_negative? #

[View source]
def moved_positive? #

[View source]
def negative_just_seen? : Bool #

[View source]
def negative_seen #

[View source]
def position : Float32 #

[View source]
def position=(position : Float32) #

[View source]
def positive_just_seen? : Bool #

[View source]
def positive_seen #

[View source]