KeyboardSetup

From Mupen64Plus Wiki
Jump to: navigation, search

1. Default Key Commands In Emulator Core

The emulator core supports key commands for many functions. The default key bindings are given below, but may be changed by editing the configuration file as described later in this document.

Key Description
Escape Quit the emulator
0-9 Select virtual 'slot' for save/load state (F5 and F7) commands
F5 Save emulator state
F7 Load emulator state
F9 Reset emulator
F10 slow down emulator by 5%
F11 speed up emulator by 5%
F12 take screenshot
Alt-Enter Toggle between windowed and fullscreen
p or P Pause on/off
m or M Mute/unmute sound
g or G Press "Game Shark" button (only if cheats are enabled)
/ or ? single frame advance while paused
F Fast Forward (playback at 250% normal speed while F key is pressed)
[ Decrease volume
] Increase volume

2. Default Key Mappings for SDL-Input Plugin

The keys or joystick/mouse inputs which will be mapped to the N64 controller for playing the games are determined by the input plugin. The SDL-Input plugin contains an auto-configuration function which will provide default joystick mappings for any recognized joystick. If there is no supported joystick connected, the input plugin will enable a default keyboard control mapping, as given below:

N64 Controller Action Keys
Analog Pad Arrow Keys (left, right, down, up)
C Up/Left/Down/Right "I", "J", "K", "L"
DPad Up/Left/Down/Right "W", "A", "S", "D"
Z trigger "z"
Left trigger "x"
Right trigger "c"
Start "Enter" ("Return")
A button "left shift"
B button "left control"
Select Mempack ","
Select Rumblepack "."

KeyboardMupen64Plus.png

When using the keyboard, the analog stick is normally moved by its full range when you press an arrow key. Sometimes you may need to make smaller moves. In this case, you can move the analog stick more gently by holding down the Right Control key (for -50%) or Right Shift key (-25%), or both (-75%).

3. Configuration for Key Commands

You may set your own key bindings for the emulator core and input plugins, by editing the Mupen64Plus config file. On Linux or OSX, this is located at ~/.config/mupen64plus/, and on Windows it is in the "Application Data" sub-folder of your user folder. On Windows XP and prior, this is C:\Documents and Settings\username\Application Data\Mupen64Plus\, while on Windows Visa and newer this is C:\Users\username\AppData\Mupen64Plus.

See http://www.libsdl.org/release/SDL-1.2.15/include/SDL_keysym.h for Key IDs.

For documentation about the keyboard settings in this configuration file, refer to our Emuwiki site. The Core Parameters page gives the names of the config parameters to set up the Emulator Core key commands, while the Plugin Parameters page tells how to configure the controls for the input plugin.

4. SDL2 Keyboard configuration and layout (Spanish)

Emulador : Solo puedes asignarle una tecla a cada función.

Nombre de la Función Tecla Valor SDL
Kbd Mapping Stop ESC "key(27)"
Kbd Mapping Fullscreen F6 "key(287)"
Kbd Mapping Save State F5 "key(286)"
Kbd Mapping Load State 288 "key(F7)"
Kbd Mapping Increment Slot ¡ "key(161)"
Kbd Mapping Reset F9 "key(290)"
Kbd Mapping Speed Down F10 "key(291)"
Kbd Mapping Speed Up F11 "key(292)"
Kbd Mapping Screenshot F12 "key(293)"
Kbd Mapping Pause P "key(112)"
Kbd Mapping Mute M "key(109)"
Kbd Mapping Increase Volume + "key(43)"
Kbd Mapping Decrease Volume - "key(45)"
Kbd Mapping Fast Forward F "key(102)"
Kbd Mapping Frame Advance TAB "key(9)"
Kbd Mapping Gameshark G "key(103)"

Control de N64 - Jugador 1 :

Nombre de la Función Tecla Valor SDL
DPad R D "key(100)"
DPad L A "key(97)"
DPad D S "key(115)"
DPad U W "key(119)"
Start ENTRAR "key(13)"
Z Trig Z / Ratón Botón Izquierdo ""key(122)", mouse(1)"
B Button CTRL IZQ / Ratón Botón Derecho ""key(306)", mouse(3)"
A Button MAYUS DER "key(304)"
C Button R L "key(108)"
C Button L J "key(106)"
C Button D K "key(107)"
C Button U I "key(105)"
R Trig C "key(99)"
L Trig X "key(120)"
Mempak switch , (COMA) "key(44)"
Rumblepak switch . (PUNTO) "key(46)"
X Axis IZQUIERDA & DERECHA Analogos ""key(276,275)", axis(0-,0+)"
Y Axis ARRIBA & ABAJO Análogos ""key(273,274)", axis(1-,1+)"

Teclado Mupen64Plus Inukaze.png