TwinMouse mode : two standard mice
When the 3D cursor is driven by the standard mouse (Mouse controller), rhinoCapture STEREO offers a second operating mode, TwinMouse, which shares the work between two mice connected to the same workstation.
Turning the mode on and off
This mode can only be used when two mice are connected. It is turned on and off by right-clicking with the second mouse in a Rhino view. While it is active, the Windows cursor is hidden.
Which mouse is mouse no. 1?
Mouse no. 1, the main mouse, is the one whose movement is detected first. All other mice become the second mouse. To be sure of the assignment, first move the mouse that is to remain the main one, then turn the mode on with the second mouse.
What each mouse does
The main mouse keeps the predefined behavior of the standard mouse: left-click capture, cursor movement, rotation, pan and zoom with the right button and modifier keys.
The second mouse follows the actions defined in the ControllerConfig.xml file: its behavior is fully configurable.
Typical use: XY on one mouse, Z on the other
The main benefit is to separate planimetry from altimetry: the main mouse moves the cursor in XY, the second one moves it in Z.
A trackball is particularly well suited to the role of second mouse: you set the cursor elevation with one hand without moving the pointing hand, as with the handwheels of a stereo plotter. The following ControllerConfig.xml configuration assigns Z to the vertical movement of the second mouse and zoom to its wheel: |
|
<TwinMouse Name="Default"> <!-- Vertical movement of the second mouse: cursor Z --> <Movement> <Action>MoveCursor</Action> <VerticalAxis>Z</VerticalAxis> </Movement> <!-- Wheel of the second mouse: zoom --> <Wheel> <Action>Zoom</Action> </Wheel> </TwinMouse> |
Where the behavior of the two mice is set
The ControllerConfig.xml file describes the two mice with two separate elements:
<Mouse>: the main mouse (or the only mouse when TwinMouse mode is off). Its movement and wheel are predefined; only its buttons can be configured.
<TwinMouse>: the second mouse (and any further ones) when the mode is on. It accepts <Button>, <Movement> and <Wheel> elements.
When the mode is off, <Mouse> events apply to all connected mice. The right button of each mouse is reserved: on the main mouse it runs Oxalis_ToggleConnection_Mouse; on the second one it turns TwinMouse mode on or off. The elements are described in detail in the ControllerConfig.xml chapter, “<Mouse> and <TwinMouse> elements” section.
With the standard mouse, the view follows the cursor only in TwinMouse mode. In single-mouse mode the MoveWithView option has no effect: otherwise the mouse could never leave the stereo view, since the view would slide under the cursor instead of letting it reach the edge.
