On one of my PCs, I have bound keyboard keys to all of the axis of the 3dx device, so when I move in a particular direction, a keyboard key gets triggered.
Its working fine but I am plagued by a issue that I have not been able to solve, I have read the forums for clues but I am still stuck.
The issue I am having is that when I have engaged the puck towards a certain axis, the corresponding keyboard key for that axis direction fires, this is as desired so far, but while this same axis is engaged, keyboard keys that belongs to other axis can also end up triggering.
So for example if I have bound keyboard key x for forward X axis, and y key for forward Y axis, while moving the puck forward in X axis, x will trigger but y will also trigger intermittingly
Reading the forum on similar issues, a common solution was the tag <AxisFilter>Dominant</AxisFilter>, I added the tag to the bottom but it does not prevent the issue at all. Is it supposed to be parented to a particular tag or something?
Also are both tags designed to limit their effects to a single axis? For example, with the following snippet, I am attempting to apply Dominant and Deadband to only the y axis, is this even possible?
Code: Select all
...
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Y</ActionID>
<Min>0</Min>
<Max>511</Max>
<Deadband>200</Deadband>
<AxisFilter>Dominant</AxisFilter>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>21</Key></KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_X</ActionID>
<Max>0</Max>
<Min>511</Min>
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>22</Key></KeyStroke>
</Output>
</Axis>
</AxisBank>
...Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<Global Default="false" xmlns="" CfgFormatVersion="1.3" ThisFileVersion="2.0">
<CfgProperties>
<ID>ID_Global_Cfg</ID>
<Name>STR_GLOBALCFG</Name>
<InheritsFromID>ID_Global_Cfg</InheritsFromID>
</CfgProperties>
<Devices>
<Device>
<ID>ID_Standard_3D_Mouse</ID>
<Name>Standard 3D Mouse</Name>
<CurrentAxisBank>Default</CurrentAxisBank>
<CurrentButtonBank>Default</CurrentButtonBank>
<AxisBank Global="true">
<ID>Global Global</ID>
<Name>Global</Name>
<InheritsFromID />
<!-- [b2] Y 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>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>4E</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>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>4B</Key></KeyStroke>
</Output>
</Axis>
<Axis>
<!-- rY axis -->
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_RZ</ActionID>
<Min>0</Min>
<Max>511</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>24</Key></KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_RZ</ActionID>
<Min>-512</Min>
<Max>0</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>25</Key></KeyStroke>
</Output>
</Axis>
<!-- [b2] Z Axis -->
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Y</ActionID>
<Min>0</Min>
<Max>511</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>21</Key></KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_Y</ActionID>
<Min>-512</Min>
<Max>0</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>20</Key></KeyStroke>
</Output>
</Axis>
<Axis>
<!-- rZ axis -->
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_rY</ActionID>
<Min>0</Min>
<Max>511</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>26</Key></KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_rY</ActionID>
<Min>-512</Min>
<Max>0</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>27</Key></KeyStroke>
</Output>
</Axis>
<!-- [b2] X Axis -->
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_X</ActionID>
<Min>0</Min>
<Max>511</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>1F</Key></KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_X</ActionID>
<Min>-512</Min>
<Max>0</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>1E</Key></KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_rX</ActionID>
<!-- rX axis -->
<Min>0</Min>
<Max>511</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>23</Key></KeyStroke>
</Output>
</Axis>
<Axis>
<Enabled>true</Enabled>
<Input>
<ActionID>HIDMultiAxis_rX</ActionID>
<Min>-512</Min>
<Max>0</Max>
<!-- <Deadband>200</Deadband> -->
</Input>
<Output>
<ActionID>KB_Keystroke</ActionID>
<Scale>3.00</Scale>
<RepeatStyle>Auto</RepeatStyle>
<KeyStroke><Key>22</Key></KeyStroke>
</Output>
</Axis>
</AxisBank>
<!-- [b2] Left Button -->
<ButtonBank Global="true">
<ID>Global Global</ID>
<Name>Global</Name>
<InheritsFromID />
<Button>
<Input>
<ActionID>V3DK_MENU_1</ActionID>
</Input>
<Output>
<ActionID>KB_F10</ActionID>
</Output>
</Button>
<!-- [b2] Right Button -->
<Button>
<Input>
<ActionID>V3DK_MENU_2</ActionID>
</Input>
<Output>
<ActionID>KB_F8</ActionID>
</Output>
</Button>
</ButtonBank>
<AxisFilter>Dominant</AxisFilter>
</Device>
</Devices>
<Settings>
<LEDsEnabled>false</LEDsEnabled>
</Settings>
</Global>