PDA

View Full Version : Does N64 controller work with Ubuntu?


feenicks
March 2nd, 2008, 03:43 PM
I'm very happy to have Mupen64 and zsnes running right now. But I'm just using a generic USB gamepad which doesn't have enogh buttons or an exta joystick for the N64 games. Has anyone gotten an N64 controller with adapter to work under Ubuntu with mupen4?

frenchn00b
March 2nd, 2008, 03:55 PM
I'm very happy to have Mupen64 and zsnes running right now. But I'm just using a generic USB gamepad which doesn't have enogh buttons or an exta joystick for the N64 games. Has anyone gotten an N64 controller with adapter to work under Ubuntu with mupen4?

if I recall well, you have to do it with deleting , then a slight moving the gamepad ... and it shoudl work
it takes 5 min

feenicks
March 3rd, 2008, 01:35 PM
I'm not sure I know what you mean by "deleting" before moving the gamepad. Can you explain?

Termina
October 31st, 2008, 05:30 PM
I generally try not to revive dead threads, but since this is #1 on google when I ran into this problem...

To get a N64/PSX USB controller (converter) with Ubuntu, run this command before running mupen/whatever:


jscal -s 4,1,0,129,129,7561331,8012754,1,0,127,127,8134160, 8521500,1,0,128,128,8521500,9941751,1,0,127,127,80 12754,8658944 /dev/input/js0

justcop
August 11th, 2009, 07:47 PM
This almost worked for me.

The controller is now filly recognised in Mupen64+

The only problem is that the analouge stick doesn't appear to have a range attached to eat. Have only tried zelda, I can only walk in any direction and this is only activated after pushing the analouge stick to the end of its trail.

Termina
August 11th, 2009, 08:16 PM
sudo apt-get install joystick jscalibrator

Then use jscalibrator to calibrate your joystick (in my experience each n64 controller is different, unfortunately you have to calibrate each one).

Then run 'jscalibrator' and press 'Calibrate'.

Move the joystick only about 1/2 way in each direction (or else you will be unable to run in games).

Also make sure to use mupen64plus instead of the old version:

http://code.google.com/p/mupen64plus/