Skip to main content
This website uses cookies to ensure you get the best experience on our website. Learn more.
Understood

Joystick

Joystick
analog analog

This component occupies 2 consecutive slots / pins.

released in 0.5.2

Functions

If
IfJoystickismovingalong axisx
IfJoystickispushed to
IfJoystickispressed
IfJoystickispassing a multipleof10on axisx
Map
MapJoystickaxisonto

Description

The Grove Thumb Joystick is very similar to a joystick you might find on a gamepad. You can get data from the X and Y axis as analog readings and also a trigger a reaction when the joystick is pressed down.

It's not possible to track movement along the X axis when the joystick is pressed, so we recommend to use that feature only for short click interactions.