Skip to content

Monitor Setup Logic

derammo edited this page May 12, 2020 · 5 revisions

Introduction: Monitor configuration on test machine

Note that the main display is the middle display so it has windows coordinate 0,0 at its top left corner. The left display has negative X coordinates, and negative and positive Y coordinates.

All tests performed with 2.5.5.41371.1

image full size

Case 1: Trivial case declaring the entire desktop resolution to force 0,0 to top left

monitor setup

_  = function(p) return p end
name = _('H_testlayout')
description = 'Generated from Helios Profile testlayout'
LEFT_MFCD = { x = 3740, y = 394, width = 400, height = 400 }
Viewports = {
    Center = {
        x = 1080,
        y = 294,
        width = 2560,
        height = 1440,
        aspect = 1.77777777777778,
        dx = 0,
        dy = 0
    }
}
UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

options

["graphics"] = {
    ...
    ["fullScreen"] = false,
    ...
    ["height"] = 1920,
    ...
    ["multiMonitorSetup"] = "H_testlayout",
    ...
    ["width"] = 6200,
},

image full size

Case 2: The main viewport fits into the main display and all other displays by sliding it down.

monitor setup

_  = function(p) return p end
name = _('H_testlayout')
description = 'Generated from Helios Profile testlayout'
LEFT_MFCD = { x = 3740, y = 394, width = 400, height = 400 }
Viewports = {
    Center = {
        x = 1080,
        y = 0,
        width = 2560,
        height = 1440,
        aspect = 1.77777777777778,
        dx = 0,
        dy = 0
    }
}
UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

options

["graphics"] = {
    ...
    ["fullScreen"] = false,
    ...
    ["height"] = 1440,
    ...
    ["multiMonitorSetup"] = "H_testlayout",
    ...
    ["width"] = 6200,
},

image full size

Case 3: The main viewport would have fit starting at main display but DCS chose not to.

monitor setup

_  = function(p) return p end
name = _('H_testlayout')
description = 'Generated from Helios Profile testlayout'
LEFT_MFCD = { x = 3740, y = 394, width = 400, height = 400 }
Viewports = {
    Center = {
        x = 0,
        y = 0,
        width = 2560,
        height = 1440,
        aspect = 1.77777777777778,
        dx = 0,
        dy = 0
    }
}
UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

options

["graphics"] = {
    ...
    ["fullScreen"] = false,
    ...
    ["height"] = 1440,
    ...
    ["multiMonitorSetup"] = "H_testlayout",
    ...
    ["width"] = 5120,
},

image full size

Case 4: The main viewport is the same size as the main display.

monitor setup

_  = function(p) return p end
name = _('H_testlayout')
description = 'Generated from Helios Profile testlayout'
LEFT_MFCD = { x = 3740, y = 394, width = 400, height = 400 }
Viewports = {
    Center = {
        x = 0,
        y = 0,
        width = 2560,
        height = 1440,
        aspect = 1.77777777777778,
        dx = 0,
        dy = 0
    }
}
UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

options

["graphics"] = {
    ...
    ["fullScreen"] = false,
    ...
    ["height"] = 1440,
    ...
    ["multiMonitorSetup"] = "H_testlayout",
    ...
    ["width"] = 2560,
},

image full size

Clone this wiki locally