ePSXe and the xbox 360 controller

Questions about Wine on Linux
Locked
Feather
Newbie
Newbie
Posts: 3
Joined: Mon Mar 24, 2014 12:34 am

ePSXe and the xbox 360 controller

Post by Feather »

Hi all.

I'm currently experimenting with ePSXe under WINE, and everything works well except controller configuration.
I'm running WINE 1.6.1 on Mint 16, and my controller input is recognised fine, but it gets constant input from some buttons as if they were being held down.
My controller works fine with native linux applications, so it's not a hardware problem.

I've been trying to find up to date information on the state of WINE's XInput support, but I'm getting a lot of conflicting info.
I can't find anything on the wiki, and I generally can't tell if guides and patches are only revelant to earlier versions of wine than the one I'm running.
Some posts I've seen imply that WINE 1.6.1 has full 360 controller support, others say WINE isn't there yet.

So yeah, is there any relevant information on the current state of xbox 360 controller support in WINE? Or, failing that, does anyone have any advice on how I might fix my issue?

Thanks in advance.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: ePSXe and the xbox 360 controller

Post by dimesio »

Retest in the current development release and if the problem persists, file a bug.
gamerz
Level 1
Level 1
Posts: 9
Joined: Sun Mar 23, 2014 7:38 am

Re: ePSXe and the xbox 360 controller

Post by gamerz »

I tried with my XBox360 Controller and it seems like a bug in WINE. But i found a workaround:
You can hold the Button you want to map and click with the mouse into another input mapping dialog. The Button will stay mapped. This worked for me.
Feather
Newbie
Newbie
Posts: 3
Joined: Mon Mar 24, 2014 12:34 am

Re: ePSXe and the xbox 360 controller

Post by Feather »

Thanks for the feedback.

Gamerz, I tried what you suggested, and while it allowed me to map the controls correctly the persistent "UP" input continued into gameplay.

I installed the latest dev version, and since the problem didn't go away I posted a bug report.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: ePSXe and the xbox 360 controller

Post by oiaohm »

I did not get here quick enough hopefully you revisit.
There are two xbox controller drivers in Linux. One in kernel and this one http://pingus.seul.org/~grumbel/xboxdrv/ the one in kernel works ok with native Linux stuff most of the time but is very incomplete.

Issues described seam to be install xboxdrv for userspace driver and watch problem go away.\

Feather the confusion is the fact there are two xbox controller drivers of different quality.
Feather
Newbie
Newbie
Posts: 3
Joined: Mon Mar 24, 2014 12:34 am

Re: ePSXe and the xbox 360 controller

Post by Feather »

Thanks oiaohm, that completely fixed the issue!

Everything works except for mapping the triggers to L2&R2, which isn't a huge problem.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: ePSXe and the xbox 360 controller

Post by oiaohm »

http://manpages.ubuntu.com/manpages/pre ... drv.1.html

Feather there are a lot of minor things to check. Depending on how buggered/used the controller is an issue. The reason why L2 and R2 are not working might be that the trigger dead zone might be too large so trigger dead zone needs adjustment.

Auto detection sometimes calls a xbox360 control a xbox controler this leads to issues with L2 and R2 not working either.

Also not taking note that L2 and R2 are also titled LT and RT. --trigger-as-button you can require in some games otherwise LT/2 and RT/2 are another set axis that the game/emulator does not what to have bar to deal with.
Bladeforce
Level 3
Level 3
Posts: 63
Joined: Fri Nov 09, 2012 8:01 am

Re: ePSXe and the xbox 360 controller

Post by Bladeforce »

There is a native epsxe thats works fine in GNU
Locked