To pan I need to middle mouse click and drag the mouse. I have the X/Y mouse movement working but I don't know how to click the middle mouse button at the same time.
To rotate I need to right click and drag the mouse. Again the X/Y mouse movement works but I need to do a right click also.
Zooming was the easiest since it's just the mouse wheel scrolling.
Below is the code I have so far.
Code: Select all
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_X</ActionID>
<Min>-512</Min>
<Max>511</Max>
<Deadband>25</Deadband>
</Input>
<Output>
<ActionID>HIDMouse_X</ActionID>
<ActionID>Press(HIDMouse_Middle)</ActionID>
<Reversed>true</Reversed>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Y</ActionID>
<Min>-512</Min>
<Max>511</Max>
<Deadband>25</Deadband>
</Input>
<Output>
<ActionID>HIDMouse_Y</ActionID>
<Reversed>true</Reversed>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Z</ActionID>
<Min>-512</Min>
<Max>511</Max>
</Input>
<Output>
<ActionID>HIDMouse_Wheel</ActionID>
<Reversed>false</Reversed>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Rx</ActionID>
<Min>-512</Min>
<Max>511</Max>
<Deadband>25</Deadband>
</Input>
<Output>
<ActionID>HIDMouse_Y</ActionID>
<Reversed>true</Reversed>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Ry</ActionID>
<Min>-512</Min>
<Max>511</Max>
<Deadband>25</Deadband>
</Input>
<Output>
<ActionID>HIDMouse_X</ActionID>
<Reversed>false</Reversed>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Rz</ActionID>
<Min>-512</Min>
<Max>511</Max>
</Input>
<Output>
<ActionID>HIDMultiAxis_Ry</ActionID>
<Reversed>true</Reversed>
</Output>
</Axis>