jamieduk / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
1 stars 0 forks source link

Use of digital pad of a DualShock(in analog mode) crash mupen64 #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe your system:
 - Linux distribution: Mandriva 2008.1
 - Machine type: Core 2 Duo 64-bit
 - Mupen64Plus version: 1.0, 1.3 and svn of 2008/04/20
 - Plugins used: blight's SDL input plugin

Describe the problem: I got a dual shock controller plugged via 
a "MP-8866 Dual USB Joypad". In analog mode, both analog sticks, all 
button and digital axis are recognised by the system. Mupen64(plus) 
recognised analog stick and all button without problem but when I try to 
set (in the config screen) or use (within a game) a direction of the 
digital pad mupen64 segfault.
In digital mode, the digital pad work flawlesly.

Please provide any additional information below.
(the axis numbering below is the one given by kde,if I read the blight 
plugin conf, all numbering are minus 1 i.e.: left-right axis is labeled 1 
by kde and 0 by blght plugin)
According to the joystick configuration panel of kde:
- in digital mode, the digital pad is binded on axis 1(x) and 2(y) (and 
can return "-32767", "0" or "32767" values) the analog stick are 
inactive.
- In Analog Mode, the digital pad is binded on axis 5(x) and 6(y) (and 
can return "-32767", "0" or "32767" values). The left analog stick is 
binded on axis 1(x) and 2(y) and right one is binded on axis 3(x) and 4
(y)(and can both return all value between "-32767" and "32767").

Original issue reported on code.google.com by shado...@gmail.com on 20 Apr 2008 at 4:25

GoogleCodeExporter commented 9 years ago
Seems that it's more a SDL bug, I never had to use digital pad in analog mode 
in 
another game or emu and just try with sdlmame and zsnes and the segfault appear 
also.
You can close this bug or flag it as an upstream problem to keep it in the bugs 
history

Original comment by shado...@gmail.com on 23 Apr 2008 at 6:49

GoogleCodeExporter commented 9 years ago
Thanks for the follow-up. Marking invalid as bug is not specific to Mupen64Plus.

Original comment by ebenbl...@gmail.com on 23 Apr 2008 at 6:52

GoogleCodeExporter commented 9 years ago
just for info, I opened a case in their bugzilla:
http://bugzilla.libsdl.org/show_bug.cgi?id=575

Original comment by shado...@gmail.com on 23 Apr 2008 at 9:16

GoogleCodeExporter commented 9 years ago
I also have this controller and use this analog/digital switch button, and it 
always
works perfectly for me.  Tested on both gentoo amd64 stable and fedora 8 64-bit.

Original comment by richard...@gmail.com on 23 Apr 2008 at 12:05

GoogleCodeExporter commented 9 years ago
which version of SDL are you using?

Original comment by shado...@gmail.com on 23 Apr 2008 at 1:26

GoogleCodeExporter commented 9 years ago
I'm using the defaults for the distros.  Both of them are based on 1.2.11.

Original comment by richard...@gmail.com on 23 Apr 2008 at 1:36