Stuck on diagonals

Gamepad acting up? Keyboard not responding properly? Can't get that other user to work? Read and post about it here.

Moderator: ZSNES Mods

Post Reply
linuxgamer92

Stuck on diagonals

Post by linuxgamer92 »

The D-pad on my Saitek P2500 Rumble Pad seems to be stuck on diagonals. For example, if I hold up and right, then roll my thumb down so that only right is being held down, the game still thinks I am holding up as well as right. I have to release my thumb from the pad in order to go from diagonal to horizontal. I am using the athlon64 Linux binary of ZSNES under Ubuntu 9.04 (64 bit). Suggestions?

Edit: I sort of solved the problem by using the Windows version of ZSNES under Wine. Rendering, sound, and input work perfectly, which tells us us that this input problem is exclusive to the Linux version.
node357

Post by node357 »

I have the exact same problem with a Logitech Dual Action gamepad. Only the Ubuntu 9.04 build of ZSNES seems to be the problem. The Windows version with Wine, I can't select a video mode without it freezing up.
badinsults
"Your thread will be crushed."
Posts: 1236
Joined: Wed Jul 28, 2004 1:49 am
Location: Not in Winnipeg
Contact:

Post by badinsults »

Thirded with Ubuntu 9.04. Since I am not a programmer, I can't say what is causing the problem (btw, there is no problem in bsnes).
<pagefault> i'd break up with my wife if she said FF8 was awesome
node357

Post by node357 »

Even with the binaries from http://board.zsnes.com/phpBB2/viewtopic.php?t=11513, the controls still stick on Ubuntu. My uneducated guess is there's something wrong with the controller drivers in the Ubuntu kernel. Current ZSNES works fine with my controller on Slackware 13 and Mandriva 2009.1.
Temüjin

Post by Temüjin »

I was having the same problem in Ubuntu (and not in Arch Linux). I solved my problem by changing permissions for all of my /dev/input/event devices to only have root access (and removing the extended ACL on those files). Before permission changes:

Code: Select all

Starting Mouse detection.
Unable to poll /dev/input/event3. Make sure you have read permissions to it.
Unable to poll /dev/input/event1. Make sure you have read permissions to it.
Unable to poll /dev/input/event0. Make sure you have read permissions to it.
ManyMouse: 2 mice detected.
Using ManyMouse for:
Mouse 0: Logitech USB RECEIVER
Mouse 1: Macintosh mouse button emulation

Device 0 Saitek P990 Dual Analog Pad
  [b]4 axis[/b], 14 buttons, [b]1 hats[/b], 0 balls
After I set permissions, like so:

Code: Select all

sudo setfacl -b /dev/input/event*
sudo chmod 640 /dev/input/event*
Then zsnes starts like:

Code: Select all

Starting Mouse detection.
Unable to poll /dev/input/event5. Make sure you have read permissions to it.
Unable to poll /dev/input/event4. Make sure you have read permissions to it.
Unable to poll /dev/input/event2. Make sure you have read permissions to it.
Unable to poll /dev/input/event3. Make sure you have read permissions to it.
Unable to poll /dev/input/event1. Make sure you have read permissions to it.
Unable to poll /dev/input/event0. Make sure you have read permissions to it.
ManyMouse: 0 mice detected.

Device 0 Saitek P990 Dual Analog Pad
  [b]6 axis[/b], 14 buttons, 0 hats, 0 balls
I'm not sure whether Ubuntu permissions are incorrect (i.e. a bug) or if my controller just conflicts with ManyMouse.
badinsults
"Your thread will be crushed."
Posts: 1236
Joined: Wed Jul 28, 2004 1:49 am
Location: Not in Winnipeg
Contact:

Post by badinsults »

I tried your method, and it did not work. Maybe a switch to the newest version of Ubuntu will fix the issue.
<pagefault> i'd break up with my wife if she said FF8 was awesome
Medo42
New Member
Posts: 2
Joined: Wed Jun 09, 2010 12:53 pm

Re: Stuck on diagonals

Post by Medo42 »

Hi.

I had the same problem and found a patch on this forum. You can get a fixed version by adding my ppa to your package sources:

https://launchpad.net/~smaxein/+archive/ppa/

Hope that helps someone :)
dfreer
Lurker
Posts: 139
Joined: Fri May 11, 2007 5:28 am

Re: Stuck on diagonals

Post by dfreer »

A link to the patch would be great.
Medo42
New Member
Posts: 2
Joined: Wed Jun 09, 2010 12:53 pm

Re: Stuck on diagonals

Post by Medo42 »

http://board.zsnes.com/phpBB3/viewtopic.php?t=12544

The i386 package for lucid lynx is actually still stuck in the waiting queue for the Ubuntu build farm, so you can't install that yet. Maybe in another two hours.
Post Reply