CadMouse modifier keys question
Moderator: Moderators
CadMouse modifier keys question
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...
Re: CadMouse modifier keys question
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:
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.
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>
I don't have Visio to test this. Let me know if it works for you.
Re: CadMouse modifier keys question
Perfect! Thanks! Works perfectly!