Cannot treate macros like Ctrl+1

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
morkeleb
Posts: 5
Joined: Mon Dec 26, 2022 10:58 am

Cannot treate macros like Ctrl+1

Post by morkeleb »

Hi All,
3Sconnecxion software does not allow me to create macros that look like Ctrl+1 or Ctrl+2. As I press Ctrl+1 combination the Macro box shows [Press Ctrl] and [release Ctrl]. However, it does not show [press 1]. It shows [release 1] only.

It works with Num-Lock numbers, however, my macros require the numbers from the keyboard, and I cannot create the due to that glitch.

Any suggestions?
Screenshot 2022-12-26 130758.png
Screenshot 2022-12-26 130758.png (108.1 KiB) Viewed 1183 times
ngomes
Moderator
Moderator
Posts: 3321
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: Cannot treate macros like Ctrl+1

Post by ngomes »

Don't use the "macro editor" panel. Instead enter the shortcut directly in the button input field (click and the text changes to "Type a shortcut...").
Nuno Gomes
morkeleb
Posts: 5
Joined: Mon Dec 26, 2022 10:58 am

Re: Cannot treate macros like Ctrl+1

Post by morkeleb »

I still cannot create a macro for Ctrl+1.
As I press it directly in the button input field, it saves Ctrl only.
Any other types of key combinations work.
Only particular combinations Ctrl +1, Ctrl +2 and Ctrl +3 do not work.
Even CTRL+4 and larger numbers work.
ngomes
Moderator
Moderator
Posts: 3321
Joined: Mon Nov 27, 2006 7:22 am
Contact:

Re: Cannot treate macros like Ctrl+1

Post by ngomes »

morkeleb wrote: Tue Jan 03, 2023 7:44 am Only particular combinations Ctrl +1, Ctrl +2 and Ctrl +3 do not work.
Even CTRL+4 and larger numbers work.
The system is capturing the Ctrl+1, ..., Ctrl+3 shortcuts. In all likelihood, you have defined a system-wide shortcut to open an application or similar. This means the system will handle the shortcut and the "3Dconnexion Properties" program never gets notified of any key sequence events.

Disable the "Ctrl+1", etc, and only then map them in "3Dconnexion Properties". Afterwards, you can re-enable the shortcut system-wide and it should all work.
morkeleb
Posts: 5
Joined: Mon Dec 26, 2022 10:58 am

Re: Cannot treate macros like Ctrl+1

Post by morkeleb »

That's correct. I use Ctrl +1, Ctrl +2 and Ctrl +3 as Windows input language hotkeys.
mhoopes
Posts: 137
Joined: Thu Dec 07, 2006 10:48 am
Location: Campbell, CA

Re: Cannot treate macros like Ctrl+1

Post by mhoopes »

I ran into this issue trying to bind Ctrl+Num 1. My workaround was to edit the application xml file in %appdata%\3Dconnexion\3DxWare\Cfg.
I added a MacroEntry for Ctrl+Num 1 right before the </MacroTable> tag that imposes the Control modifier.

Note that 59 is the HID Usage Code for Num 1.

Code: Select all

    <MacroEntry>
      <ID>Ctrl+Num 1</ID>
      <KeyStroke>
        <Modifiers>
          <Modifier>Control</Modifier>
        </Modifiers>
        <Key>59</Key>
      </KeyStroke>
    </MacroEntry>
Michael Hoopes
mhoopes
Posts: 137
Joined: Thu Dec 07, 2006 10:48 am
Location: Campbell, CA

Re: Cannot treate macros like Ctrl+1

Post by mhoopes »

Ctrl+Num 1 appears to have a different issue, in that it doesn't seem to have a system function, but Num 1 doesn't show up in the Macro Editor command when used with a modifier.
Michael Hoopes
Post Reply