The working 2D mouse controls in VR mode are zoom (mousewheel), pan (right click + drag) and rotate (middle click + drag).
I've modified the xml to map them, and I have zoom working. However for the pan and rotate I need a mouse button to be held down and I can't figure out how to do that in the xml. Using the <Modifier> tag only seems to work for Ctrl, Shift etc.
Does anyone know the tag to do this in the xml?
Code: Select all
<!-- add right mouse button modifer to this action to pan: -->
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_X</ActionID>
<Min>-512</Min>
<Max>511</Max>
</Input>
<Output>
<ActionID>HIDMouse_X</ActionID>
<Reversed>false</Reversed>
</Output>
</Axis>
<!-- add right mouse button modifer to this action to pan: -->
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Y</ActionID>
<Min>-512</Min>
<Max>511</Max>
</Input>
<Output>
<ActionID>HIDMouse_Y</ActionID>
<Reversed>false</Reversed>
</Output>
</Axis>
<!-- zoom working correctly: -->
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Z</ActionID>
<Min>-512</Min>
<Max>511</Max>
</Input>
<Output>
<ActionID>HIDMouse_Wheel</ActionID>
<Reversed>true</Reversed>
</Output>
</Axis>