Puck mapping

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
Thalamus
Posts: 1
Joined: Sat Oct 19, 2019 8:10 pm

Puck mapping

Post by Thalamus » Sat Oct 19, 2019 8:15 pm

Hi,
I'd like to map the Puck axes to various functions in some audio software I'm using.
It seems the Mac drivers allow key bindings but this has been removed from the newer Windows drivers.

Is there a way to do this right now? Are older drivers available?
It seems a shame to prohibit this kind of thing.

jwick
Moderator
Moderator
Posts: 2565
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Puck mapping

Post by jwick » Mon Oct 21, 2019 5:15 am

There is no GUI for it, so while it basically works, it is limited, untested and a lot of manual XML editing is required.

There is a long thread here.

Fundamentally you have to tell the driver which keys to send and when.

It's best to start with some copy & paste from samples we ship. The KeyboardWASDTemplate.xml file contains some Axis assignments that send WASD keys (for games).
E.g., this sends an HID 8 keycode ("E") when the cap is pushed in the positive X and the value is > 200.

Code: Select all

        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_X</ActionID>
            <Min>0</Min>
            <Max>511</Max>
            <Deadband>200</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <RepeatStyle>PressAndHold</RepeatStyle>
            <KeyStroke>
              <Key>8</Key>
            </KeyStroke>
          </Output>
        </Axis>

Post Reply