Reference for get_joysticks
Get available joysticks. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
get_joysticks
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
System
Text
Transform
Purpose
Get all available joysticks on the system or None if joysticks are not supported on the platform.
Snippet
Get the current position on the first axis of the first joystick.
joysticks = sketch.get_joysticks() first_joystick = joysticks[0] first_joystick.get_axis(0)
Availability
Not yet available. Planned for future release.