mirror of
https://github.com/SourMesen/Mesen.git
synced 2025-04-02 10:52:48 -04:00
Input: Fixed some default key bindings
This commit is contained in:
parent
a355313965
commit
0a81ecd0b3
2 changed files with 11 additions and 2 deletions
|
@ -177,8 +177,17 @@ namespace Mesen.GUI.Config
|
|||
controllerInfo.Keys[0].PowerPadButtons = presets.PowerPad.PowerPadButtons;
|
||||
controllerInfo.Keys[0].SuborKeyboardButtons = presets.SuborKeyboard.SuborKeyboardButtons;
|
||||
controllerInfo.Keys[0].BandaiMicrophoneButtons = presets.BandaiMicrophone.BandaiMicrophoneButtons;
|
||||
|
||||
} else if(Controllers.Count == 1) {
|
||||
if(controllerInfo.Keys.Count == 0) {
|
||||
controllerInfo.Keys.Add(new KeyMappings());
|
||||
}
|
||||
controllerInfo.Keys[0].PowerPadButtons = presets.PowerPad.PowerPadButtons;
|
||||
}
|
||||
|
||||
while(controllerInfo.Keys.Count < 4) {
|
||||
controllerInfo.Keys.Add(new KeyMappings());
|
||||
}
|
||||
|
||||
Controllers.Add(controllerInfo);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -105,7 +105,7 @@ namespace Mesen.GUI.Config
|
|||
ShortcutKeys1.Add(new ShortcutKeyInfo(EmulatorShortcut.ToggleFullscreen, new KeyCombination() { Key1 = InteropEmu.GetKeyCode("F11") }));
|
||||
ShortcutKeys1.Add(new ShortcutKeyInfo(EmulatorShortcut.ToggleKeyboardMode, new KeyCombination() { Key1 = InteropEmu.GetKeyCode("Scroll Lock") }));
|
||||
ShortcutKeys1.Add(new ShortcutKeyInfo(EmulatorShortcut.TakeScreenshot, new KeyCombination() { Key1 = InteropEmu.GetKeyCode("F12") }));
|
||||
ShortcutKeys1.Add(new ShortcutKeyInfo(EmulatorShortcut.LoadRandomGame, new KeyCombination() { Key1 = InteropEmu.GetKeyCode("Ctrl"), Key2 = InteropEmu.GetKeyCode("Ins") }));
|
||||
ShortcutKeys1.Add(new ShortcutKeyInfo(EmulatorShortcut.LoadRandomGame, new KeyCombination() { Key1 = InteropEmu.GetKeyCode("Ctrl"), Key2 = InteropEmu.GetKeyCode("Insert") }));
|
||||
|
||||
ShortcutKeys1.Add(new ShortcutKeyInfo(EmulatorShortcut.Reset, new KeyCombination() { Key1 = InteropEmu.GetKeyCode("Ctrl"), Key2 = InteropEmu.GetKeyCode("R") }));
|
||||
ShortcutKeys1.Add(new ShortcutKeyInfo(EmulatorShortcut.PowerCycle, new KeyCombination() { Key1 = InteropEmu.GetKeyCode("Ctrl"), Key2 = InteropEmu.GetKeyCode("T") }));
|
||||
|
|
Loading…
Add table
Reference in a new issue