public static IDeviceDefinition Superscope(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "SNES Super Scope"; device.CommandStart = "snes.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "Cursor", MednafenCommand = device.CommandStart + ".superscope.cursor" }, new Mapping { Description = "Offscreen Shot(Simulated)", MednafenCommand = device.CommandStart + ".superscope.offscreen_shot" }, new Mapping { Description = "Pause", MednafenCommand = device.CommandStart + ".superscope.pause" }, new Mapping { Description = "Trigger", MednafenCommand = device.CommandStart + ".superscope.trigger" }, new Mapping { Description = "Turbo", MednafenCommand = device.CommandStart + ".superscope.turbo" }, new Mapping { Description = "X Axis", MednafenCommand = device.CommandStart + ".superscope.x_axis" }, new Mapping { Description = "Y Axis", MednafenCommand = device.CommandStart + ".superscope.y_axis" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition Zapper(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "NES Zapper"; device.CommandStart = "nes.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "Away Trigger", MednafenCommand = device.CommandStart + ".zapper.away_trigger" }, new Mapping { Description = "Trigger", MednafenCommand = device.CommandStart + ".zapper.trigger" }, new Mapping { Description = "X Axis", MednafenCommand = device.CommandStart + ".zapper.x_axis" }, new Mapping { Description = "Y Axis", MednafenCommand = device.CommandStart + ".zapper.y_axis" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition MegaMouse(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "MD Mega Mouse"; device.CommandStart = "md.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "Left Button", MednafenCommand = device.CommandStart + ".megamouse.left" }, new Mapping { Description = "Middle Button", MednafenCommand = device.CommandStart + ".megamouse.middle" }, new Mapping { Description = "Right Button", MednafenCommand = device.CommandStart + ".megamouse.right" }, new Mapping { Description = "Start Button", MednafenCommand = device.CommandStart + ".megamouse.start" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".megamouse.start" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition Justifier(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "PSX Konami Justifier"; device.CommandStart = "psx.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "O", MednafenCommand = device.CommandStart + ".justifier.o" }, new Mapping { Description = "Offscreen Shot(Simulated)", MednafenCommand = device.CommandStart + ".guncon.offscreen_shot" }, new Mapping { Description = "Start", MednafenCommand = device.CommandStart + ".justifier.start" }, new Mapping { Description = "Trigger", MednafenCommand = device.CommandStart + ".justifier.trigger" }, new Mapping { Description = "X Axis", MednafenCommand = device.CommandStart + ".justifier.x_axis" }, new Mapping { Description = "Y Axis", MednafenCommand = device.CommandStart + ".justifier.y_axis" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition Gun(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "SS Light Gun"; device.CommandStart = "ss.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "Offscreen Shot(Simulated)", MednafenCommand = device.CommandStart + ".gun.offscreen_shot" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".gun.start" }, new Mapping { Description = "Trigger", MednafenCommand = device.CommandStart + ".gun.trigger" }, new Mapping { Description = "X Axis", MednafenCommand = device.CommandStart + ".gun.x_axis" }, new Mapping { Description = "Y Axis", MednafenCommand = device.CommandStart + ".gun.y_axis" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "PCFX GamePad"; device.CommandStart = "pcfx.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "UP ↑", MednafenCommand = device.CommandStart + ".gamepad.up" }, new Mapping { Description = "DOWN ↓", MednafenCommand = device.CommandStart + ".gamepad.down" }, new Mapping { Description = "LEFT ←", MednafenCommand = device.CommandStart + ".gamepad.left" }, new Mapping { Description = "RIGHT →", MednafenCommand = device.CommandStart + ".gamepad.right" }, new Mapping { Description = "SELECT", MednafenCommand = device.CommandStart + ".gamepad.select" }, new Mapping { Description = "RUN", MednafenCommand = device.CommandStart + ".gamepad.run" }, new Mapping { Description = "MODE 1", MednafenCommand = device.CommandStart + ".gamepad.mode1" }, new Mapping { Description = "MODE 2", MednafenCommand = device.CommandStart + ".gamepad.mode2" }, new Mapping { Description = "I", MednafenCommand = device.CommandStart + ".gamepad.i" }, new Mapping { Description = "II", MednafenCommand = device.CommandStart + ".gamepad.ii" }, new Mapping { Description = "III", MednafenCommand = device.CommandStart + ".gamepad.iii" }, new Mapping { Description = "IV", MednafenCommand = device.CommandStart + ".gamepad.iv" }, new Mapping { Description = "V", MednafenCommand = device.CommandStart + ".gamepad.v" }, new Mapping { Description = "VI", MednafenCommand = device.CommandStart + ".gamepad.vi" }, /* * new Mapping { Description = "Rapid I", MednafenCommand = device.CommandStart +".gamepad.rapid_i" }, * new Mapping { Description = "Rapid II", MednafenCommand = device.CommandStart +".gamepad.rapid_ii" } */ }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition Mouse(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "PCE Mouse"; device.CommandStart = "pce.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "Left Button", MednafenCommand = device.CommandStart + ".mouse.left" }, new Mapping { Description = "Right Button", MednafenCommand = device.CommandStart + ".mouse.right" }, new Mapping { Description = "RUN", MednafenCommand = device.CommandStart + ".mouse.run" }, new Mapping { Description = "SELECT", MednafenCommand = device.CommandStart + ".mouse.select" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "GB GamePad"; device.CommandStart = "gb.input.builtin"; device.VirtualPort = 0; device.MapList = new List <Mapping> { new Mapping { Description = "UP ↑", MednafenCommand = "gb.input.builtin.gamepad.up" }, new Mapping { Description = "DOWN ↓", MednafenCommand = "gb.input.builtin.gamepad.down" }, new Mapping { Description = "LEFT ←", MednafenCommand = "gb.input.builtin.gamepad.left" }, new Mapping { Description = "RIGHT →", MednafenCommand = "gb.input.builtin.gamepad.right" }, new Mapping { Description = "SELECT", MednafenCommand = "gb.input.builtin.gamepad.select" }, new Mapping { Description = "START", MednafenCommand = "gb.input.builtin.gamepad.start" }, new Mapping { Description = "A", MednafenCommand = "gb.input.builtin.gamepad.a" }, new Mapping { Description = "B", MednafenCommand = "gb.input.builtin.gamepad.b" }, new Mapping { Description = "Rapid A", MednafenCommand = "gb.input.builtin.gamepad.rapid_a" }, new Mapping { Description = "Rapid B", MednafenCommand = "gb.input.builtin.gamepad.rapid_b" }, new Mapping { Description = "Tilt: UP ↑", MednafenCommand = "gb.input.tilt.tilt.up" }, new Mapping { Description = "Tilt: DOWN ↓", MednafenCommand = "gb.input.tilt.tilt.down" }, new Mapping { Description = "Tilt: LEFT ←", MednafenCommand = "gb.input.tilt.tilt.left" }, new Mapping { Description = "Tilt: RIGHT →", MednafenCommand = "gb.input.tilt.tilt.right" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "SS Digital GamePad"; device.CommandStart = "ss.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "D-Pad UP ↑", MednafenCommand = device.CommandStart + ".gamepad.up" }, new Mapping { Description = "D-Pad DOWN ↓", MednafenCommand = device.CommandStart + ".gamepad.down" }, new Mapping { Description = "D-Pad LEFT ←", MednafenCommand = device.CommandStart + ".gamepad.left" }, new Mapping { Description = "D-Pad RIGHT →", MednafenCommand = device.CommandStart + ".gamepad.right" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".gamepad.start" }, new Mapping { Description = "A", MednafenCommand = device.CommandStart + ".gamepad.a" }, new Mapping { Description = "B", MednafenCommand = device.CommandStart + ".gamepad.b" }, new Mapping { Description = "C", MednafenCommand = device.CommandStart + ".gamepad.c" }, new Mapping { Description = "X", MednafenCommand = device.CommandStart + ".gamepad.x" }, new Mapping { Description = "Y", MednafenCommand = device.CommandStart + ".gamepad.y" }, new Mapping { Description = "Z", MednafenCommand = device.CommandStart + ".gamepad.z" }, new Mapping { Description = "Left Shoulder", MednafenCommand = device.CommandStart + ".gamepad.ls" }, new Mapping { Description = "Right Shoulder", MednafenCommand = device.CommandStart + ".gamepad.rs" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "LYNX GamePad"; device.CommandStart = "lynx.input.builtin"; device.VirtualPort = 0; device.MapList = new List <Mapping> { new Mapping { Description = "UP ↑", MednafenCommand = "lynx.input.builtin.gamepad.up" }, new Mapping { Description = "DOWN ↓", MednafenCommand = "lynx.input.builtin.gamepad.down" }, new Mapping { Description = "LEFT ←", MednafenCommand = "lynx.input.builtin.gamepad.left" }, new Mapping { Description = "RIGHT →", MednafenCommand = "lynx.input.builtin.gamepad.right" }, new Mapping { Description = "PAUSE", MednafenCommand = "lynx.input.builtin.gamepad.pause" }, new Mapping { Description = "A (outer)", MednafenCommand = "lynx.input.builtin.gamepad.a" }, new Mapping { Description = "B (inner)", MednafenCommand = "lynx.input.builtin.gamepad.b" }, new Mapping { Description = "Option 1 (upper)", MednafenCommand = "lynx.input.builtin.gamepad.option_1" }, new Mapping { Description = "Option 2 (lower)", MednafenCommand = "lynx.input.builtin.gamepad.option_2" }, new Mapping { Description = "Rapid A (outer)", MednafenCommand = "lynx.input.builtin.gamepad.rapid_a" }, new Mapping { Description = "Rapid B (inner)", MednafenCommand = "lynx.input.builtin.gamepad.rapid_b" }, new Mapping { Description = "Rapid Option 1 (upper)", MednafenCommand = "lynx.input.builtin.gamepad.rapid_option_1" }, new Mapping { Description = "Rapid Option 2 (lower)", MednafenCommand = "lynx.input.builtin.gamepad.rapid_option_2" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition Wheel(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "SS Steering Wheel"; device.CommandStart = "ss.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "Analog LEFT ←", MednafenCommand = device.CommandStart + ".wheel.analog_left" }, new Mapping { Description = "Analog RIGHT →", MednafenCommand = device.CommandStart + ".wheel.analog_right" }, new Mapping { Description = "L Gear Shift(Equiv. UP ↑)", MednafenCommand = device.CommandStart + ".wheel.up" }, new Mapping { Description = "R Gear Shift(Equiv. DOWN ↓)", MednafenCommand = device.CommandStart + ".wheel.down" }, new Mapping { Description = "Throttle Up (Analog)", MednafenCommand = device.CommandStart + ".mission.throttle_up" }, new Mapping { Description = "Throttle Down (Analog)", MednafenCommand = device.CommandStart + ".mission.throttle_down" }, new Mapping { Description = "X (L Group)", MednafenCommand = device.CommandStart + ".wheel.x" }, new Mapping { Description = "Y (L Group)", MednafenCommand = device.CommandStart + ".wheel.y" }, new Mapping { Description = "Z (L Group)", MednafenCommand = device.CommandStart + ".wheel.z" }, new Mapping { Description = "A (R Group)", MednafenCommand = device.CommandStart + ".wheel.a" }, new Mapping { Description = "B (R Group)", MednafenCommand = device.CommandStart + ".wheel.b" }, new Mapping { Description = "C (R Group)", MednafenCommand = device.CommandStart + ".wheel.c" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition NeGcon(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "PSX NeGcon Controller"; device.CommandStart = "psx.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "D-Pad UP ↑", MednafenCommand = device.CommandStart + ".negcon.up" }, new Mapping { Description = "D-Pad DOWN ↓", MednafenCommand = device.CommandStart + ".negcon.down" }, new Mapping { Description = "D-Pad LEFT ←", MednafenCommand = device.CommandStart + ".negcon.left" }, new Mapping { Description = "D-Pad RIGHT →", MednafenCommand = device.CommandStart + ".negcon.right" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".negcon.start" }, new Mapping { Description = "A", MednafenCommand = device.CommandStart + ".negcon.a" }, new Mapping { Description = "B", MednafenCommand = device.CommandStart + ".negcon.b" }, new Mapping { Description = "I (Analog)", MednafenCommand = device.CommandStart + ".negcon.i" }, new Mapping { Description = "II (Analog)", MednafenCommand = device.CommandStart + ".negcon.ii" }, new Mapping { Description = "Twist ↑|↓ (Analog, Turn Left)", MednafenCommand = device.CommandStart + ".negcon.twist_ccwise" }, new Mapping { Description = "Twist ↓|↑ (Analog, Turn Right)", MednafenCommand = device.CommandStart + ".negcon.twist_cwise" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition ThreeButton(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "MD GamePad (3-Button)"; device.CommandStart = "md.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "UP ↑", MednafenCommand = device.CommandStart + ".gamepad.up" }, new Mapping { Description = "DOWN ↓", MednafenCommand = device.CommandStart + ".gamepad.down" }, new Mapping { Description = "LEFT ←", MednafenCommand = device.CommandStart + ".gamepad.left" }, new Mapping { Description = "RIGHT →", MednafenCommand = device.CommandStart + ".gamepad.right" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".gamepad.start" }, new Mapping { Description = "A", MednafenCommand = device.CommandStart + ".gamepad.a" }, new Mapping { Description = "B", MednafenCommand = device.CommandStart + ".gamepad.b" }, new Mapping { Description = "C", MednafenCommand = device.CommandStart + ".gamepad.c" }, new Mapping { Description = "Rapid A", MednafenCommand = device.CommandStart + ".gamepad.rapid_a" }, new Mapping { Description = "Rapid B", MednafenCommand = device.CommandStart + ".gamepad.rapid_b" }, new Mapping { Description = "Rapid C", MednafenCommand = device.CommandStart + ".gamepad.rapid_c" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "WSWAN GamePad"; device.CommandStart = "wswan.input.builtin"; device.VirtualPort = 0; device.MapList = new List <Mapping> { new Mapping { Description = "X1(X UP ↑)", MednafenCommand = "wswan.input.builtin.gamepad.up-x" }, new Mapping { Description = "X3(X DOWN ↓)", MednafenCommand = "wswan.input.builtin.gamepad.down-x" }, new Mapping { Description = "X4(X LEFT ←)", MednafenCommand = "wswan.input.builtin.gamepad.left-x" }, new Mapping { Description = "X2(X RIGHT →)", MednafenCommand = "wswan.input.builtin.gamepad.right-x" }, new Mapping { Description = "Y1(Y UP ↑)", MednafenCommand = "wswan.input.builtin.gamepad.up-y" }, new Mapping { Description = "Y3(Y DOWN ↓)", MednafenCommand = "wswan.input.builtin.gamepad.down-y" }, new Mapping { Description = "Y4(Y LEFT ←)", MednafenCommand = "wswan.input.builtin.gamepad.left-y" }, new Mapping { Description = "Y2(Y RIGHT →)", MednafenCommand = "wswan.input.builtin.gamepad.right-y" }, new Mapping { Description = "START", MednafenCommand = "wswan.input.builtin.gamepad.start" }, new Mapping { Description = "A", MednafenCommand = "wswan.input.builtin.gamepad.a" }, new Mapping { Description = "B", MednafenCommand = "wswan.input.builtin.gamepad.b" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition DancePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "PSX DancePad"; device.CommandStart = "psx.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "D-Pad UP ↑", MednafenCommand = device.CommandStart + ".dancepad.up" }, new Mapping { Description = "D-Pad DOWN ↓", MednafenCommand = device.CommandStart + ".dancepad.down" }, new Mapping { Description = "D-Pad LEFT ←", MednafenCommand = device.CommandStart + ".dancepad.left" }, new Mapping { Description = "D-Pad RIGHT →", MednafenCommand = device.CommandStart + ".dancepad.right" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".dancepad.start" }, new Mapping { Description = "SELECT", MednafenCommand = device.CommandStart + ".dancepad.select" }, new Mapping { Description = "△ (upper)", MednafenCommand = device.CommandStart + ".dancepad.triangle" }, new Mapping { Description = "○ (right)", MednafenCommand = device.CommandStart + ".dancepad.circle" }, new Mapping { Description = "x (lower)", MednafenCommand = device.CommandStart + ".dancepad.cross" }, new Mapping { Description = "□ (left)", MednafenCommand = device.CommandStart + ".dancepad.square" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "GG GamePad"; device.CommandStart = "gg.input.builtin"; device.VirtualPort = 0; device.MapList = new List <Mapping> { new Mapping { Description = "UP ↑", MednafenCommand = "gg.input.builtin.gamepad.up" }, new Mapping { Description = "DOWN ↓", MednafenCommand = "gg.input.builtin.gamepad.down" }, new Mapping { Description = "LEFT ←", MednafenCommand = "gg.input.builtin.gamepad.left" }, new Mapping { Description = "RIGHT →", MednafenCommand = "gg.input.builtin.gamepad.right" }, new Mapping { Description = "START", MednafenCommand = "gg.input.builtin.gamepad.start" }, new Mapping { Description = "Button 1", MednafenCommand = "gg.input.builtin.gamepad.button1" }, new Mapping { Description = "Button 2", MednafenCommand = "gg.input.builtin.gamepad.button2" }, new Mapping { Description = "Rapid Button 1", MednafenCommand = "gg.input.builtin.gamepad.rapid_button1" }, new Mapping { Description = "Rapid Button 2", MednafenCommand = "gg.input.builtin.gamepad.rapid_button2" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "NGP GamePad"; device.CommandStart = "ngp.input.builtin"; device.VirtualPort = 0; device.MapList = new List <Mapping> { new Mapping { Description = "UP ↑", MednafenCommand = "ngp.input.builtin.gamepad.up" }, new Mapping { Description = "DOWN ↓", MednafenCommand = "ngp.input.builtin.gamepad.down" }, new Mapping { Description = "LEFT ←", MednafenCommand = "ngp.input.builtin.gamepad.left" }, new Mapping { Description = "RIGHT →", MednafenCommand = "ngp.input.builtin.gamepad.right" }, new Mapping { Description = "OPTION", MednafenCommand = "ngp.input.builtin.gamepad.option" }, new Mapping { Description = "A", MednafenCommand = "ngp.input.builtin.gamepad.a" }, new Mapping { Description = "B", MednafenCommand = "ngp.input.builtin.gamepad.b" }, new Mapping { Description = "Rapid A", MednafenCommand = "ngp.input.builtin.gamepad.rapid_a" }, new Mapping { Description = "Rapid B", MednafenCommand = "ngp.input.builtin.gamepad.rapid_b" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "SMS GamePad"; device.CommandStart = "sms.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "UP ↑", MednafenCommand = device.CommandStart + ".gamepad.up" }, new Mapping { Description = "DOWN ↓", MednafenCommand = device.CommandStart + ".gamepad.down" }, new Mapping { Description = "LEFT ←", MednafenCommand = device.CommandStart + ".gamepad.left" }, new Mapping { Description = "RIGHT →", MednafenCommand = device.CommandStart + ".gamepad.right" }, new Mapping { Description = "Fire 1/Start", MednafenCommand = device.CommandStart + ".gamepad.fire1" }, new Mapping { Description = "Fire 2", MednafenCommand = device.CommandStart + ".gamepad.fire2" }, new Mapping { Description = "Rapid Fire 1/Start", MednafenCommand = device.CommandStart + ".gamepad.rapid_fire1" }, new Mapping { Description = "Rapid Fire 2", MednafenCommand = device.CommandStart + ".gamepad.rapid_fire2" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition DualAnalog(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "PSX Dual Analog GamePad"; device.CommandStart = "psx.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "D-Pad UP ↑", MednafenCommand = device.CommandStart + ".dualanalog.up" }, new Mapping { Description = "D-Pad DOWN ↓", MednafenCommand = device.CommandStart + ".dualanalog.down" }, new Mapping { Description = "D-Pad LEFT ←", MednafenCommand = device.CommandStart + ".dualanalog.left" }, new Mapping { Description = "D-Pad RIGHT →", MednafenCommand = device.CommandStart + ".dualanalog.right" }, new Mapping { Description = "Left Stick UP ↑", MednafenCommand = device.CommandStart + ".dualanalog.lstick_up" }, new Mapping { Description = "Left Stick DOWN ↓", MednafenCommand = device.CommandStart + ".dualanalog.lstick_down" }, new Mapping { Description = "Left Stick LEFT ←", MednafenCommand = device.CommandStart + ".dualanalog.lstick_left" }, new Mapping { Description = "Left Stick RIGHT →", MednafenCommand = device.CommandStart + ".dualanalog.lstick_right" }, new Mapping { Description = "Right Stick UP ↑", MednafenCommand = device.CommandStart + ".dualanalog.rstick_up" }, new Mapping { Description = "Right Stick DOWN ↓", MednafenCommand = device.CommandStart + ".dualanalog.rstick_down" }, new Mapping { Description = "Right Stick LEFT ←", MednafenCommand = device.CommandStart + ".dualanalog.rstick_left" }, new Mapping { Description = "Right Stick RIGHT →", MednafenCommand = device.CommandStart + ".dualanalog.rstick_right" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".dualanalog.start" }, new Mapping { Description = "SELECT", MednafenCommand = device.CommandStart + ".dualanalog.select" }, new Mapping { Description = "△ (upper)", MednafenCommand = device.CommandStart + ".dualanalog.triangle" }, new Mapping { Description = "○ (right)", MednafenCommand = device.CommandStart + ".dualanalog.circle" }, new Mapping { Description = "x (lower)", MednafenCommand = device.CommandStart + ".dualanalog.cross" }, new Mapping { Description = "□ (left)", MednafenCommand = device.CommandStart + ".dualanalog.square" }, new Mapping { Description = "L1 (front left shoulder)", MednafenCommand = device.CommandStart + ".dualanalog.l1" }, new Mapping { Description = "R1 (front right shoulder)", MednafenCommand = device.CommandStart + ".dualanalog.r1" }, new Mapping { Description = "L2 (rear left shoulder)", MednafenCommand = device.CommandStart + ".dualanalog.l2" }, new Mapping { Description = "R2 (rear right shoulder)", MednafenCommand = device.CommandStart + ".dualanalog.r2" }, new Mapping { Description = "Left Stick, Button(L3)", MednafenCommand = device.CommandStart + ".dualanalog.l3" }, new Mapping { Description = "Right Stick, Button(L3)", MednafenCommand = device.CommandStart + ".dualanalog.r3" }, new Mapping { Description = "Rapid △ (upper)", MednafenCommand = device.CommandStart + ".dualanalog.rapid_triangle" }, new Mapping { Description = "Rapid ○ (right)", MednafenCommand = device.CommandStart + ".dualanalog.rapid_circle" }, new Mapping { Description = "Rapid x (lower)", MednafenCommand = device.CommandStart + ".dualanalog.rapid_cross" }, new Mapping { Description = "Rapid □ (left)", MednafenCommand = device.CommandStart + ".dualanalog.rapid_square" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition ThreeD(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "SS 3D Control Pad"; device.CommandStart = "ss.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "D-Pad UP ↑", MednafenCommand = device.CommandStart + ".3dpad.up" }, new Mapping { Description = "D-Pad DOWN ↓", MednafenCommand = device.CommandStart + ".3dpad.down" }, new Mapping { Description = "D-Pad LEFT ←", MednafenCommand = device.CommandStart + ".3dpad.left" }, new Mapping { Description = "D-Pad RIGHT →", MednafenCommand = device.CommandStart + ".3dpad.right" }, new Mapping { Description = "Analog UP ↑", MednafenCommand = device.CommandStart + ".3dpad.analog_up" }, new Mapping { Description = "Analog DOWN ↓", MednafenCommand = device.CommandStart + ".3dpad.analog_down" }, new Mapping { Description = "Analog LEFT ←", MednafenCommand = device.CommandStart + ".3dpad.analog_left" }, new Mapping { Description = "Analog RIGHT →", MednafenCommand = device.CommandStart + ".3dpad.analog_right" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".3dpad.start" }, new Mapping { Description = "MODE", MednafenCommand = device.CommandStart + ".3dpad.mode" }, new Mapping { Description = "A", MednafenCommand = device.CommandStart + ".3dpad.a" }, new Mapping { Description = "B", MednafenCommand = device.CommandStart + ".3dpad.b" }, new Mapping { Description = "C", MednafenCommand = device.CommandStart + ".3dpad.c" }, new Mapping { Description = "X", MednafenCommand = device.CommandStart + ".3dpad.x" }, new Mapping { Description = "Y", MednafenCommand = device.CommandStart + ".3dpad.y" }, new Mapping { Description = "Z", MednafenCommand = device.CommandStart + ".3dpad.z" }, new Mapping { Description = "Left Shoulder (Analog)", MednafenCommand = device.CommandStart + ".3dpad.ls" }, new Mapping { Description = "Right Shoulder (Analog)", MednafenCommand = device.CommandStart + ".3dpad.rs" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition DigitalGamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "PSX Digital GamePad"; device.CommandStart = "psx.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "UP ↑", MednafenCommand = device.CommandStart + ".gamepad.up" }, new Mapping { Description = "DOWN ↓", MednafenCommand = device.CommandStart + ".gamepad.down" }, new Mapping { Description = "LEFT ←", MednafenCommand = device.CommandStart + ".gamepad.left" }, new Mapping { Description = "RIGHT →", MednafenCommand = device.CommandStart + ".gamepad.right" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".gamepad.start" }, new Mapping { Description = "SELECT", MednafenCommand = device.CommandStart + ".gamepad.select" }, new Mapping { Description = "△ (upper)", MednafenCommand = device.CommandStart + ".gamepad.triangle" }, new Mapping { Description = "○ (right)", MednafenCommand = device.CommandStart + ".gamepad.circle" }, new Mapping { Description = "x (lower)", MednafenCommand = device.CommandStart + ".gamepad.cross" }, new Mapping { Description = "□ (left)", MednafenCommand = device.CommandStart + ".gamepad.square" }, new Mapping { Description = "L1 (front left shoulder)", MednafenCommand = device.CommandStart + ".gamepad.l1" }, new Mapping { Description = "R1 (front right shoulder)", MednafenCommand = device.CommandStart + ".gamepad.r1" }, new Mapping { Description = "L2 (rear left shoulder)", MednafenCommand = device.CommandStart + ".gamepad.l2" }, new Mapping { Description = "R2 (rear right shoulder)", MednafenCommand = device.CommandStart + ".gamepad.r2" }, new Mapping { Description = "Rapid △ (upper)", MednafenCommand = device.CommandStart + ".gamepad.rapid_triangle" }, new Mapping { Description = "Rapid ○ (right)", MednafenCommand = device.CommandStart + ".gamepad.rapid_circle" }, new Mapping { Description = "Rapid x (lower)", MednafenCommand = device.CommandStart + ".gamepad.rapid_cross" }, new Mapping { Description = "Rapid □ (left)", MednafenCommand = device.CommandStart + ".gamepad.rapid_square" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "VB GamePad"; device.CommandStart = "vb.input.builtin"; device.VirtualPort = 0; device.MapList = new List <Mapping> { new Mapping { Description = "UP ↑ (Left D-Pad)", MednafenCommand = "vb.input.builtin.gamepad.up-l" }, new Mapping { Description = "DOWN ↓ (Left D-Pad)", MednafenCommand = "vb.input.builtin.gamepad.down-l" }, new Mapping { Description = "LEFT ← (Left D-Pad)", MednafenCommand = "vb.input.builtin.gamepad.left-l" }, new Mapping { Description = "RIGHT → (Left D-Pad)", MednafenCommand = "vb.input.builtin.gamepad.right-l" }, new Mapping { Description = "UP ↑ (Right D-Pad)", MednafenCommand = "vb.input.builtin.gamepad.up-r" }, new Mapping { Description = "DOWN ↓ (Right D-Pad)", MednafenCommand = "vb.input.builtin.gamepad.down-r" }, new Mapping { Description = "LEFT ← (Right D-Pad)", MednafenCommand = "vb.input.builtin.gamepad.left-r" }, new Mapping { Description = "RIGHT → (Right D-Pad)", MednafenCommand = "vb.input.builtin.gamepad.right-r" }, new Mapping { Description = "START", MednafenCommand = "vb.input.builtin.gamepad.start" }, new Mapping { Description = "SELECT", MednafenCommand = "vb.input.builtin.gamepad.select" }, new Mapping { Description = "A", MednafenCommand = "vb.input.builtin.gamepad.a" }, new Mapping { Description = "B", MednafenCommand = "vb.input.builtin.gamepad.b" }, new Mapping { Description = "Left-Back", MednafenCommand = "vb.input.builtin.gamepad.lt" }, new Mapping { Description = "Right-Back", MednafenCommand = "vb.input.builtin.gamepad.rt" }, new Mapping { Description = "Rapid A", MednafenCommand = "vb.input.builtin.gamepad.rapid_a" }, new Mapping { Description = "Rapid B", MednafenCommand = "vb.input.builtin.gamepad.rapid_b" } }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition GamePad(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "SNES GamePad"; device.CommandStart = "snes.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "D-Pad UP ↑", MednafenCommand = device.CommandStart + ".gamepad.up" }, new Mapping { Description = "D-Pad DOWN ↓", MednafenCommand = device.CommandStart + ".gamepad.down" }, new Mapping { Description = "D-Pad LEFT ←", MednafenCommand = device.CommandStart + ".gamepad.left" }, new Mapping { Description = "D-Pad RIGHT →", MednafenCommand = device.CommandStart + ".gamepad.right" }, new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".gamepad.start" }, new Mapping { Description = "SELECT", MednafenCommand = device.CommandStart + ".gamepad.select" }, new Mapping { Description = "B (center, lower)", MednafenCommand = device.CommandStart + ".gamepad.b" }, new Mapping { Description = "A (right)", MednafenCommand = device.CommandStart + ".gamepad.a" }, new Mapping { Description = "Y (left)", MednafenCommand = device.CommandStart + ".gamepad.y" }, new Mapping { Description = "X (center, upper)", MednafenCommand = device.CommandStart + ".gamepad.x" }, new Mapping { Description = "Left Shoulder", MednafenCommand = device.CommandStart + ".gamepad.l" }, new Mapping { Description = "Right Shoulder", MednafenCommand = device.CommandStart + ".gamepad.r" }, new Mapping { Description = "Rapid B (center, lower)", MednafenCommand = device.CommandStart + ".gamepad.rapid_b" }, new Mapping { Description = "Rapid A (right)", MednafenCommand = device.CommandStart + ".gamepad.rapid_a" }, new Mapping { Description = "Rapid Y (left)", MednafenCommand = device.CommandStart + ".gamepad.rapid_y" }, new Mapping { Description = "Rapid X (center, upper)", MednafenCommand = device.CommandStart + ".gamepad.rapid_x" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition Misc(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "Misc Bindings"; device.CommandStart = "command"; device.VirtualPort = 0; device.MapList = new List <Mapping> { new Mapping { Description = "Save state 0 select", MednafenCommand = "command.0" }, new Mapping { Description = "Save state 1 select", MednafenCommand = "command.1" }, new Mapping { Description = "Save state 2 select", MednafenCommand = "command.2" }, new Mapping { Description = "Save state 3 select", MednafenCommand = "command.3" }, new Mapping { Description = "Save state 4 select", MednafenCommand = "command.4" }, new Mapping { Description = "Save state 5 select", MednafenCommand = "command.5" }, new Mapping { Description = "Save state 6 select", MednafenCommand = "command.6" }, new Mapping { Description = "Save state 7 select", MednafenCommand = "command.7" }, new Mapping { Description = "Save state 8 select", MednafenCommand = "command.8" }, new Mapping { Description = "Save state 9 select", MednafenCommand = "command.9" }, new Mapping { Description = "Activate barcode(for Famicom)", MednafenCommand = "command.activate_barcode" }, //new Mapping { Description = "Advance frame", MednafenCommand = "command.advance_frame" }, /* * new Mapping { Description = "Select virtual device on virtual input port 1", MednafenCommand = "command.device_select1" }, * new Mapping { Description = "Select virtual device on virtual input port 2", MednafenCommand = "command.device_select2" }, * new Mapping { Description = "Select virtual device on virtual input port 3", MednafenCommand = "command.device_select3" }, * new Mapping { Description = "Select virtual device on virtual input port 4", MednafenCommand = "command.device_select4" }, * new Mapping { Description = "Select virtual device on virtual input port 5", MednafenCommand = "command.device_select5" }, * new Mapping { Description = "Select virtual device on virtual input port 6", MednafenCommand = "command.device_select6" }, * new Mapping { Description = "Select virtual device on virtual input port 7", MednafenCommand = "command.device_select7" }, * new Mapping { Description = "Select virtual device on virtual input port 8", MednafenCommand = "command.device_select8" }, * new Mapping { Description = "Select virtual device on virtual input port 9", MednafenCommand = "command.device_select9" }, * new Mapping { Description = "Select virtual device on virtual input port 10", MednafenCommand = "command.device_select10" }, * new Mapping { Description = "Select virtual device on virtual input port 11", MednafenCommand = "command.device_select11" }, * new Mapping { Description = "Select virtual device on virtual input port 12", MednafenCommand = "command.device_select12" }, */ new Mapping { Description = "Exit", MednafenCommand = "command.exit" }, new Mapping { Description = "Fast-forward", MednafenCommand = "command.fast_forward" }, /* * new Mapping { Description = "Configure buttons on virtual port 1", MednafenCommand = "command.input_config1" }, * new Mapping { Description = "Configure buttons on virtual port 2", MednafenCommand = "command.input_config2" }, * new Mapping { Description = "Configure buttons on virtual port 3", MednafenCommand = "command.input_config3" }, * new Mapping { Description = "Configure buttons on virtual port 4", MednafenCommand = "command.input_config4" }, * new Mapping { Description = "Configure buttons on virtual port 5", MednafenCommand = "command.input_config5" }, * new Mapping { Description = "Configure buttons on virtual port 6", MednafenCommand = "command.input_config6" }, * new Mapping { Description = "Configure buttons on virtual port 7", MednafenCommand = "command.input_config7" }, * new Mapping { Description = "Configure buttons on virtual port 8", MednafenCommand = "command.input_config8" }, * new Mapping { Description = "Configure buttons on virtual port 9", MednafenCommand = "command.input_config9" }, * new Mapping { Description = "Configure buttons on virtual port 10", MednafenCommand = "command.input_config10" }, * new Mapping { Description = "Configure buttons on virtual port 11", MednafenCommand = "command.input_config11" }, * new Mapping { Description = "Configure buttons on virtual port 11", MednafenCommand = "command.input_config12" }, */ new Mapping { Description = "Detect analog buttons on physical joysticks/gamepads(for use with the input configuration process)", MednafenCommand = "command.input_config_abd" }, new Mapping { Description = "Configure command key", MednafenCommand = "command.input_configc" }, //new Mapping { Description = "Configure command key, for all-pressed-to-trigger mode", MednafenCommand = "command.input_configc_am" }, new Mapping { Description = "Insert coin", MednafenCommand = "command.insert_coin" }, new Mapping { Description = "Insert/Eject disk/disc", MednafenCommand = "command.insert_eject_disk" }, //new Mapping { Description = "Load movie", MednafenCommand = "command.load_movie" }, new Mapping { Description = "Load state", MednafenCommand = "command.load_state" }, /* * new Mapping { Description = "Movie 0 select", MednafenCommand = "command.m0" }, * new Mapping { Description = "Movie 1 select", MednafenCommand = "command.m1" }, * new Mapping { Description = "Movie 2 select", MednafenCommand = "command.m2" }, * new Mapping { Description = "Movie 3 select", MednafenCommand = "command.m3" }, * new Mapping { Description = "Movie 4 select", MednafenCommand = "command.m4" }, * new Mapping { Description = "Movie 5 select", MednafenCommand = "command.m5" }, * new Mapping { Description = "Movie 6 select", MednafenCommand = "command.m6" }, * new Mapping { Description = "Movie 7 select", MednafenCommand = "command.m7" }, * new Mapping { Description = "Movie 8 select", MednafenCommand = "command.m8" }, * new Mapping { Description = "Movie 9 select", MednafenCommand = "command.m9" }, */ new Mapping { Description = "Power toggle", MednafenCommand = "command.power" }, new Mapping { Description = "Reset", MednafenCommand = "command.reset" }, //new Mapping { Description = "Rotate screen", MednafenCommand = "command.rotate_screen" }, //new Mapping { Description = "Return to normal mode after advancing frames", MednafenCommand = "command.run_normal" }, //new Mapping { Description = "Save movie", MednafenCommand = "command.save_movie" }, new Mapping { Description = "Save state", MednafenCommand = "command.save_state" }, new Mapping { Description = "Select disk/disc", MednafenCommand = "command.select_disk" }, new Mapping { Description = "Slow-forward", MednafenCommand = "command.slow_forward" }, new Mapping { Description = "Rewind", MednafenCommand = "command.state_rewind" }, new Mapping { Description = "Decrease selected save state slot by 1", MednafenCommand = "command.state_slot_dec" }, new Mapping { Description = "Increase selected save state slot by 1", MednafenCommand = "command.state_slot_inc" }, //new Mapping { Description = "Take scaled(and filtered) screen snapshot", MednafenCommand = "command.take_scaled_snapshot" }, new Mapping { Description = "Take screen snapshot", MednafenCommand = "command.take_snapshot" }, /* * new Mapping { Description = "Toggle graphics layer 1", MednafenCommand = "command.tl1" }, * new Mapping { Description = "Toggle graphics layer 2", MednafenCommand = "command.tl2" }, * new Mapping { Description = "Toggle graphics layer 3", MednafenCommand = "command.tl3" }, * new Mapping { Description = "Toggle graphics layer 4", MednafenCommand = "command.tl4" }, * new Mapping { Description = "Toggle graphics layer 5", MednafenCommand = "command.tl5" }, * new Mapping { Description = "Toggle graphics layer 6", MednafenCommand = "command.tl6" }, * new Mapping { Description = "Toggle graphics layer 7", MednafenCommand = "command.tl7" }, * new Mapping { Description = "Toggle graphics layer 8", MednafenCommand = "command.tl8" }, * new Mapping { Description = "Toggle graphics layer 9", MednafenCommand = "command.tl9" }, */ //new Mapping { Description = "Toggle debugger", MednafenCommand = "command.toggle_debugger" }, new Mapping { Description = "Toggle DIP switch view", MednafenCommand = "command.toggle_dipview" }, //new Mapping { Description = "Toggle frames-per-second display", MednafenCommand = "command.toggle_fps_view" }, //new Mapping { Description = "Toggle fullscreen mode", MednafenCommand = "command.toggle_fs" }, //new Mapping { Description = "Grab input", MednafenCommand = "command.toggle_grab" }, new Mapping { Description = "Toggle help screen", MednafenCommand = "command.toggle_help" }, //new Mapping { Description = "Toggle state rewind functionality", MednafenCommand = "command.toggle_state_rewind" }, //new Mapping { Description = "Enable/Disable cheats", MednafenCommand = "command.togglecheatactive" }, //new Mapping { Description = "Toggle cheat console", MednafenCommand = "command.togglecheatview" }, new Mapping { Description = "Toggle netplay console", MednafenCommand = "command.togglenetview" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }
public static IDeviceDefinition DMission(int VirtualPort) { IDeviceDefinition device = new DeviceDefinitionLegacy(); device.DeviceName = "SS Dual Mission Stick"; device.CommandStart = "ss.input.port" + VirtualPort; device.VirtualPort = VirtualPort; device.MapList = new List <Mapping> { new Mapping { Description = "START", MednafenCommand = device.CommandStart + ".dmission.start" }, new Mapping { Description = "Autofire Speed", MednafenCommand = device.CommandStart + ".dmission.afspeed" }, new Mapping { Description = "L Stick FORE ↑ (Analog)", MednafenCommand = device.CommandStart + ".dmission.lstick_fore" }, new Mapping { Description = "L Stick BACK ↓ (Analog)", MednafenCommand = device.CommandStart + ".dmission.lstick_back" }, new Mapping { Description = "L Stick LEFT ← (Analog)", MednafenCommand = device.CommandStart + ".dmission.lstick_left" }, new Mapping { Description = "L Stick RIGHT → (Analog)", MednafenCommand = device.CommandStart + ".dmission.lstick_right" }, new Mapping { Description = "L Throttle Up (Analog)", MednafenCommand = device.CommandStart + ".dmission.lthrottle_up" }, new Mapping { Description = "L Throttle Down (Analog)", MednafenCommand = device.CommandStart + ".dmission.lthrottle_down" }, new Mapping { Description = "L", MednafenCommand = device.CommandStart + ".dmission.l" }, new Mapping { Description = "X (L Stick Trigger)", MednafenCommand = device.CommandStart + ".dmission.x" }, new Mapping { Description = "Y (L Stick Left Button)", MednafenCommand = device.CommandStart + ".dmission.y" }, new Mapping { Description = "Z (L Stick Right Button)", MednafenCommand = device.CommandStart + ".dmission.z" }, new Mapping { Description = "L AF", MednafenCommand = device.CommandStart + ".dmission.afl" }, new Mapping { Description = "X AF", MednafenCommand = device.CommandStart + ".dmission.afx" }, new Mapping { Description = "Y AF", MednafenCommand = device.CommandStart + ".dmission.afy" }, new Mapping { Description = "Z AF", MednafenCommand = device.CommandStart + ".dmission.afz" }, new Mapping { Description = "R Stick FORE ↑ (Analog)", MednafenCommand = device.CommandStart + ".dmission.rstick_fore" }, new Mapping { Description = "R Stick BACK ↓ (Analog)", MednafenCommand = device.CommandStart + ".dmission.rstick_back" }, new Mapping { Description = "R Stick LEFT ← (Analog)", MednafenCommand = device.CommandStart + ".dmission.rstick_left" }, new Mapping { Description = "R Stick RIGHT → (Analog)", MednafenCommand = device.CommandStart + ".dmission.rstick_right" }, new Mapping { Description = "R Throttle Up (Analog)", MednafenCommand = device.CommandStart + ".dmission.rthrottle_up" }, new Mapping { Description = "R Throttle Down (Analog)", MednafenCommand = device.CommandStart + ".dmission.rthrottle_down" }, new Mapping { Description = "R", MednafenCommand = device.CommandStart + ".dmission.r" }, new Mapping { Description = "A (L Stick Trigger)", MednafenCommand = device.CommandStart + ".dmission.a" }, new Mapping { Description = "B (L Stick Left Button)", MednafenCommand = device.CommandStart + ".dmission.b" }, new Mapping { Description = "C (L Stick Right Button)", MednafenCommand = device.CommandStart + ".dmission.c" }, new Mapping { Description = "R AF", MednafenCommand = device.CommandStart + ".dmission.afr" }, new Mapping { Description = "A AF", MednafenCommand = device.CommandStart + ".dmission.afa" }, new Mapping { Description = "B AF", MednafenCommand = device.CommandStart + ".dmission.afb" }, new Mapping { Description = "C AF", MednafenCommand = device.CommandStart + ".dmission.afc" }, }; DeviceDefinitionLegacy.PopulateConfig(device); return(device); }