[Wine] Re: usb interface support

Tlarhices wineforum-user at winehq.org
Fri Sep 26 06:33:31 CDT 2008


> jstest /dev/input/js0


If I remember correctly :
/dev/input/js* is an event system, but it's not the one used by wine.
Wine use the /dev/input/event*

First you have to find which one is the one for your joystick, so test these ones and also look if your current user has access to it.

To test an event you can type in a terminal :

Code:

evtest /dev/input/event0



Press a few buttons, if it react to it you have the good one. If it tell you you can't access it, you have a problem with the rights. Check with your distribution how to solve these rights problems if any. There is a better tool than evtest, but right now I can't remember, sorry.

Note that this event number can change every time you plug the joystick and/or restart the computer. If it's the case, see with your distribution how to make a fixed one for your joystick.

To have the debug information, start a terminal and type :

Code:

cd ~/.wine/drive_c/Programme\IPACS\AeroFly\ Professional\ Deluxe
WINEDEBUG=+dinput wine flyrun.exe > dinput.log 2>&1




And you will have all the informations in the file dinput.log then put the content of this file here so it can be looked over.







More information about the wine-users mailing list