User`s guide

vrspacemouse
10-113
vrspacemouse
Create space mouse object
Syntax
mouse = vrspacemouse(id)
Description
mouse = vrspacemouse(id) creates a space mouse object capable of interfacing with
a space mouse input device. The id parameter is a string that specifies the space mouse
connection: COM1, COM2, COM3, COM4, USB1, USB2, USB3, or USB4.
The vrspacemouse object has several properties that influence the behavior of the space
mouse input device. The properties can be read or modified using dot notation (e.g.,
mouse.DominantMode = true;).
Properties
Valid properties are (property names are case-sensitive):
Property Description
PositionSensitivity Mouse sensitivity for translations. Higher values
correspond to higher sensitivity.
RotationSensitivity Mouse sensitivity for rotations. Higher values
correspond to higher sensitivity.
DisableRotation Fixes the rotations at initial values, allowing you to
change positions only.
DisableTranslation Fixes the positions at the initial values, allowing you
to change rotations only.
DominantMode If this property is true, the mouse accepts only the
prevailing movement and rotation and ignores the
others. This mode is very useful for beginners using a
space mouse.