dsda: raven defaults and mnemonics

rename controller so all 3 games can share binds
This commit is contained in:
feos 2025-06-07 10:17:14 +03:00
parent 971fc61c42
commit 513c1ca8ed
3 changed files with 26 additions and 7 deletions

View File

@ -685,8 +685,8 @@
"P2 Joystick Button 2": "X",
"P2 Joystick Button 3": "C"
},
"Doom Input Format": {
"P1 Fire": "Ctrl,WMouse L",
"Doom Controller": {
"P1 Fire": "WMouse L",
"P1 Use": "Space",
"P1 Forward": "W",
"P1 Backward": "S",
@ -701,6 +701,16 @@
"P1 Weapon Select 5": "Number5",
"P1 Weapon Select 6": "Number6",
"P1 Weapon Select 7": "Number7",
"P1 Inventory Left": "LeftBracket",
"P1 Inventory Right": "RightBracket",
"P1 Use Artifact": "Enter",
"P1 Look Up": "PageDown",
"P1 Look Down": "Delete",
"P1 Look Center": "End",
"P1 Fly Up": "PageUp",
"P1 Fly Down": "Insert",
"P1 Fly Center": "Home",
"P1 Jump": "Slash",
"Change Gamma": "F11",
"Automap Toggle": "Tab",
"Automap +": "KeypadAdd",

View File

@ -857,8 +857,16 @@ namespace BizHawk.Emulation.Common
["Change Gamma"] = 'G',
["End Player"] = 'E',
["Fire"] = 'F',
["Fly Up"] = 'u',
["Fly Down"] = 'p',
["Fly Center"] = 'c',
["Forward"] = '^',
["Inventory Left"] = 'L',
["Inventory Right"] = 'R',
["Jump"] = 'J',
["Look Up"] = 'U',
["Look Down"] = 'D',
["Look Center"] = 'C',
["Run"] = 'R',
["Strafe"] = 'S',
["Strafe Left"] = '<',
@ -866,6 +874,7 @@ namespace BizHawk.Emulation.Common
["Turn Left"] = '{',
["Turn Right"] = '}',
["Use"] = 'U',
["Use Artifact"] = 'A',
["Weapon Select 1"] = '1',
["Weapon Select 2"] = '2',
["Weapon Select 3"] = '3',

View File

@ -8,7 +8,7 @@ namespace BizHawk.Emulation.Cores.Computers.Doom
{
public static ControllerDefinition CreateControllerDefinition(DoomSyncSettings settings)
{
var controller = new ControllerDefinition($"{settings.InputFormat} Input Format");
var controller = new ControllerDefinition($"Doom Controller");
var longtics = settings.TurningResolution == TurningResolution.Longtics;
for (int i = 0; i < 4; i++)