Reference for get_input_axes_available
Get the number of input axes on a joystick-like device. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
get_input_axes_available
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
System
Text
Transform
Purpose
Get the available input axes supported on a joystick-like device where 'ball0.x' would, for example, refer to the x axis of the first trackball found.
Snippet
Get the number of axes on the first joystick found.
joysticks = sketch.get_joysticks() first_joystick = joysticks[0] num_axes = first_joystick.get_input_axes_available()
Availability
Not yet available. Planned for future release.