Is it possible to rotate the control axis relative to the mouse?

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
macservice123
Posts: 1
Joined: Wed May 22, 2019 8:57 pm

Is it possible to rotate the control axis relative to the mouse?

Post by macservice123 » Wed May 22, 2019 8:58 pm

I'm not sure I've expressed the question very well. But basically i found the most compatible way to hold space navigator was with my middle finger and thumb on the front and back of the control knob respectively. This was fine with the original space navigator but doesn't work so well with the newer models because my fingers are in the wrong place for the buttons.

So my question is:
how can i rotate the control axis by 90 degrees, so that I swap, move right-&-left with zoom in-&-forward?

Thank
Cristiano

jwick
Moderator
Moderator
Posts: 2462
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Is it possible to rotate the control axis relative to the mouse?

Post by jwick » Thu May 23, 2019 2:02 am

You can't use the GUI for this. But you can edit cfg files (xml files).

First you have to figure out which cfg file is being used by your application. Normally there is one cfg file that all Axis assignments fall down to. This is normally Base.xml unless you made a change in the GUI (e.g., swapped the zoom direction).

In that Cfg file, there will be a set of Axis elements (6 of them).
They will have a syntax similar to this:

Code: Select all

				<Axis>
					<Enabled>true</Enabled>
					<Input>
						<ActionID>HIDMultiAxis_X</ActionID>
						<Min>-512</Min>
						<Max>511</Max>
						<Deadband>0</Deadband>
					</Input>
					<Output>
						<ActionID>HIDMultiAxis_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>
This shows the input X axis being mapped to the output X axis. IOW, no change.
If you want the output to be Y, change it to HIDMultiAxis_Y. You might need to change the Reversed flag to get what you want.
After your change, stop and restart the driver.

Post Reply