vrjoystick
Create joystick object
Description
Create a joystick object.
Creation
Description
creates a joystick object capable of interfacing with a joystick device. The
joy
= vrjoystick(id
)id
parameter is a one-based joystick ID. The joystick ID is the
system ID assigned to the given joystick device. You can find the properties of the
joystick that is connected to the system in the Game Controllers section of the system
Control Panel.
enables force feedback if the joystick supports this capability.joy
= vrjoystick(id
,'forcefeedback'
)
Object Functions
Version History
Introduced in R2007b