What's new

Two Player: Keyboard and Joystic

chemstar

New member
Two Player: Keyboard and Joystick, possible?

Hi to all,

i'm trying to configure mupen64plus for 2 players. one using keyboard and another one recognised joystick. everytime my joystick is connected mupen disables my keyboard so it cant be used for the secondplayer. is there any way to realise two player mode using keyboard and one joystick?

thank you
 
Last edited:

Richard42

Emulator Developer
You'll have to edit some text files but you can set up the configuration in the way that you want. Do you want the keyboard to be the first controller, or the joystick?
 
OP
C

chemstar

New member
hi richard42,

thank you for your answer and i thought it isnt possible.
i would like to have my joystick as the first controller.
i'm using the latest mupen64plus build
 

Richard42

Emulator Developer
chemstar,

First, get your joystick config into the config file by running a ROM with your joystick plugged in (if you're using v1.99.4 then you also need to give it the --saveoptions option, but not if you're running 1.99.5). Then, edit your main config file (~/.config/mupen64plus/mupen64plus.cfg on linux or OSX). Add a new section for the second controller (deleting any old one that's there) by copying and pasting this into your config file:

Code:
[Input-SDL-Control2]

version = 1
plugged = True
plugin = 2
mouse = False
device = -2
DPad R = "key(100)"
DPad L = "key(97)"
DPad D = "key(115)"
DPad U = "key(119)"
Start = "key(13)"
Z Trig = "key(122)"
B Button = "key(306)"
A Button = "key(304)"
C Button R = "key(108)"
C Button L = "key(106)"
C Button D = "key(107)"
C Button U = "key(105)"
R Trig = "key(99)"
L Trig = "key(120)"
Mempak switch = "key(44)"
Rumblepak switch = "key(46)"
X Axis = "key(276,275)"
Y Axis = "key(273,274)"

Then you should be good to go.
 

Top