KeyboardWASDTemplate.xml

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
TBW777
Posts: 1
Joined: Fri Dec 04, 2020 12:07 pm

KeyboardWASDTemplate.xml

Post by TBW777 »

I'm setting up my SpacePilot Pro anew and I need a copy of KeyboardWASDTemplate.xml . Can anyone tell me where I can get a copy.
Thanks.
jwick
Moderator
Moderator
Posts: 3340
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: KeyboardWASDTemplate.xml

Post by jwick »

It should be in the same place it usually is: <ProgramFiles>/3Dconnexion/3DxWare/3DxWinCore/Cfg/KeyboardWASDTemplate.xml.
The template import mechanism no longer exists. You have to manually copy the contents of that file to an application-specific cfg.
mordewal
Posts: 12
Joined: Sat May 09, 2020 2:03 am

Re: KeyboardWASDTemplate.xml

Post by mordewal »

I have an example for you. I wrote this profile for Baldurs Gate 3.
I also use tab Z Axis to hit Y (german keyboard layout) what will center my camera view.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!--
(c) Copyright 3Dconnexion. All rights reserved. 
$Revision: 17343 $
-->
<AppCfg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Default="false" CfgFormatVersion="1.3" ThisFileVersion="1.12">
  <AppInfo>
    <Signature>
      <Name>Baldur's Gate 3</Name>
      <ExecutableName>bg3_dx11.exe</ExecutableName>
    </Signature>
    <Options />
  </AppInfo>
  <CfgProperties>
    <ID>ID_Baldur's Gate 3</ID>
    <Name>Baldur's Gate 3</Name>
    <InheritsFromID>ID_Default_KMJ_Cfg</InheritsFromID>
  </CfgProperties>
  <MacroTable>
    <MacroEntry>
      <ID>1</ID>
      <KeyStroke>
        <Key>1E</Key>
      </KeyStroke>
    </MacroEntry>
    <MacroEntry>
      <ID>2</ID>
      <KeyStroke>
        <Key>1F</Key>
      </KeyStroke>
    </MacroEntry>
    <MacroEntry>
      <ID>3</ID>
      <KeyStroke>
        <Key>20</Key>
      </KeyStroke>
    </MacroEntry>
    <MacroEntry>
      <ID>4</ID>
      <KeyStroke>
        <Key>21</Key>
      </KeyStroke>
    </MacroEntry>
    <MacroEntry>
      <ID>M</ID>
      <KeyStroke>
        <Key>10</Key>
      </KeyStroke>
    </MacroEntry>
    <MacroEntry>
      <ID>X</ID>
      <KeyStroke>
        <Key>1B</Key>
      </KeyStroke>
    </MacroEntry>
    <MacroEntry>
      <ID>B</ID>
      <KeyStroke>
        <Key>5</Key>
      </KeyStroke>
    </MacroEntry>
    <MacroEntry>
      <ID>T</ID>
      <KeyStroke>
        <Key>17</Key>
      </KeyStroke>
    </MacroEntry>
    <MacroEntry>
      <ID>I</ID>
      <KeyStroke>
        <Key>C</Key>
      </KeyStroke>
    </MacroEntry>
    <MacroEntry>
      <ID>C</ID>
      <KeyStroke>
        <Key>6</Key>
      </KeyStroke>
    </MacroEntry>
  </MacroTable>
  <Devices>
    <Device>
      <ID>ID_ProductID_C631</ID>
       <AxisFilter>None</AxisFilter>
      <CurrentAxisBank>Default</CurrentAxisBank>
      <AxisBank Default="true">
        <ID>Default</ID>
        <Name>STR_DEFAULT_BANK</Name>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_X</ActionID>
            <Min>0</Min>
            <Max>511</Max>
            <Deadband>50</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <RepeatStyle>PressAndHold</RepeatStyle>
            <KeyStroke>
              <Key>07</Key>
            </KeyStroke>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_X</ActionID>
            <Min>-512</Min>
            <Max>0</Max>
            <Deadband>50</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <RepeatStyle>PressAndHold</RepeatStyle>
            <KeyStroke>
              <Key>04</Key>
            </KeyStroke>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Y</ActionID>
            <Min>0</Min>
            <Max>511</Max>
            <Deadband>50</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <RepeatStyle>PressAndHold</RepeatStyle>
            <KeyStroke>
              <Key>16</Key>
            </KeyStroke>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Y</ActionID>
            <Min>-512</Min>
            <Max>0</Max>
            <Deadband>50</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <RepeatStyle>PressAndHold</RepeatStyle>
            <KeyStroke>
              <Key>1A</Key>
            </KeyStroke>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Z</ActionID>
            <Min>0</Min>
            <Max>511</Max>
            <Deadband>200</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <RepeatStyle>PressAndHold</RepeatStyle>
            <KeyStroke>
              <Key>1B</Key>
            </KeyStroke>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Z</ActionID>
            <Min>-512</Min>
            <Max>0</Max>
            <Deadband>200</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <RepeatStyle>PressAndHold</RepeatStyle>
            <KeyStroke>
              <Key>1D</Key>
            </KeyStroke>
          </Output>
        </Axis>
        <Axis>
          <Enabled>false</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rx</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMultiAxis_Rx</ActionID>
          </Output>
        </Axis>
        <Axis>
          <Enabled>false</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Ry</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
            <Deadband>0</Deadband>
          </Input>
          <Output>
            <ActionID>HIDMultiAxis_Ry</ActionID>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rz</ActionID>
            <Min>0</Min>
            <Max>511</Max>
            <Deadband>50</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <RepeatStyle>PressAndHold</RepeatStyle>
            <KeyStroke>
              <Key>14</Key>
            </KeyStroke>
          </Output>
        </Axis>
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Rz</ActionID>
            <Min>-512</Min>
            <Max>0</Max>
            <Deadband>50</Deadband>
          </Input>
          <Output>
            <ActionID>KB_Keystroke</ActionID>
            <RepeatStyle>PressAndHold</RepeatStyle>
            <KeyStroke>
              <Key>08</Key>
            </KeyStroke>
          </Output>
        </Axis>
      </AxisBank>
      <ButtonBank Default="true">
        <Name>STR_DEFAULT_BUTTONBANK</Name>
        <ID>Default</ID>
        <Button>
          <Input>
            <ActionID>HIDButton_13</ActionID>
          </Input>
          <Output>
            <ActionID>1</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_14</ActionID>
          </Input>
          <Output>
            <ActionID>2</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_15</ActionID>
          </Input>
          <Output>
            <ActionID>3</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_16</ActionID>
          </Input>
          <Output>
            <ActionID>4</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_2</ActionID>
          </Input>
          <Output>
            <ActionID>M</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_27</ActionID>
          </Input>
          <Output>
            <ActionID>X</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_9</ActionID>
          </Input>
          <Output>
            <ActionID>B</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_3</ActionID>
          </Input>
          <Output>
            <ActionID>T</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_5</ActionID>
          </Input>
          <Output>
            <ActionID>I</ActionID>
          </Output>
        </Button>
        <Button>
          <Input>
            <ActionID>HIDButton_6</ActionID>
          </Input>
          <Output>
            <ActionID>C</ActionID>
          </Output>
        </Button>
      </ButtonBank>
    </Device>
      </Devices>
  <AuthorInfo>
    <DriverVersion>17.7.0.17687</DriverVersion>
    <LastChange>
      <Tool>3DxSmartUI.exe</Tool>
      <Version>1.2.20251.17614</Version>
      <Date>11/10/2020 3:21:34 PM UTC</Date>
      <User>mschenkbier</User>
    </LastChange>
  </AuthorInfo>
</AppCfg>
Post Reply