I use a usb twin adapter for ps1&2 game-pad. All work well with every app, and I also use the Antimicro software to setup when I need.
I also used it with ubuntu12.04 and STK, all work well.
But now, with ubuntu16.04 and STK 8.1 and 8.2 [EDIT: 9.1 and 9.2 in fact], I just can't setup joystick. If I try to, I got only "axis 0" assigned to every action! When I try to set-up, I guess a little pop-up window that immediately disappear.
All go well in menu with the pad, anyway.
So, I can use antimicro to assign keyboard key topad, and then deactivate gamepad in STK, to finally use it. I've tried, that works but.. what a bad solution!
I would like to use analog axis for acceleration for example.
Here my input.xml, but don't know what to put in "id="
- {l Code}: {l Select All Code}
</gamepad>
<gamepad name ="Twin USB Joystick" deadzone="4096" desensitize="0" analog="1"
enabled="false">
<action name="steerLeft" id="0" event="2" character="48" direction="0" range="0" />
<action name="steerRight" id="1" event="2" character="48" direction="0" range="0" />
<action name="accel" id="0" event="2" character="48" direction="0" range="0" />
<action name="brake" id="0" event="2" character="53" direction="0" range="0" />
<action name="nitro" id="0" event="2" character="53" direction="1" range="1" />
<action name="drift" id="0" event="2" character="53" direction="1" range="1" />
<action name="rescue" id="0" event="2" character="53" direction="1" range="1" />
<action name="fire" id="0" event="2" character="53" direction="0" range="0" />
<action name="lookBack" id="0" event="2" character="53" direction="1" range="1" />
<action name="pauserace" id="0" event="2" character="53" direction="0" range="0" />
<action name="menuUp" id="0" event="2" character="48" direction="0" range="0" />
<action name="menuDown" id="0" event="2" character="48" direction="0" range="0" />
<action name="menuLeft" id="0" event="2" character="48" direction="0" range="0" />
<action name="menuRight" id="0" event="2" character="48" direction="0" range="0" />
<action name="menuSelect" id="0" event="2" character="48" direction="0" range="0" />
<action name="menuCancel" id="0" event="2" character="48" direction="0" range="0" />
</gamepad>