Odd behavior in space pilot pro as 2d mouse when solidworks open

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
tylerdhepworth
Posts: 4
Joined: Thu Apr 28, 2022 7:26 am

Odd behavior in space pilot pro as 2d mouse when solidworks open

Post by tylerdhepworth »

I converted my space pilot pro to a 2d mouse using the following

Code: Select all

 <Device>
      <ID>ID_ProductID_C629</ID>
	<AxisBank Global="true">
        <ID>Global Global</ID>
        <Name>Global</Name>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_X</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMouse_X</ActionID>
            <NameID>STR_PAN_RIGHT_LEFT</NameID>
            <Min>-512.00</Min>
            <Max>511.00</Max>
            <Scale>1.00</Scale>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Y</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMouse_Y</ActionID>
            <NameID>STR_PAN_RIGHT_LEFT</NameID>
            <Min>-512.00</Min>
            <Max>511.00</Max>
            <Scale>1.00</Scale>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
      </AxisBank>
      <ButtonBank Global="true">
        <ID>Global Global</ID>
        <Name>Global</Name>
        <Button>
          <Input>
            <ActionID>HIDButton_1</ActionID>
          </Input>
          <Output>
            <ActionID>HIDMouse_Left</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_2</ActionID>
          </Input>
          <Output>
            <ActionID>HIDMouse_Right</ActionID>
          </Output>
        </Button>
      </ButtonBank>
    </Device>
    
It works beautifully until I open solidworks. When solidworks is open, the mouse then behaves like an etch-a-sketch with jerky non-fluid motion in either x or y directions but not both at the same time. Any thoughts?
jwick
Moderator
Moderator
Posts: 3339
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Odd behavior in space pilot pro as 2d mouse when solidworks open

Post by jwick »

Maybe you have the dominant AxisFilter on in Solidworks.
You probably also noticed that the other axes are moving the part in SW (which is sort of amusing, but possibly useful - e.g. cursor movement and 3D model movement in one device, simultaneously).
Turn off the AxisFilter and the other Axes (but maybe you want to use tilting axes to control the cursor instead)

Use this (in your %Appdata%/3Dconnexion/3DxWare/cfg/Global.xml):

Code: Select all

   <Device>
      <ID>ID_ProductID_C629</ID>
	<AxisFilter>None</AxisFilter>
	<AxisBank Global="true">
        <ID>Global Global</ID>
        <Name>Global</Name>
	    <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_X</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMouse_X</ActionID>
            <NameID>STR_PAN_RIGHT_LEFT</NameID>
            <Min>-512.00</Min>
            <Max>511.00</Max>
            <Scale>1.00</Scale>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Y</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMouse_Y</ActionID>
            <NameID>STR_PAN_RIGHT_LEFT</NameID>
            <Min>-512.00</Min>
            <Max>511.00</Max>
            <Scale>1.00</Scale>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
	    <Axis>
          <Enabled>false</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Z</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMultiAxis_Z</ActionID>
            <NameID>STR_PAN_RIGHT_LEFT</NameID>
            <Min>-512.00</Min>
            <Max>511.00</Max>
            <Scale>1.00</Scale>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
	    <Axis>
          <Enabled>false</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rx</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMultiAxis_Rx</ActionID>
            <NameID>STR_PAN_RIGHT_LEFT</NameID>
            <Min>-512.00</Min>
            <Max>511.00</Max>
            <Scale>1.00</Scale>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
	    <Axis>
          <Enabled>false</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Ry</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMultiAxis_Ry</ActionID>
            <NameID>STR_PAN_RIGHT_LEFT</NameID>
            <Min>-512.00</Min>
            <Max>511.00</Max>
            <Scale>1.00</Scale>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
	    <Axis>
          <Enabled>false</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rz</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMultiAxis_Rz</ActionID>
            <NameID>STR_PAN_RIGHT_LEFT</NameID>
            <Min>-512.00</Min>
            <Max>511.00</Max>
            <Scale>1.00</Scale>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
      </AxisBank>
      <ButtonBank Global="true">
        <ID>Global Global</ID>
        <Name>Global</Name>
        <Button>
          <Input>
            <ActionID>HIDButton_1</ActionID>
          </Input>
          <Output>
            <ActionID>HIDMouse_Left</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_2</ActionID>
          </Input>
          <Output>
            <ActionID>HIDMouse_Right</ActionID>
          </Output>
        </Button>
      </ButtonBank>
    </Device>
tylerdhepworth
Posts: 4
Joined: Thu Apr 28, 2022 7:26 am

Re: Odd behavior in space pilot pro as 2d mouse when solidworks open

Post by tylerdhepworth »

That fixed it. Thank you!
Post Reply