graphics() windows multiple display support
This commit is contained in:
+7
-7
@@ -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', '=')),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user