[Wine] Gamepad & Wine 1.0.1-2 on Debian Sid

the98 wineforum-user at winehq.org
Sat Jul 25 11:29:22 CDT 2009


Hi, I need you help. 

I've been reading and searching on Google for a while know to try to get my gamepad (joystick, whatever) to work. Of course that the gamepad works fine under GNU/linux natives apps, like ZNES.

First of all, is not a gamepad or joystick actually, it's an adaptor that lets me connect 2 PSII joysticks in one USB port.

The module I'm using is joydev, and I'm trying to make my joystick work with VirtuaNES. I have tested the gamepad under Windows with the same program, and it works fine.

This is what I get when I debug:

$ WINEDEBUG=+dinput wine VirtuaNES.exe 2>&1 | grep joydev


Code:
trace:dinput:find_joydevs Found a joystick on /dev/input/event6: Twin USB Joystick ({9e573eda-7734-11d2-8d4a-23903fb6bdf7})
trace:dinput:find_joydevs  ... with force feedback
trace:dinput:find_joydevs  ... with axis 0: cur=127, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs  ... with axis 1: cur=127, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs  ... with axis 2: cur=127, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs  ... with axis 5: cur=127, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs  ... with axis 16: cur=0, min=-1, max=1, fuzz=0, flat=0
trace:dinput:find_joydevs  ... with axis 17: cur=0, min=-1, max=1, fuzz=0, flat=0
trace:dinput:find_joydevs Found a joystick on /dev/input/event7: Twin USB Joystick ({9e573eda-7734-11d3-8d4a-23903fb6bdf7})
trace:dinput:find_joydevs  ... with force feedback
trace:dinput:find_joydevs  ... with axis 0: cur=127, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs  ... with axis 1: cur=127, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs  ... with axis 2: cur=127, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs  ... with axis 5: cur=127, min=0, max=255, fuzz=0, flat=15
trace:dinput:find_joydevs  ... with axis 16: cur=0, min=-1, max=1, fuzz=0, flat=0
trace:dinput:find_joydevs  ... with axis 17: cur=0, min=-1, max=1, fuzz=0, flat=0



If you ask me, I think both gamepads are found by wine, or at least, that's the reading I get from this debug.

So I have been trying for hours different "solutions", but none of them worked.

I will also leave you this commands:

# ls -l /dev/input/by-id

Code:
total 0
lrwxrwxrwx 1 root root 9 jul 25 13:08 usb-0810_Twin_USB_Joystick-event-joystick -> ../event6
lrwxrwxrwx 1 root root 6 jul 25 13:08 usb-0810_Twin_USB_Joystick-joystick -> ../js0



# ls -l /dev/input/

Code:
total 0
drwxr-xr-x  2 root root        80 jul 25 13:08 by-id
drwxr-xr-x  2 root root       160 jul 25 13:08 by-path
crwxrwxrwx  1 root plugdev 13, 64 jul 25 06:29 event0
crwxrwxrwx  1 root plugdev 13, 65 jul 25 06:29 event1
crwxrwxrwx  1 root plugdev 13, 66 jul 25 06:29 event2
crwxrwxrwx  1 root plugdev 13, 67 jul 25 06:29 event3
crwxrwxrwx+ 1 root plugdev 13, 68 jul 25 06:29 event4
crwxrwxrwx  1 root plugdev 13, 69 jul 25 06:29 event5
crw-rw-r--+ 1 root audio   13, 70 jul 25 13:08 event6
crw-rw-r--+ 1 root audio   13, 71 jul 25 13:08 event7
crw-rw-r--  1 root root    13,  0 jul 25 13:08 js0
crw-rw-r--  1 root root    13,  1 jul 25 13:08 js1
crw-rw----  1 root root    13, 63 jul 25 06:28 mice
crw-rw----  1 root root    13, 32 jul 25 06:29 mouse0



I have tried to change permissions, but it didn't work either. However, there is a big chance I'm not doing that right.

I currently don't have a symbolic link (/dev/js0) to /dev/input/js0. I don't think I need it because both joysticks are recognized, apparently.

Thanks for your help. [Embarassed]  [Embarassed]







More information about the wine-users mailing list