Joystick Toolkit - Functions


The following functions are available:

Utility Functions

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

Joystick Functions

vrjoystickAttempt to open a joystick.
@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 joystick JOY.
@octave_joystick/closeClose opened joystick JOY.
@octave_joystick/forceApply forcefeedback on axis ID on joystick JOY.
@octave_joystick/povGet the value of pov ID on joystick JOY.
@octave_joystick/readGet the value of all axes, buttons and povs joystick JOY.