Joystick

For games don't based on motion detection, you can use other interfaces such as joystick, these commands help to obtain information about the joystick state.

Note: The valid joystick numbers can take a value from #VMB_JOYSTICK_ID0 to #VMB_JOYSTICK_ID7, and button numbers take values from #VMB_JOYSTICK_BUTTON1 to #VMB_JOYSTICK_BUTTON16.