🧪 Version 0.3.1 is our alpha release candidate. Please send us bug reports and suggestions!

Sketchingpy

Creative coding and interactive science everywhere for everyone: web, desktop, mobile, Jupyter, and more. Open source!

Reference for Joystick

Information about a joystick-like device. This is part of the reference section.

Purpose

Object representing a joystick-like device.

Snippet

Get the number of axes for the first joystick.
joysticks = sketch.get_joysticks()
first_joystick = joysticks[0]
num_axes = first_joystick.get_num_axes()

Availability

Not yet available. Planned for future release.

See also