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