Skip to content

Commit f623cb9

Browse files
committed
Changed to force full screen max stretch as that's what Harvey needs
1 parent b7c3d26 commit f623cb9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

MFMELaunch/Launcher.cs

+5-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class Launcher
1919

2020
// this seems necessary on Harvey's cab when launching from the TouchPlay
2121
// frontend, however wasn't necessary on my dev PC
22-
private const bool kSendFinalF3ToForceFullScreenMax = true;
22+
private const bool kSendFinalShiftF3ToForceFullScreenMaxStretch = true;
2323

2424
private string[] _args = null;
2525
private string _gamFilePath = null;
@@ -62,9 +62,11 @@ public bool Launch()
6262

6363
SendKeyPresses(kKeypressInterval, kKeypressesDuration);
6464

65-
if(kSendFinalF3ToForceFullScreenMax)
65+
if(kSendFinalShiftF3ToForceFullScreenMaxStretch)
6666
{
67-
_inputSimulator.Keyboard.KeyPress(WindowsInput.Native.VirtualKeyCode.F3);
67+
_inputSimulator.Keyboard.ModifiedKeyStroke(
68+
WindowsInput.Native.VirtualKeyCode.SHIFT,
69+
WindowsInput.Native.VirtualKeyCode.F3);
6870
}
6971

7072
AwaitMFMEExeProcessExit();

0 commit comments

Comments
 (0)