Use 3DConnexion mouse as 2D

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

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

Re: Use 3DConnexion mouse as 2D

Post by jwick »

xavchow,

I sent the files by email to your registered email address.
I made modifications to reflect your request (different behavior than LydiaShaw requested).
tylerdhepworth
Posts: 4
Joined: Thu Apr 28, 2022 7:26 am

Re: Use 3DConnexion mouse as 2D

Post by tylerdhepworth »

Trying to keep it all related, so I will post here as well. I am interested in using a 3D mouse for 2D as well. I just replaced my space pilot pro with a space mouse enterprise. My question is: Can I use the SME for 3D and the SPP for 2D at the same time?
jwick
Moderator
Moderator
Posts: 3331
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Use 3DConnexion mouse as 2D

Post by jwick »

Yes, in fact, using 2 different devices is currently the only way it works. It's not possible to configure multiple instances of the same type of device separately.
tylerdhepworth
Posts: 4
Joined: Thu Apr 28, 2022 7:26 am

Re: Use 3DConnexion mouse as 2D

Post by tylerdhepworth »

Excellent. Can you point me to the relevant threads please that will help me get set up? I'm not sure how to configure two different devices so they don't conflict with each other and I know a file is needed to send the 2D mouse instructions.
jwick
Moderator
Moderator
Posts: 3331
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Use 3DConnexion mouse as 2D

Post by jwick »

I don't know if there is a thread for this.
You will need the latest driver, which I see still supports the SpacePilot Pro.
There is no GUI support for this. You will need to edit XML files.

Add this Device definition to your %appdata%\3Dconnexion\3DxWare\Cfg\Global.xml file to globally map the X&Y 3D mouse axes to the 2D mouse X&Y axes, and the Menu&Fit buttons to the 2D mouse Left&Right buttons:

Code: Select all

...
<Devices>
...
   <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>
    ...
    </Devices>
    ...
enriquez.daniel
Posts: 3
Joined: Sat May 21, 2022 8:50 pm

Re: Use 3DConnexion mouse as 2D

Post by enriquez.daniel »

Can I please get some assistance on how to use my Spacemouse as a 2d mouse. I have tried editing the xml but I save the xml the file disappears and a bak folder is created and the file lives in there as a txt file.
jwick
Moderator
Moderator
Posts: 3331
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Use 3DConnexion mouse as 2D

Post by jwick »

There is some syntax problem in your file if the driver is rejecting it.

If you turn on logging (3Dx systray icon->Write Log File) it will log what is wrong with it when it tries to read it.

If you like you can PM your changed (and rejected) file, and the log file to me.
The log file is %localappdata%\3Dconnexion\3DxWare\3DxService.log.
enriquez.daniel
Posts: 3
Joined: Sat May 21, 2022 8:50 pm

Re: Use 3DConnexion mouse as 2D

Post by enriquez.daniel »

jwick wrote: Sun May 22, 2022 11:17 pm There is some syntax problem in your file if the driver is rejecting it.

If you turn on logging (3Dx systray icon->Write Log File) it will log what is wrong with it when it tries to read it.

If you like you can PM your changed (and rejected) file, and the log file to me.
The log file is %localappdata%\3Dconnexion\3DxWare\3DxService.log.
I dont have the ability to PM the files.
jwick
Moderator
Moderator
Posts: 3331
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Use 3DConnexion mouse as 2D

Post by jwick »

Email sent to gmail account. You can use that to bounce back your files.
enriquez.daniel
Posts: 3
Joined: Sat May 21, 2022 8:50 pm

Re: Use 3DConnexion mouse as 2D

Post by enriquez.daniel »

jwick wrote: Tue May 24, 2022 12:36 am Email sent to gmail account. You can use that to bounce back your files.
Thanks for the reply, I applied the file but still no luck. I also noticed you stated SME but I have the Spacemouse wireless so the mapped button to switch didn't work or at least that's my assumption since there was no change in the functionality of the mouse. I would also like to know how to map it globally.
sezziness
Posts: 2
Joined: Thu Jul 07, 2022 10:06 am

Re: Use 3DConnexion mouse as 2D

Post by sezziness »

Hi jwick!

I'm so happy to find this thread after a few hours of searching the forums!

I'm also searching for this function, and was wondering if you could please share the files with me? Wondering if this would also work on a macOS?
antonioamr
Posts: 4
Joined: Fri Sep 23, 2022 4:38 am

Re: Use 3DConnexion mouse as 2D

Post by antonioamr »

jwick wrote: Tue May 24, 2022 12:36 am Email sent to gmail account. You can use that to bounce back your files.
Hello, jwick.

I would like to ask for help to use my 3d mouse like a arrows of my keyboard.

Please, can you help me?
jwick
Moderator
Moderator
Posts: 3331
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Use 3DConnexion mouse as 2D

Post by jwick »

Hi antonioamr,

Which slide viewing software are you using?
What operations need to be done to move? E.g., Shift+arrow keys, Zoom with MouseWheel, etc?
Is the 2D mouse usually used? With modifiers (e.g., MMB+MouseX/MouseY)?

We ship a cfg template file that contains arrow key (and WASD) assignments used for some games.
But it is a bit much to expect to you know how to manually copy those assignments over to an application-specific file.
I'll need to help you.
antonioamr
Posts: 4
Joined: Fri Sep 23, 2022 4:38 am

Re: Use 3DConnexion mouse as 2D

Post by antonioamr »

Hello, jwick.

Thank you very much for your availability and courtesy.

I am a pathologist in Brazil. And the lab where I work is introducing the use of images for routine use. However, the use of a mouse to manipulate the images proved to be very tiring and unproductive. And it doesn't allow an experience of fluidity and speed like a traditional microscope.

At the moment, to handle the digital images of histological biopsy slides, I use a program called SlideViewer from the company 3dHistech (https://www.3dhistech.com/research/software-downloads/). However, access is via Citrix (https://www.citrix.com/).

I use the 2d mouse and MouseWheel to move the images within the SlideViewer. And I would like to use 3d mouse to do movement like arrow keys and spin to zoom.

Thank you very much for your help and attention.
Framed_Previz90
Posts: 13
Joined: Sat May 23, 2020 8:31 pm

Re: Use 3DConnexion mouse as 2D

Post by Framed_Previz90 »

jwick wrote: Wed Oct 06, 2021 11:30 pm Hello LydiaShaw,

I emailed two files to you: Desktop.xml and Global.xml
Put them into your %appdata%/3Dconnexion/3DxWare/Cfg directory.

The Global.xml file permanently, globally, reserves the Shift key on any 3D mouse for activating a command that switches between the focus-selected cfg and the Desktop.xml cfg. It toggles (press once 2D mode, press again 3D mode, press again 2D mode, ...)

In Desktop.xml, three 3D mouse axes are mapped to 2D mouse functions (x, y, scroll wheel). You can change the axes if you want different axes to activate the mouse functions. You may also want to assign some buttons to activate mouse buttons.

These files will only work with 3DxWare 10.8+ because they make use of a new Global ButtonBank.
The GUI doesn't know about these Global ButtonBanks. You probably have to make changes directly in the XML. I can help you with that.

Jim
Hello, I am looking for a similar .xml file. Could you please help me with this.
I have Space mouse wireless (one with two buttons)
I would like this to be global, no matter what window may be active, inlcuding 3D supported applications.
With the following mappings:
  • Z Axis + = F1
  • Z Axis - = F2
  • Button 1 =F3
  • Button 2 =F4

I dont need a toggle programmed into one of the two buttons, as I want this global.xml active at all time.
I can map the other axis myself if just have a good working example of a global.xml file.

I have messaged you my email, please please share with me this global.xml file, thanks!
Post Reply