Trying to create an XML for a game

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
MacGoose
Posts: 2
Joined: Sat Apr 15, 2023 12:35 pm

Trying to create an XML for a game

Post by MacGoose »

Trying to create an XML for the game Star Citizen and I'm looking through the Base.xml file trying to get some tips. And based on this I don't get much about my specific problem:

Code: Select all

<AxisBank Default="true">
	<ID>Default</ID>
	<Name>STR_DEFAULT_BANK</Name>
	<Axis>
		<Enabled>true</Enabled>
		<Input>
			<ActionID>HIDMultiAxis_X</ActionID>
			<Min>-512</Min>
			<Max>511</Max>
			<Deadband>0</Deadband>
		</Input>
		<Output>
			<ActionID>HIDMultiAxis_X</ActionID>
			<NameID>STR_PAN_RIGHT_LEFT</NameID>
			<Min>-512.00</Min>
			<Max>511.00</Max>
			<Scale>1.00</Scale>
			<Reversed>false</Reversed>
		</Output>
	</Axis>
...
My specific problem is that it seems the axes isn't an absolute value. So when I move in one direction and release, it keep on moving. The axes seem to be mapped relative, or at least not absolute. Is there a fix to this? Is there a hidden value in the XML config or something?

Would also love to know what the <Deadband> is. I'm guessing it's the deadzone. How do you set that? Is it a +/- value of the <Min>/<Max>?
Post Reply