- get-joystick-buttons JOYSTICKprocedure
Returns two values: a pointer to an array of bytes representing the state of all buttons on the specified joystick, and the number of values in the array. You can use pointer-u8-ref to get the button states.
Returns two values: a pointer to an array of bytes representing the state of all buttons on the specified joystick, and the number of values in the array. You can use pointer-u8-ref to get the button states.