You are not logged in.
Greetings, Arch community!
I have a Logitech F710 controller (capable of both XINPUT & DINPUT) and I have already configured it using xboxdrv (although it works just fine with xpad). Linux native games via Steam work just fine with the controller but I have yet to get it working with games on Wine. I'm using PlayOnLinux and have a 32 bit WINEPREFIX using Wine 1.7.4-CSMT running Windows 7.
I believe these are relevant overrides:
xinput1_1 (native)
xinput1_2 (native)
xinput1_3 (native)
xinput9_1_0 (native)
dinput (builtin, native)
dinput8 (builtin, native)
I have tried switching about overrides to no avail as well as tried using x360ce to configure. However, x360ce does not detect the controller when I set either dinput to (native) only. Using ditool (to detect input devices), I see the controller detected just fine in both XINPUT & DINPUT. The games I wish to have the controller working with are:
Grand Theft Auto IV
The Legend of Korra
Note: These games wotk just fine with mouse & keyboard but I would much prefer to be able to lay back and play them with a controller.
I'm willing to provide relevant output to get this working because after many tries, it still does not work. Thanks in advance.
Last edited by timurkiyivinski (2014-10-26 13:36:29)
Offline
If your problem insists, you can still use a program like qjoypad or antimicro
Offline
Those would be my last resort. I've been trying various options, even a new WINEPREFIX to get it working. GTA IV has always been problematic, even on Windows so I'm not too concerned about that. However, Legend of Korra is really controller optimized.
Offline
As a matter of fact, I'm also trying to play korra with my F310 (also capable of both XINPUT & DINPUT). Korra is utterly impossible to play with mouse and keyboard (it does warn about that lol).
Offline
Have you tried https://github.com/KoKuToru/koku-xinput-wine it does seem a little old though
Offline
Yes, my friends are using controllers too but they have Windows based PCs, I prefer not to since gaming is the only use for Windows I (might) have use for. Wine is capable of XINPUT, GTA:SA works fine on Wine using both XINPUT & DINPUT. The problem seems to be with newer games that do not auto detect it, strangely enough although I wouldn't know where to start debugging the issue.
Offline
Well, at least wine runs it with no problem. I have enabled the xinput driver in wine, but Korra still doesn't detect it. Perhaps we should ask the wine devs?
Offline
Looking here, there is a gamepad comment that says it allows all controllers to be used. I could not get it working previously but maybe you would have better luck than me? This might work with LOK as well.
Offline
So, that converts dinput to xinput as far as I understood. Wine should support xinput (it does have a dll for that). Anyway, I'm still looking for a XINPUT solution.
Offline
Wine does keep both DINPUT & XINPUT as is, used ditool.exe to test in both modes. Just happens not to works with a few games, though.
Offline
Offline
Yeah, I've tried that and it doesn't work. Are you using the Steam version of LOK? What Wine overrides are you using?
Offline
Sorry for double post. Got it working. Should've just removed all overrides all this while. Shall just split games that require this into a different WINEPREFIX then.
Solution:
(Assuming you already have xboxdrv set up)
Download everthing from here. (Some random link)
Paste it into the same directory as the executable.
With your controller running in XINPUT mode, as root run:
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_THUMBRMake sure your user has permissions to read the outputted events.
Disable all XINPUT & DINPUT overried in wine by removing them.
After that, all works great. Thanks for the link!
Last edited by timurkiyivinski (2014-10-26 13:31:14)
Offline
LoK is still hard to play lol, can't get through the 3rd chapter.
Offline
Managed to replay to Chapter 4 with mouse & keyboard, time to replay with controller! Cheers!
Offline
Easy or Normal? Anyway, I'm not much of a gamer person, what did I expect
I don't really love the game (I'm a big fan of the series, I even watched Aang 3 times), they made it too difficult and too simple in the matter of fighting.
Offline
Both! Normal seems a bit more fun, though. I love the series too but if you're not a gamer, keeping to casual will do. Shall mark here on out of topic haha!
Offline