MCPcopy Create free account
hub / github.com/Lovrom8/RSMods / HandleExternalMonitor

Function HandleExternalMonitor

DLL/ModManager.cpp:458–467  ·  view source on GitHub ↗

Handles moving the game window to an external monitor.

Source from the content-addressed store, hash-verified

456 /// Handles moving the game window to an external monitor.
457 /// </summary>
458 void HandleExternalMonitor(GameLoopState& state)
459 {
460 if (!state.movedToExternalDisplay && Settings::ReturnSettingValue("SecondaryMonitor") == "on") {
461 LaunchOnExternalMonitor::SendRocksmithToScreen(
462 Settings::GetModSetting("SecondaryMonitorXPosition"),
463 Settings::GetModSetting("SecondaryMonitorYPosition")
464 );
465 state.movedToExternalDisplay = true;
466 }
467 }
468
469 /// <summary>
470 /// Manages microphone volume override settings.

Callers 1

HandlePostGameLoadedModsFunction · 0.85

Calls 1

SendRocksmithToScreenFunction · 0.85

Tested by

no test coverage detected