Joystick Toolkit - @octave_joystick/caps
- :
info =caps(joy) Get the capabilities of joystick joy.
Inputs
joy - a previously opened joystick object
Outputs
info - A struct with fields Axis, Buttons, Forces, POVs to hold the numeric count of each in joystick.
Examples
Open device 1 and retrieve its capabilities.
joy = vrjoystick(1); c = caps(joy)See also: vrjoystick.