struct

SF::Event::JoystickMoveEvent

Inherits SF::Event / Struct / Value / Object

Joystick axis move event parameters (see JoystickMoved)

Constructors

Instance methods

axis

Axis on which the joystick moved

Source
axis=(axis : Joystick::Axis)
Source
dup

Returns a shallow copy of this object.

Because Value is a value type, this method returns self, which already involves a shallow copy of this object because value types are passed by value.

Source
joystick_id

Index of the joystick (in range 0 ... Joystick::Count)

Source
joystick_id=(joystick_id : Int)
Source
position

New position on the axis (in range -100 .. 100)

Source
position=(position : Number)
Source