graphics() windows multiple display support

This commit is contained in:
Sebastian Hildebrandt
2019-06-14 16:13:21 +02:00
parent df6fc61694
commit 3616f1eb83
6 changed files with 27 additions and 20 deletions
+7 -7
View File
@@ -38,17 +38,17 @@ const videoTypes = {
'-1': 'OTHER',
'0': 'HD15',
'1': 'SVIDEO',
'2': 'COMPOSITE_VIDEO',
'3': 'COMPONENT_VIDEO',
'2': 'Composite video',
'3': 'Component video',
'4': 'DVI',
'5': 'HDMI',
'6': 'LVDS',
'8': 'D_JPN',
'9': 'SDI',
'10': 'DISPLAYPORT_EXTERNAL',
'11': 'DISPLAYPORT_EMBEDDED',
'12': 'UDI_EXTERNAL',
'13': 'UDI_EMBEDDED',
'10': 'DP',
'11': 'DP embedded',
'12': 'UDI',
'13': 'UDI embedded',
'14': 'SDTVDONGLE',
'15': 'MIRACAST',
'0x80000000': 'INTERNAL'
@@ -702,7 +702,7 @@ function graphics(callback) {
sizey: sizey ? parseInt(sizey, 10) : -1,
pixeldepth: bitsPerPixel,
currentResX: util.toInt(util.getValue(bounds, 'Width', '=')),
currentResY: util.toInt(util.getValue(bounds, 'Width', '=')),
currentResY: util.toInt(util.getValue(bounds, 'Height', '=')),
});
}
}