I am trying to use a Guillemot gamepad with PES6 but the buttons are not recognized. In kubuntu system settings I can see my pad, callibrate the joysticks and see the buttons are recognized, but not inside wine (only the joysticks are recognized). I have tried different combinations for the DirectInput entry in the registry but either I have not stumbled upon the correct one or there is another issue preventing the working of the buttons. Any advice on how to proceed? Thanks!!
agusmba wrote:> I am trying to use a Guillemot gamepad with PES6 but the buttons are not recognized. > > In kubuntu system settings I can see my pad, callibrate the joysticks and see the buttons are recognized, but not inside wine (only the joysticks are recognized). > > I have tried different combinations for the DirectInput entry in the registry but either I have not stumbled upon the correct one or there is another issue preventing the working of the buttons. > > Any advice on how to proceed? > > Thanks!!What are you testing this with? Are you using linux_joystick driver or evdev? (do you have access to /dev/input/event? device for joystick?)
vitamin wrote:> > agusmba wrote: > > How could I check if I have access to /dev/input/event? > > ls -la /dev/input/event?Ok, will do that as soon as I get home. Could it be that this prevents the buttons from working in wine but not the joysticks in the same gamepad? I did try something like "cat /dev/js0" (or something like that) and I could see some garbage whenever I used any button from the gamepad.
agusmba wrote:> I did try something like "cat /dev/js0" (or something like that) and I could see some garbage whenever I used any button from the gamepad.That would be the wrong device to use. It does not support axes configuration.
vitamin wrote:> > agusmba wrote: > > I did try something like "cat /dev/js0" (or something like that) and I could see some garbage whenever I used any button from the gamepad. > > That would be the wrong device to use. It does not support axes configuration.Mmmm axes == buttons? is it easy to switch devices? I also did use the WINDEBUG thing and grep the js0 from wine log to get the name of the gamepad and it looked correct.
vitamin wrote:> > agusmba wrote: > > How could I check if I have access to /dev/input/event? > > ls -la /dev/input/event?Code: ls -la /dev/input/event ls: cannot access /dev/input/event: No such file or directory but... Code: ls -la /dev/input total 0 drwxr-xr-x 4 root root 360 2008-03-27 19:53 . drwxr-xr-x 15 root root 14240 2008-03-27 19:53 .. drwxr-xr-x 2 root root 180 2008-03-27 19:53 by-id drwxr-xr-x 2 root root 220 2008-03-27 19:53 by-path crw-rw---- 1 root root 13, 64 2008-03-27 19:53 event0 crw-rw---- 1 root root 13, 65 2008-03-27 19:53 event1 crw-rw---- 1 root root 13, 66 2008-03-27 19:53 event2 crw-rw---- 1 root root 13, 67 2008-03-27 19:53 event3 crw-rw---- 1 root root 13, 68 2008-03-27 19:53 event4 crw-rw---- 1 root root 13, 69 2008-03-27 19:53 event5 crw-rw---- 1 root root 13, 70 2008-03-27 19:53 event6 crw-rw---- 1 root root 13, 71 2008-03-27 19:53 event7 crw-rw---- 1 root root 13, 72 2008-03-27 19:53 event8 crw-rw---- 1 root plugdev 13, 0 2008-03-27 19:53 js0 crw-rw---- 1 root root 13, 63 2008-03-27 19:52 mice crw-rw---- 1 root root 13, 32 2008-03-27 19:52 mouse0 crw-rw---- 1 root root 13, 33 2008-03-27 19:53 mouse1 crw-rw---- 1 root root 13, 34 2008-03-27 19:53 mouse2 Is this ok?
vitamin wrote:> > agusmba wrote: > > When I use the joysticks all is ok, but when I push one of the buttons, I see the "fixme" line and a "normal" line where the button appears to be pushed ("1") > > Ok good. When you release that button doe it go back to "0"?Yes, it goes back to 0. I think I get the "fixme" line when I push and when I release the button.