Joystick Toolkit - @octave_joystick/read
- :
[axes, buttons, povs] =read(joy) Get the values of all axes, buttons, and POVs on joystick joy.
Inputs
joy - a previously opened joystick object
Outputs
axes - vector of the axis values.
buttons - vector of the button values.
povs - vector of the pov values.
See also: vrjoystick, axis, pov, button.