Hello,
I want to use a Joystick in Wine. The Problem is I've got 3 Joysticks (dev/input/js0 - 2). Wine only sees js0.
So my question how do I get the other two running or how can I use at least /dev/input/js1?
Wine Version 1.5.23
ubuntu 12.10
kernel 3.5.0-23 generic
Configure Joystick in Wine
-
- Level 3
- Posts: 94
- Joined: Sat Sep 08, 2012 3:56 pm
Re: Configure Joystick in Wine
For all my DOS/Windows Apps I use a program called Joy2Key in Wine. Especially if they are not very compatible. Just make sure both Joy2Key and the wine app uses the same virtual drive.
For multiple JS settings, I would suggest looking into the individual Windows app settings. I think it is a case of your app detecting the extra sticks and less the fault of Wine. Not that Wine is perfect.
Also check the registry values; Each of the joystick's driver has a key under the path REGSTR_PATH_JOYCONFIG that has the form Msjstick.drv<xxxx>, where the xxxx is a four-digit number used to keep the key name unique. DirectX also contains Joystick support and if you installed DirectX you might want to look there as well.
For multiple JS settings, I would suggest looking into the individual Windows app settings. I think it is a case of your app detecting the extra sticks and less the fault of Wine. Not that Wine is perfect.
Also check the registry values; Each of the joystick's driver has a key under the path REGSTR_PATH_JOYCONFIG that has the form Msjstick.drv<xxxx>, where the xxxx is a four-digit number used to keep the key name unique. DirectX also contains Joystick support and if you installed DirectX you might want to look there as well.
Re: Configure Joystick in Wine
I checked and searched the Registry for "joy" but couldn't find any entries except \HKEY_CURRENT_USER\Software\Wine\DirectInput\Joysticks with no string in it.Also check the registry values; Each of the joystick's driver has a key under the path REGSTR_PATH_JOYCONFIG that has the form Msjstick.drv<xxxx>, where the xxxx is a four-digit number used to keep the key name unique. DirectX also contains Joystick support and if you installed DirectX you might want to look there as well.
I used also a windows app called joytester.exe. It find's the first Joystick (dev/input/js0) but the app says it doesnt have a REGKEY

The other Joysticks are not found
I looked at joy2key but it didn't help either

-
- Level 7
- Posts: 823
- Joined: Thu Aug 27, 2009 6:23 am
Re: Configure Joystick in Wine
Did you already try to configure your joysticks using the wine joystick applet? If not, open a terminal and type "wine control", then you should see a window, click on "game controller". I don't have any joysticks installed atm, so I can't tell you, if it will work, but if it doesn't, file a bug.
Re: Configure Joystick in Wine
Yes also tried to confiugre the Joystick with the applet but it didn't find any joystick in this applet 

Re: Configure Joystick in Wine
I have to correct myself!
If i use "wine control" I can't see any joystick. If I go to my wine directory and choose control.exe I can't see anything either.
If I doubleclick explorer.exe and go to control.exe then I see all my joystick!
Anyone an idea??
If i use "wine control" I can't see any joystick. If I go to my wine directory and choose control.exe I can't see anything either.
If I doubleclick explorer.exe and go to control.exe then I see all my joystick!
Anyone an idea??
-
- Level 7
- Posts: 823
- Joined: Thu Aug 27, 2009 6:23 am
Re: Configure Joystick in Wine
The direct command line to start the joystick applet would be something like "wine control joy.cpl". It shouldn't depend on the directory and/or environment (command line vs. wine's explorer). If it does, it is clearly a bug.
Nevertheless, if you configured your joysticks in the applet, your wine games should see the joysticks, maybe some windows games just choose the first visible joystick.
Nevertheless, if you configured your joysticks in the applet, your wine games should see the joysticks, maybe some windows games just choose the first visible joystick.