Steam for Linux

Steam for Linux

USB Wired Xbox360-wine-xbox360cemu-xboxdrv
This topic is old but I have been trying to use a consistent method to have a USB Wired Xbox360 controller working with Steam Games.And the only method that worked for me is the following. I'm not talking about Keyboard-Mouse remapping of course.

1)Here how I got it to work.
downloaded xbox360cemu.v.3.0
http://code.google.com/p/xinput/downloads/detail?name=xbox360cemu.v.3.0.rar&can=2&q=

2)Then copy
dinput8.dll
xinput1_3.dll
xinput9_1_0.dll
xbox360cemu.ini

at the root of the folder where the executable reside ,in the steam folder ex: /home/rcmn/PlayOnLinux's virtual drives/AssassinsCreed/drive_c/Program Files (x86)/Steam/SteamApps/common/Assassins Creed

3) install xboxdrv

4) connect the USB Wired Xbox360 controller

5) run in a terminal:
sudo xboxdrv --silent --detach-kernel-driver --trigger-as-button --ui-axismap x2=ABS_Z,y2=ABS_RZ --ui-buttonmap A=BTN_B,B=BTN_X,X=BTN_A,TR=BTN_THUMBL,TL=BTN_MODE,GUIDE=BTN_THUMBR

So far It worked with :
- Assassins Creed (Steam version) (need to be activated in the option menu)
- Dishonored (Steam version)
- deus ex - human revolution (Steam Version)

Did not work:
- Rayman Origins (Steam version). I tried many options but I can't get to work ,even when I push the reset function in the options menu. It does not remap to the gamepad like it should.

If anyone Has any suggestions I'll be happy to hear them.

Bug:
sometime at the start of certain games( in the menu), the left Thumstick send continuous command making the menu select go wild. But you just have to move it once to reset it. After that there is no issues.(maybe some random skip in menus)
But I haven't see problems in game.
Dernière modification de capcavern; 19 avr 2013 à 16h40
< >
Affichage des commentaires 1 à 3 sur 3
Hi, I am on the same boat. Your method worked for some other game I tried (Braid, Limbo), but not for XCOM:EU. When I try to remap the keybindings and I press something on the joypad, the game correctly recognises the button press; but if I try to switch the input method to "Xbox630 Controller" it just sits there telling that I need to reconnect the gamepad.

My guess is that XCOM:EU (and possibly other titles) does some weird thing to hook up the gamepad, and wine doesn't manage that perfectly.

I also tried with several (newer and older) versions of x360ce, with same results.
If you do this and you can't get your controller working at all..

Disclaimer:
-THESE EXACT FILE NAMES AND WHAT THEY ARE ASSOCIATED WITH ARE SPECIFIC TO YOUR SYSTEM and COULD BE DIFFERENT-

1. Go to /dev/input AS ROOT

2. DELETE js0, (maybe js1.. etc)

3. DELETE the SAME NUMBER of event(0..) files as js(0..) starting from the HIGHEST number DOWN. (event17, event16, ...)
So if you deleted js0, js1, and js2.. you'd delete event27, event26 and event25 assuming your highest event file was event27

IMPORTANT.
There is a corresponding event file for every js file. Mine just happens to work out easily like this, your setup can be VERY different.

4. RUN "xboxdrv sudo xboxdrv --silent --detach-kernel-driver --trigger-as-button --ui-axismap x2=ABS_Z,y2=ABS_RZ --ui-buttonmap A=BTN_B,B=BTN_X,X=BTN_A,TR=BTN_THUMBL,TL=BTN_MODE,GUIDE=BTN_THUMBR"

5. RENAME the new js file it creates (js1, js2, ...js99, it will be the highest number) to js0

6. RENAME the new event file it creates (event1, event2, ...event99, it will be the highest number) to the lowest numbered event file that you deleted ealier. (ie. event16, event17, ... it would be event16)
DO NOT PLUG ANYTHING ELSE INTO YOUR COMPUTER BEFORE YOU DO THIS


DO IT EVEN THOUGH IT SAYS ITS "running at js0".. because if you check the folder (/dev/input/) you'll see its not.. for some reason.

If it doesn't work the first time, sometimes I have to plug in, run the script, then unplug up to four times

I'm guessing this is like plugging your controller into the first 'port' instead of the fourth on a console, but that's what I had to do to get mine working.


-------------------------------
If you are having a problem with it controlling two controllers at once..

1. Edit xbox360cemu.ini
2. Under [PAD2] change Index=0,1,2 (whatever it is) to
Index=-1

Edit this back when you want to plug in two controllers
Dernière modification de dont think about yor mom twerki; 28 mar à 18h07
< >
Affichage des commentaires 1 à 3 sur 3
Par page : 15 30 50