Skip to content

Commit 1208b60

Browse files
committed
sam: update flipper switches and coils
1 parent 7008b85 commit 1208b60

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

VisualPinball.Engine.PinMAME/Games/TheWalkingDead.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,6 @@ public class TheWalkingDead : Sam
253253
new GamelogicEngineCoil("12") { Description = "Left 3-Bank Drop Target" },
254254
new GamelogicEngineCoil("13") { Description = "Left Slingshot" },
255255
new GamelogicEngineCoil("14") { Description = "Right Slingshot" },
256-
new GamelogicEngineCoil("15") { Description = "Left Flipper (50V RED/YEL)" },
257-
new GamelogicEngineCoil("16") { Description = "Right Flipper (50V RED/YEL)" },
258256
new GamelogicEngineCoil("19") { Description = "Flash: Well Walker", IsLamp = true },
259257
new GamelogicEngineCoil("20") { Description = "Flash: Right Spinner", IsLamp = true },
260258
new GamelogicEngineCoil("21") { Description = "Crossbow Motor" },

VisualPinball.Engine.PinMAME/MPUs/Sam.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ public abstract class Sam : PinMameGame
3939
new GamelogicEngineSwitch(SwStartButton, 16) { Description = "Start", InputActionHint = InputConstants.ActionStartGame, InputMapHint = InputConstants.MapCabinetSwitches },
4040
new GamelogicEngineSwitch(SwSlamTilt, -6) { Description = "Slam Tilt", InputActionHint = InputConstants.ActionSlamTilt, InputMapHint = InputConstants.MapCabinetSwitches },
4141
new GamelogicEngineSwitch(SwTilt, -7) { Description = "Tilt" },
42-
new GamelogicEngineSwitch(SwFlipperLowerRight, 82) { Description = "Lower Right Flipper", InputActionHint = InputConstants.ActionRightFlipper, InputMapHint = InputConstants.MapCabinetSwitches },
4342
new GamelogicEngineSwitch(SwFlipperLowerLeft, 84) { Description = "Lower Left Flipper", InputActionHint = InputConstants.ActionLeftFlipper, InputMapHint = InputConstants.MapCabinetSwitches },
43+
new GamelogicEngineSwitch(SwFlipperLowerRight, 82) { Description = "Lower Right Flipper", InputActionHint = InputConstants.ActionRightFlipper, InputMapHint = InputConstants.MapCabinetSwitches },
4444
};
4545

4646
private readonly GamelogicEngineCoil[] _coils = {
47+
new GamelogicEngineCoil(CoilFlipperLowerLeft, 15) { Description = "Lower Left Flipper", DeviceHint = "^(LeftFlipper|LFlipper|FlipperLeft|FlipperL)$"},
48+
new GamelogicEngineCoil(CoilFlipperLowerRight, 16) { Description = "Lower Right Flipper", DeviceHint = "^(RightFlipper|RFlipper|FlipperRight|FlipperR)$"},
4749
};
4850
}
4951
}

0 commit comments

Comments
 (0)