Hi, I am trying to get my Steam games such as Trine, The Cave, Risk of
Rain, Towerfall Ascension etc to work on my linux box with my two xbox
original gamepads. I can get one to work, but every configuration I've
tried to enable two controllers has failed to work in these games. I don't
know how to fix it, and have spent weeks researching and trying new things.
It really shouldn't be hard. I've read the entire xboxdrv help
<http://pingus.seul.org/~grumbel/xboxdrv/xboxdrv.html> page at least three
times over... to no avail.
Any help is appreciated!
Background situation:
I have an old Dell Optiplex Duo Core 2 that I've installed Ubuntu 14.04 on.
I'm running the linux version of Steam and have a number of games such as
Trine, Towerfall Ascension, Broforce, etc that are supposedly "controller
support." I've found that these games are typically programmed to only
support an actual xbox 360 controller... which in this case I have two
older (original) xbox controllers with USB adapter connected to the
computer.
I'm running xboxdrv and have had great success configuring it to work with
my emulator applications, such as MAME, RetroArch and FCEUX. Gamepad
mappings work great, controllers work fine.
What doesn't work, however, is xboxdrv + my steam games. A few games work
no matter what - Broforce is a good example. Most of the other "full
controller support" games don't, *unless I use the --mimic-xpad command
line option*. Then the game detects the gamepad and everything is merry.
The problem I'm having is that I can't get both controllers to work with
--mimic-xpad. I can get both controllers working without it, and play my
old emulated arcade games. But I can't get the two controllers to
mimic-xpad and play nice with these Steam games, which is a real pity.
Here's my config for a single controller - which works and every game
detects the gamepad:
sudo xboxdrv --mimic-xpad -s
Here's my config for two controllers:
xboxdrv -D -i 0 --next-controller -i 1 -s --dbus session
...which works fine for non-Steam games, and games that actually fully support
any gamepad, such as Broforce. Steam also works with the gamepad with either
configuration. But most other Steam games that only support a 360 controller
*do not detect the controller.*
I've ran jstest-gtk, which does actually detect both gamepads, and I've
verified all of their inputs are working. According to -evtest, both gamepads
are even loaded up as an "Input device name: "Microsoft X-Box 360 pad"
However, running the second configuration to load both gamepads does *not *work
with Steam games. When I load the game up, the majority simply do not detect
any sort of gamepad whatsoever (and don't respond to attempts to configure or
switch input types), they act like it is not connected or no driver loaded.
When I use the former config, the single gamepad works perfectly.
One other oddity: the gamepads are switched when I use the second config. It
shouldn't, but gamepad #1 becomes gamepad #2. Thats bizarre.
Also, evtest shows slight differences in the outputs using the two configs
(highlighted in yellow, below).
Evtest event log from working single-gamepad config:
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x45e product 0x28e version 0x110
Input device name: "Microsoft X-Box 360 pad"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 304 (BTN_A)
Event code 305 (BTN_B)
Event code 307 (BTN_X)
Event code 308 (BTN_Y)
Event code 310 (BTN_TL)
Event code 311 (BTN_TR)
Event code 314 (BTN_SELECT)
Event code 315 (BTN_START)
Event code 316 (BTN_MODE)
Event code 317 (BTN_THUMBL)
Event code 318 (BTN_THUMBR)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min -32768
Max 32767
Fuzz 16
Flat 128
Event code 1 (ABS_Y)
Value 0
Min -32768
Max 32767
Fuzz 16
Flat 128
Event code 2 (ABS_Z)
Value 0
Min 0
Max 255
Event code 3 (ABS_RX)
Value 0
Min -32768
Max 32767
Fuzz 16
Flat 128
Event code 4 (ABS_RY)
Value 0
Min -32768
Max 32767
Fuzz 16
Flat 128
Event code 5 (ABS_RZ)
Value 0
Min 0
Max 255
Event code 16 (ABS_HAT0X)
Value 0
Min -1
Max 1
Event code 17 (ABS_HAT0Y)
Value 0
Min -1
Max 1
Properties:
Testing ... (interrupt to exit)
Evtest event log from two-gamepad not-working config:
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "Microsoft X-Box 360 pad"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 304 (BTN_A)
Event code 305 (BTN_B)
Event code 307 (BTN_X)
Event code 308 (BTN_Y)
Event code 310 (BTN_TL)
Event code 311 (BTN_TR)
Event code 314 (BTN_SELECT)
Event code 315 (BTN_START)
Event code 316 (BTN_MODE)
Event code 317 (BTN_THUMBL)
Event code 318 (BTN_THUMBR)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min -32768
Max 32767
Fuzz 16
Flat 128
Event code 1 (ABS_Y)
Value 0
Min -32768
Max 32767
Fuzz 16
Flat 128
Event code 2 (ABS_Z)
Value 0
Min 0
Max 255
Event code 3 (ABS_RX)
Value 0
Min -32768
Max 32767
Fuzz 16
Flat 128
Event code 4 (ABS_RY)
Value 0
Min -32768
Max 32767
Fuzz 16
Flat 128
Event code 5 (ABS_RZ)
Value 0
Min 0
Max 255
Event code 16 (ABS_HAT0X)
Value 0
Min -1
Max 1
Event code 17 (ABS_HAT0Y)
Value 0
Min -1
Max 1
Properties:
Testing ... (interrupt to exit)
--
You received this message because you are subscribed to the Google Groups
"xboxdrv" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/xboxdrv.
For more options, visit https://groups.google.com/d/optout.