Sends information about the Joystick state.
Index number of the joystick to catch (if several joysticks are connected to the computer).
Positions of axis.
Sends 1 if the Nth Button is pressed.
Returns relative motion since the last calculation, these motion deltas are placed into dx and dy.
Gets the current state of a POV hat on a joystick according the following values: