Joystick Toolkit - Functions


The following functions are available:

Utility Functions

vrjoysticklistGet or print the available joystick devices.
isvrjoystickCheck whether an input value is a vrjoystick object.

Joystick Functions

vrjoystickOpen a joystick device.
@octave_joystick/axisGet the value of axis ID on joystick JOY.
@octave_joystick/buttonGet the value of button ID on joystick JOY.
@octave_joystick/capsGet the capabilities of joystick JOY.
@octave_joystick/closeClose opened joystick JOY.
@octave_joystick/forceApply force-feedback to axis ID on joystick JOY.
@octave_joystick/povGet the value of pov ID on joystick JOY.
@octave_joystick/readGet the values of all axes, buttons, and POVs on joystick JOY.