🧪 Version 0.2.2 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_rumble_supported

Determine if the joystick supports rumble. This is part of the reference section.

Purpose

Query the joystick to see if it supports rumble.

Snippet

Determine if the first joystick found supports rumble.
joysticks = sketch.get_joysticks()
first_joystick = joysticks[0]
supports_rumble = first_joystick.get_rumble_supported()

Availability

Not yet available. Planned for future release.

See also