Weird duplication when using PushPop ButtonBank

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

Moderator: Moderators

Post Reply
[email protected]
Posts: 1
Joined: Sun Dec 28, 2025 2:29 am

Weird duplication when using PushPop ButtonBank

Post by [email protected] »

I'm torturing a config file into working well with LosslessCut. I managed to get (mostly) everything working the way I want. LosslessCut has no knowledge of HID axis controllers so I've had to map the axes to KB_Keystrokes. Some of those keystrokes involve modifiers. I got all this up and working no problem.

Independent of that, I decided there weren't enough buttons already, so I wanted to PushPop between ButtonBanks whenever the Esc key is pressed. Once again, I managed to get that all working.

The problem arises with both of them together. Now whenever I press the Esc key, the config file ends up with duplicated Modifier entries on the AxisBanks. For instance:

Code: Select all

        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Y</ActionID>
            <Min>-512</Min>
            <Max>0</Max>
            <Deadband>100</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <Scale>0.0100</Scale>
            <MaxEventRate>160.0000</MaxEventRate>
            <Modifiers>
              <Modifier>Shift</Modifier>
              <Modifier>Alt</Modifier>
			<Modifier>Shift</Modifier><Modifier>Alt</Modifier><Modifier>Shift</Modifier><Modifier>Alt</Modifier><Modifier>Shift</Modifier><Modifier>Alt</Modifier><Modifier>Shift</Modifier><Modifier>Alt</Modifier><Modifier>Shift</Modifier><Modifier>Alt</Modifier><Modifier>Shift</Modifier><Modifier>Alt</Modifier><Modifier>Shift</Modifier><Modifier>Alt</Modifier></Modifiers>
            <KeyStroke>
              <Key>52</Key>
            </KeyStroke>
          </Output>
        </Axis>
I know 3DxWare needs to edit the file to change the CurrentButtonBank, and it seems to be screwing up in the process. This doesn't cause any actual behavior problems, but in the long run it could cause the file to grow uncontrollably large.

So first this is a bug report. I know I'm out in the weeds, but it probably shouldn't do this regardless what the input is.
Second, as a workaround, I'm trying to figure out what the schema would be for pulling those actions out. It doesn't seem to like having the ActionID be a MacroEntry. Basically I'm looking for the axis equivalent of ButtonAction, but AxisAction seems to be for inputs, not outputs.

Another route would be to use CLI commands instead of keyboard shortcuts. Less performant, but might still work well enough. LosslessCut allows sending keyboard actions directly to the command line (shown here). Is there a way to have an axis trigger a CLI command?
simon458s
Posts: 1
Joined: Tue Apr 14, 2026 9:10 pm
Contact:

Re: Weird duplication when using PushPop ButtonBank

Post by simon458s »

That duplication looks like the config is being re-serialized incorrectly on each bank switch. Have you tried isolating modifiers into a reusable macro or checking if 3DxWare supports a “no-merge” or override flag to prevent appending?
Post Reply