Gambas Documentation - /comp/gb.sdl/.joystick

/comp/gb.sdl/.joystick

# .Joystick (gb.sdl)

This class is virtual.
This class is static.

Static properties

Returns the number of axes available from the joystick
Axes
Returns the number of balls available from the joystick
Balls
Returns the number of buttons available from the joystick
Buttons
Returns if the joystick is enabled (if it raise events) also enable or disable the joystick's events.
Enable
Returns the number of hats.
Hats
Returns the name of the joystick.
Name