dragging with spacemouse

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
Nonson
Posts: 2
Joined: Fri Jan 17, 2025 5:00 pm

dragging with spacemouse

Post by Nonson »

Hi all.
is there a way to use the spacemouse as a "dragging tool" ?

I tried to mess with the XML files but nothing works.

basically I want it to hold left mouse button and move the cursor whenever I move the spacemouse in any direction.
and to release the hold of LMB when no movement from the spacemouse is detected.

yes, I can use one of the buttons on the mouse as LMB but I need those for something else
jwick
Moderator
Moderator
Posts: 3417
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: dragging with spacemouse

Post by jwick »

Nonson wrote: Fri Jan 17, 2025 5:09 pm Hi all.
is there a way to use the spacemouse as a "dragging tool" ?

I tried to mess with the XML files but nothing works.

basically I want it to hold left mouse button and move the cursor whenever I move the spacemouse in any direction.
and to release the hold of LMB when no movement from the spacemouse is detected.

yes, I can use one of the buttons on the mouse as LMB but I need those for something else
You can assign Mouse X/Y movements to the cap with a LMB modifier. I'd need to help you with the XML changes.
What application is this for?
anorec
Posts: 7
Joined: Sun Oct 08, 2017 11:38 pm

Re: dragging with spacemouse

Post by anorec »

Hello,
With an Enterprise, I'd like to assign 1-2-3 buttons to mouse buttons like a standard mouse. Not a specific application but in global.xml file configuration.

I used to do it with an old spacepilot but i can't with an enterprise... I can't drag buttons.
Is there a modifier to add in .xml section ?
jwick
Moderator
Moderator
Posts: 3417
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: dragging with spacemouse

Post by jwick »

anorec,

Those top buttons on the SME by default implement an action which opens an on-screen-display which shows the button assignments for those buttons.
As a result of that, there is not a distinct press and release. IOW, you can't hold the button down and have the system respond separately to the press and later to the release. E.g., to drag with a mouse button down.

You can disable this behavior in the GUI:
1) Choose the SpaceMouse Enterprise in our GUI (3DxSmartUI).
2) Select the Buttons page.
3) Check the "Disable On-Screen Display" CheckBox.
This both disables that on-screen-display and separates the press & release.

Once you have done that, you can assign Left, Middle & Right Mouse buttons to the SME buttons.
Those assignments will be only for whatever application cfg is currently being edited. You can make those changes separately for every application, if you want to torture yourself.

If you want those assignments to be used for every application, the changes will need to be made in a global location. The GUI does not know how to handle that.

To make these global:
1) edit your %appdata%\3Dconnexion\3DxWare\Cfg\Global.xml file using your favorite text editor (we all use Notepad++ with XML extensions enabled)
2) Add these Device definitions. If you already have a <Devices> list, add just the <Device>. If you already have a ID_ProductID_C633 Device, just add the ButtonBank to it.

Code: Select all

<Devices>
    <Device>
      <ID>ID_ProductID_C633</ID>
      <ButtonBank Global="true">
        <ID>Global Global</ID>
        <Name>Global</Name>
        <Button>
          <Input>
            <ActionID>HIDButton_13</ActionID>
          </Input>
          <Output>
            <ActionID>HIDMouse_Left</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_14</ActionID>
          </Input>
          <Output>
            <ActionID>HIDMouse_Middle</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_15</ActionID>
          </Input>
          <Output>
            <ActionID>HIDMouse_Right</ActionID>
          </Output>
        </Button>
      </ButtonBank>
    </Device>
   </Devices>
 
Neither the GUI, nor the LCD will show these assignments.
Post Reply