CadMouse modifier keys question

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
lceman
Posts: 4
Joined: Thu Jan 26, 2023 12:09 pm

CadMouse modifier keys question

Post by lceman »

I'm trying to add the shift+cntrl+right click function to a button on cadmouse and can't figure out how. I tried playing around with the macros and the xml files but cant find the proper syntax or order of commands. Hard to imagine this could be so hard...
jwick
Moderator
Moderator
Posts: 3374
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: CadMouse modifier keys question

Post by jwick »

I don't think there is a way to do this in the GUI.

You can either create a MotionMacro to send all these keys (presses and releases) together in a stream, or assign the Shift+Ctrl as modifiers on the RMB.
I assume you want to do the latter. That is, hold down shift & ctrl & RMB, then move the CADMouse, then release all these keys.
This seems like a good operation to assign to the MMB.

To do this, you need to define a Macro and manually add it to the Visio cfg file. Since we don't ship a Visio cfg file, you will only have a derived file in your %appdata% dir. Edit that.
Add these lines above your <Devices> section:

Code: Select all

  <MacroTable>
    <MacroEntry>
      <ID>PanDrag Mode</ID>
      <KeyStroke>
        <Modifiers>
          <Modifier>Control</Modifier>
          <Modifier>Shift</Modifier>
        </Modifiers>
        <MouseButton>Right</MouseButton>
      </KeyStroke>
    </MacroEntry>
  </MacroTable>
  
Then you will have a PanDrag Mode entry under Macros in our GUI. You can assign that to, e.g., your MMB.

I don't have Visio to test this. Let me know if it works for you.
lceman
Posts: 4
Joined: Thu Jan 26, 2023 12:09 pm

Re: CadMouse modifier keys question

Post by lceman »

Perfect! Thanks! Works perfectly! :)
Post Reply