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

Start the rumble feature on a joystick-like device. This is part of the reference section.

Purpose

If available, start the joystick rumble. Does nothing if no rumble feature available.

Snippet

Start rumbling the first joystick.
joysticks = sketch.get_input_axis()
first_joystick = joysticks[0]
first_joystick.start_rumble()

Availability