You can sign up to get a daily email of our articles, see the Mailing List page!
Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through Paypal, Flattr and Liberapay.!
Controllers with PlayOnLinux
leod commented on 5 January 2018 at 8:57 am UTC

Hey, is there a simple guide to getting controllers to work using PlayOnLinux anywhere?
I've been trying assorted wine-related controller tutorials for a whole day now, from xpad to xboxdrv/ubuntu-xboxdrv through koku-xinput, x360ce and basically everything I could find on the first page of various google search results.

I'm thinking that somewhere along the way I installed some components that made it just not work in my virtual drive (I guess that's what PlayOnLinux calls prefixes?), but I don't know what I should or shouldn't install in order to get anything to work.

So what I'm asking is: is there a guide to setup a PlayOnLinux prefix that accepts my Xbox360 Controller input from scratch, with all required PoL components and outside software/drivers?

skyrrd commented on 5 January 2018 at 11:07 am UTC

I know of three ways to get your controller working in wine

1. x360ce (didn't try that one as it only maps controller input to buttons)
2. dumbxinput
-make sure to get the right files for your wineprefix (32 or 64bit)
-you have to extract xinput1_3.dll in the same folder where the games .exe file is located.
-open winecfg for your prefix and add the library as native
-try if the controller works now
-if not, try to extract xinput9_1_0.dll as well
-depending on your wine version it "might" be necessary to create copys of xinput1_3.dll, name them xinput1_1.dll ...2.dll and ...4.dll and add them to the same folder.
3. there's a wine-patch for xinput here
the good thing is this one worked for me where option 2 didn't (witcher 3)
the bad thing is you have to patch wine source and compile it yourself, bad that sounds harder than it really is ;)

leod commented on 5 January 2018 at 6:14 pm UTC

I've already tried 1, it didn't work.
dumbxinput I just tried as well, didn't work either.
The wine patch I'm not sure how I'd use that, since I'm using PlayOnLinux which sits between me and wine.

And while I'm grateful for all that info, that still doesn't really tell me how to get a controller running from a clean slate, since I don't know which other wine components and libraries I can install and which will ruin it again.

skyrrd commented on 5 January 2018 at 8:23 pm UTC

Playonlinux is just a Frontend for managing prefixes, multiple versions of wine and installer scripts. I'd rather usw lutris if anything at all. But nevermind, what game are you trying to play with a controller?

wojtek88 commented on 5 January 2018 at 9:00 pm UTC

leodI've already tried 1, it didn't work.
I've finished DIRT 3: Complete Edition using DualShock 4 through x360ce and had not a single issue. With PES 2015 I had small problems while calibrating controller (triggers were recognized as triggered all the time) but after around 15 minutes of playing with buttons I managed to configure it.

What game do you try to play with your x360 controller?

leod commented on 12 January 2018 at 11:28 pm UTC

I was trying Nidhogg 2, Crawl, Dead Cells and Project64.

Due to spam you need to Register and Login to comment.

Or login with...

Livestreams & Videos
Community Livestreams
  • Story Time: „Unforeseen Incidents“
  • Date:
See more!
Popular this week
View by Category
Latest Comments
Latest Forum Posts