🧪 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 get_joystick_id

Get the unique identifier for a joystick-like device. This is part of the reference section.

Purpose

Get a unique identifier for a joystick as provided by the underlying platform.

Snippet

Get the unique identifier for the first joystick found.
joysticks = sketch.get_joysticks()
first_joystick = joysticks[0]
first_id = first_joystick.get_joystick_id()

Availability

Not yet available. Planned for future release.

See also