How to get a controller work in wine 1.7?

Questions about Wine on Linux
Locked
wellsaid
Level 2
Level 2
Posts: 18
Joined: Fri Jun 07, 2013 4:16 am

How to get a controller work in wine 1.7?

Post by wellsaid »

Hi,
i'm trying to get work an xbox 360 controller on Ubuntu 13.10 whit wine.
If i type in a terminal

Code: Select all

wine control joy.cpl
It won't detect any joypad.

How can i make my pad visible to wine?
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: How to get a controller work in wine 1.7?

Post by oiaohm »

wellsaid first question does xbox 360 controller work under Linux. Some third party controllers don't work with the kernel xbox joystick controller. There is a userspace driver that helps so out http://pingus.seul.org/~grumbel/xboxdrv/

http://wiki.winehq.org/UsefulRegistryKeys directinput section will be useful to get log to see if it appears.

wine --version and quote full version. 1.7? is missing the last number.
wellsaid
Level 2
Level 2
Posts: 18
Joined: Fri Jun 07, 2013 4:16 am

Re: How to get a controller work in wine 1.7?

Post by wellsaid »

hi i'm sorry i have forgot to mention that:

i'm on wine 1.7.4 and the controller fully work on linux native games, i have tried frets on fire, super tux kart and also via native linux steam i tried: Trine 2, Shank 2 e Shank (for Shank controller won't work).

i have tried to follow the instruction of the registry key page you have linked to me, but in directinput section it says to run

Code: Select all

WINEDEBUG=+dinput wine game.exe 2>&1 | grep joydev_enum_device
to get the joystick name, but it has no output for me
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: How to get a controller work in wine 1.7?

Post by oiaohm »

Do check if you are on a 64bit system you have 32 bit version of libdbus installed.

Sometimes it requires some common sense with the instructions around wine.

game.exe has to be swapped with a real name of game.

Really I should get that edited to be more clear.

WINEDEBUG=+dinput wine control joy.cpl 2>&1 | grep joydev_enum_device

Should also work.
wellsaid
Level 2
Level 2
Posts: 18
Joined: Fri Jun 07, 2013 4:16 am

Re: How to get a controller work in wine 1.7?

Post by wellsaid »

yeah i have tried whit joy.cpl and whit moto gp 13 game, but still no output.
Locked