floorabucoo / mupen64plus

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

mupen64 not responding to controller #522

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Describe your system:
 - Operating System (be specific): Ubuntu 12.04
 - Machine type (32-bit or 64-bit): 32bit
 - Mupen64Plus version: 1.99.5
 - Plugins used: ?

Describe the problem:
I got mupen64plus to install correctly as far as I am concerned. Game loads up 
as expected. My controller seems to be recognized: 

Input: N64 Controller #1: Using stored config for SDL joystick 0 ('HuiJia  USB 
GamePad')

which is the correct gamepad (its the 2 port N64 controller to USB gamepad 
"Mayflash"). However, The game does not respond to my controller.

Please provide any additional information below.

Original issue reported on code.google.com by bdeono...@gmail.com on 9 Nov 2012 at 9:06

GoogleCodeExporter commented 9 years ago
Please use testjoystick to verify that the controller is working:

Check that you are using a mupen64plus build against SDL2 or SDL1.2 != 1.2.15 
(1.2.15 has a bug which kills some axis on devices with many axis). Just try to 
compile the sdl tests/testjoystick.c (can be found in the SDL sources) and 
check what information it shows for when starting it with the correct parameter 
(most likely 0 for your joystick) and you move the axis. You can now change the 
mode of your joystick to 0 in mupen64plus.cfg and rearrange the buttons/axis 
(use the information from the testjoystick program).

For the SDL1.2 version:
wget http://hg.libsdl.org/SDL/raw-file/fba40d9f4a73/test/testjoystick.c -O 
testjoystick.c
gcc `sdl-config --cflags` testjoystick.c `sdl-config --libs` -o testjoystick
./testjoystick 0

For the SDL2 version
wget http://hg.libsdl.org/SDL/raw-file/d6eabafa8776/test/testjoystick.c -O 
testjoystick.c
gcc `sdl2-config --cflags` testjoystick.c `sdl2-config --libs` -o testjoystick
./testjoystick 0

Original comment by s...@narfation.org on 18 Dec 2013 at 12:08