Analog Joysticks can be moved or pressed. Before using a joystick do not forget to lay it on a flat surface and leave it in the center position.
Finally send a reset message to the joystick. After the origo is set you can move it in 4 directions and press the top button.
Every joystick manipulation will generate an event. Joysticks can be used for interacting with physical or digital environments.
More information