This module is about showing joysticks.
Get the joystick that usually resides on the left of the controller. This is considered the primary joystick on the controller.
Get the joystick that usually resides on the right of the controller. This is considered the secondary joystick on the controller.
The joystick's value can be read in multiple ways that might suit your needs.
On a scale from 0 to 1, return how intensely the button is being pushed.
Keep in mind that this is not always 0, especially for older devices who might have a tiny drift.
Starting from the top, get a direction in terms of degress, starting at 0 from the top and going to 360 clockwise.
Same as direction, except the value is now a number between 0 and 1.
Convert a joystick's direction to an x and y value. The coordinates are defined as is starting from the top left, so:
Both values go from -1 to 1, so (-1, -1) and (1, 1) are the top left and bottom right respectively.
A joystick is a representation of a stick that can move in all directions.