Macros with mouse clicks
Moderator: Moderators
-
- Posts: 35
- Joined: Thu Feb 16, 2023 8:48 pm
Macros with mouse clicks
I want to have a macro that is Ctrl+Alt+LeftClick
What is the command for doing this in the new macro editor?
This sequence does not work. It does not continue to hold the Ctrl and Alt buttons as the left click engages, yet there is no way I can figure out to have all three commands engage simultaneously.
What is the command for doing this in the new macro editor?
This sequence does not work. It does not continue to hold the Ctrl and Alt buttons as the left click engages, yet there is no way I can figure out to have all three commands engage simultaneously.
-
- Posts: 35
- Joined: Thu Feb 16, 2023 8:48 pm
Re: Macros with mouse clicks
OK this is a gross oversight by the programmers here because you CAN'T add concurrent mouseclicks in a macro... I tried to brute force the desired macro by using my macropad to do Ctrl+Alt+LeftClick for me and only the Ctrl+Alt would register
You could do this in the previous version
Who the hell missed this
You could do this in the previous version
Who the hell missed this
-
- Posts: 35
- Joined: Thu Feb 16, 2023 8:48 pm
Re: Macros with mouse clicks
Had to rollback the driver to 10.7 to get mouseclicks and modifier keys concurrently in my macros.
FIX THIS 3D CONNEXION
FIX THIS 3D CONNEXION
Re: Macros with mouse clicks
You are correct. The GUI does not create that correctly. I'll create a bug report for it.
You will need to edit the XML.
Replace the <MacroEntry> it writes in the cfg file for your app in %appdata%\3Dconnexion\3DxWare\Cfg\<yourapp>.xml
with:
Thanks for pointing it out.
You will need to edit the XML.
Replace the <MacroEntry> it writes in the cfg file for your app in %appdata%\3Dconnexion\3DxWare\Cfg\<yourapp>.xml
with:
Code: Select all
<MacroEntry>
<ID>Ctrl+Alt</ID>
<KeyStroke>
<Modifiers>
<Modifier>Control</Modifier>
<Modifier>Alt</Modifier>
</Modifiers>
<MouseButton>Left</MouseButton>
</KeyStroke>
</MacroEntry>
-
- Posts: 35
- Joined: Thu Feb 16, 2023 8:48 pm
Re: Macros with mouse clicks
Thank you ever so much.
-
- Posts: 35
- Joined: Thu Feb 16, 2023 8:48 pm
Re: Macros with mouse clicks
What are the commands for Left/Right button chords?
There is also a Bug in radial Menus that will not let macros with concurrent mouse clicks and modifiers operate.
There is also a Bug in radial Menus that will not let macros with concurrent mouse clicks and modifiers operate.
jwick wrote: ↑Tue May 02, 2023 1:24 am You are correct. The GUI does not create that correctly. I'll create a bug report for it.
You will need to edit the XML.
Replace the <MacroEntry> it writes in the cfg file for your app in %appdata%\3Dconnexion\3DxWare\Cfg\<yourapp>.xml
with:Thanks for pointing it out.Code: Select all
<MacroEntry> <ID>Ctrl+Alt</ID> <KeyStroke> <Modifiers> <Modifier>Control</Modifier> <Modifier>Alt</Modifier> </Modifiers> <MouseButton>Left</MouseButton> </KeyStroke> </MacroEntry>
Re: Macros with mouse clicks
Some details from you for what you tried and what you expected would be helpful.
If by chording, you are asking what MouseButtons and Modifiers you can have in a MacroEntry,
you can have multiple MouseButton elements, with values Left, Right, Middle.
For Modifiers, you can have multiple Modifiers, with values Control, Shift, Alt, Windows, LeftMouse, MiddleMouse, RightMouse
The above MacroEntry works on a Radial Menu. But Radial Menus don't have a distinctive press & release cycle. They press the action and quickly run the release of the action. That often makes it look like it doesn't do anything. E.g., if you assigned a Shift key to a RM, it would appear to do nothing because it does it so fast.
Also, many keys on Devices behave similarly. Any key that has a long press function (often brings up a Virtual LCD), doesn't have a distinct press and release. It needs to wait for the long press detection, if it doesn't get it, it fires the press and quickly the release. This can be disabled by disabling the "On-Screen Display".
The log file logs what is happening. For advanced usage, it is useful to turn on the log file and watch what is happening. baretail (free download) is your friend for that. Turn on the log file with the 3Dx systray icon (Write Log File).
Then run baretail on %localappdata%\3Dconnexion\3DxWare\3DxService.log.
You are definitely getting into an area that is not used much. Problems may have crept in since it was implemented.
It is helpful to have people use the less commonly used parts of the software. As you see, you've already found a bug.
If by chording, you are asking what MouseButtons and Modifiers you can have in a MacroEntry,
you can have multiple MouseButton elements, with values Left, Right, Middle.
For Modifiers, you can have multiple Modifiers, with values Control, Shift, Alt, Windows, LeftMouse, MiddleMouse, RightMouse
The above MacroEntry works on a Radial Menu. But Radial Menus don't have a distinctive press & release cycle. They press the action and quickly run the release of the action. That often makes it look like it doesn't do anything. E.g., if you assigned a Shift key to a RM, it would appear to do nothing because it does it so fast.
Also, many keys on Devices behave similarly. Any key that has a long press function (often brings up a Virtual LCD), doesn't have a distinct press and release. It needs to wait for the long press detection, if it doesn't get it, it fires the press and quickly the release. This can be disabled by disabling the "On-Screen Display".
The log file logs what is happening. For advanced usage, it is useful to turn on the log file and watch what is happening. baretail (free download) is your friend for that. Turn on the log file with the 3Dx systray icon (Write Log File).
Then run baretail on %localappdata%\3Dconnexion\3DxWare\3DxService.log.
You are definitely getting into an area that is not used much. Problems may have crept in since it was implemented.
It is helpful to have people use the less commonly used parts of the software. As you see, you've already found a bug.
-
- Posts: 35
- Joined: Thu Feb 16, 2023 8:48 pm
Re: Macros with mouse clicks
A chord is pressing two mouse buttons together at the same time. It's a critical function in most CAD programs from the pre-mousewheel days. Basically getting five buttons out of three. You would then then add the seven different combinations of Shift, Ctrl and Alt to get a variety of commands with little break to your flow.
5 x 7 = a whopping 35 unique commands from just three buttons!
But wait! When you include double clicks, and click-and-hold you get 3 x 35 = 105 commands
Many of those commands can be linked to popup menus with their own sub-commands too. So much control with so few buttons
IF we can get the damn driver working properly
5 x 7 = a whopping 35 unique commands from just three buttons!
But wait! When you include double clicks, and click-and-hold you get 3 x 35 = 105 commands
Many of those commands can be linked to popup menus with their own sub-commands too. So much control with so few buttons
IF we can get the damn driver working properly
-
- Posts: 35
- Joined: Thu Feb 16, 2023 8:48 pm
Re: Macros with mouse clicks
*six buttons
-
- Posts: 35
- Joined: Thu Feb 16, 2023 8:48 pm
Re: Macros with mouse clicks
Gah my maths is off...
Mouse = 18 functions > 6 button combos of single click, Dbl Click and Hold
Left
Middle
Right
Left+Middle
Left+Right
Middle+Right
Modifiers = 8 combos
NONE
Shift
Ctrl
Alt
Shift+Ctrl
Shift+Alt
Ctrl+Alt
Shift+Ctrl+Alt
18 x 8 = 144 possible commands from only six buttons!!!
Mouse = 18 functions > 6 button combos of single click, Dbl Click and Hold
Left
Middle
Right
Left+Middle
Left+Right
Middle+Right
Modifiers = 8 combos
NONE
Shift
Ctrl
Alt
Shift+Ctrl
Shift+Alt
Ctrl+Alt
Shift+Ctrl+Alt
18 x 8 = 144 possible commands from only six buttons!!!
-
- Posts: 35
- Joined: Thu Feb 16, 2023 8:48 pm
Re: Macros with mouse clicks
This CRITICAL issue is over a year old. How has this not yet been fixed? Older versions of the driver could handle far more complex macro construction!