What's new

Broken Multiplayer With Keyboard In Mupen64Plus?

Henshin

New member
How do I configure the InputAutoCfg.ini to make mupen64plus use a
single keyboard input as multiple controllers? I want to be able to
play multiplayer games on my macbook.
 

Richard42

Emulator Developer
You should be able to use a configuration like this in the InputAutoCfg.ini file:

Code:
[Keyboard]
plugged = True
plugin = 2
mouse = False
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)
__NextController:
plugged = True
plugin = 2
mouse = False
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)

But you will need to change the keycodes of the controllers so that they are different and reasonable to use simultaneously on a single keyboard. I don't know if the Mac keyboard has the same matrix problem that most PC keyboards do, but if so it is impossible to push more than 2 or 3 keys simultaneously, depending upon which ones are pressed.
 

Top