Middle Mouse Click with HIDMouse_X

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
Marbleton
Posts: 5
Joined: Mon Mar 14, 2022 9:59 am

Middle Mouse Click with HIDMouse_X

Post by Marbleton »

My end goal is to activate the Middle Mouse Button along with HIDMouse Movements whenever I move my 3d mouse axis.

Is there a way to combine 2 action IDs, (HIDMouse_Middle) and (HIDMouse_X) ? It seems that only the first action id gets carried out. I was thinking maybe I can edit the HIDMouse functions directly and merge the two there?

Any help would be greatly appreciated :)
jwick
Moderator
Moderator
Posts: 3456
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Middle Mouse Click with HIDMouse_X

Post by jwick »

I believe this works (though I haven't tested it in a while):

Code: Select all

        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rx</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
          </Input>
          <Output>
            <ActionID>HIDMouse_X</ActionID>
            <Scale>1.00</Scale>
            <Modifiers>
              <Modifier>MiddleMouse</Modifier>
            </Modifiers>
          </Output>
        </Axis>
Marbleton
Posts: 5
Joined: Mon Mar 14, 2022 9:59 am

Re: Middle Mouse Click with HIDMouse_X

Post by Marbleton »

Thank you!!! This worked :)
Post Reply