Joystick Toolkit - @octave_joystick/force
- :
joy =
force(joy, id, forcevalue)
Apply forcefeedback on axis id on joystick joy.
Inputs
joy - a previously opened joystick object
id - a positive numeric id for the joystick forcefeed axis to use
forcevalue - force value to use, values should be between -1 .. 1
If id is a vector of axis ids, forcevalue is expected to be a single value applied to all of the specified axis or a vector of the same size as id, with a value for each axis.
Outputs
None
See also: vrjoystick.