Menú principal

Gamepad con Wine

Publicado por the98, Julio 25, 2009, 00:09:37

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

the98

Me compré un Gamepad que anda perfecto con las aplicaciones nativas de Linux, pero no lo puedo hacer andar con Wine.

¿Alguien sabe qué hacer? En google no encontré solución.

Gracias.

ZeiterZ

Cita de: the98 en Julio 25, 2009, 00:09:37
Me compré un Gamepad que anda perfecto con las aplicaciones nativas de Linux, pero no lo puedo hacer andar con Wine.

¿Alguien sabe qué hacer? En google no encontré solución.

Gracias.

Posteá el resultado de:

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

Saludos

the98

debian:/home/marco# ls -l /dev/input
total 0
drwxr-xr-x  2 root root      80 jul 24 23:50 by-id
drwxr-xr-x  2 root root     160 jul 24 23:50 by-path
crw-rw----  1 root root  13, 64 jul 24 14:17 event0
crw-rw-r--+ 1 root audio 13, 65 jul 24 23:50 event1
crw-rw-r--+ 1 root audio 13, 66 jul 24 23:50 event2
crw-rw----  1 root root  13, 67 jul 24 14:17 event3
crw-rw----  1 root root  13, 68 jul 24 14:17 event4
crw-rw----  1 root root  13, 69 jul 24 14:17 event5
crw-rw----  1 root root  13, 70 jul 24 14:17 event6
crw-rw----+ 1 root root  13, 71 jul 24 14:17 event7
crw-rw-r--  1 root root  13,  0 jul 24 23:50 js0
crw-rw-r--  1 root root  13,  1 jul 24 23:50 js1
crw-rw----  1 root root  13, 63 jul 24 14:17 mice
crw-rw----  1 root root  13, 32 jul 24 14:17 mouse0


debian:/home/marco# ls -l /dev/input/by-id
total 0
lrwxrwxrwx 1 root root 9 jul 24 23:50 usb-0810_Twin_USB_Joystick-event-joystick -> ../event2
lrwxrwxrwx 1 root root 6 jul 24 23:50 usb-0810_Twin_USB_Joystick-joystick -> ../js1

ZeiterZ

Si sos miembro del grupo "audio", faltaría:

chgrp audio /dev/input/js1

Y fijate.

Saludos.

the98

#4
No hizo nada. Lo raro es que después de cambiarle el grupo a Audio, se lo cambié a PlugDev y lo cambia, pero cuando lo desenchufo y lo vuelvo a enchufar, vuelve a estar en el grupo audio.

Por cierto, el Wine parece que reconoce los joysticks (en verdad es un adaptador que permite conectar dos joysticks de PlayStation en uno):

# WINEDEBUG=+dinput wine VirtuaNES.exe 2>&1 | grep joydev
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



Gracias.

EDITO:

Me bajé una aplicación .exe que es un joystick tester y bajo esa aplicación, el gamepad responde. Por lo tanto el problema es de VirtuaNES y no de Wine. El tema es si podrá corregirse de alguna manera.

Saludos.