ScreenMode: add some manufacturers
Taken from http://edid.tv/manufacturer/ Mostly so my laptop properly identifies as Seiko Epson. Change-Id: Ie04cb6593e87f3509a7158948d5ae85b10148fcb Reviewed-on: https://review.haiku-os.org/c/1668 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
69a9cd36e6
commit
0bc2edbd01
@ -377,6 +377,9 @@ ScreenMode::GetMonitorInfo(monitor_info& info, float* _diagonalInches)
|
||||
| (info.vendor[2] << 8) | (info.vendor[3]);
|
||||
|
||||
switch (id) {
|
||||
case 'ACI\0':
|
||||
strcpy(info.vendor, "Ancor Communications");
|
||||
break;
|
||||
case 'ADI\0':
|
||||
strcpy(info.vendor, "ADI MicroScan");
|
||||
break;
|
||||
@ -397,6 +400,8 @@ ScreenMode::GetMonitorInfo(monitor_info& info, float* _diagonalInches)
|
||||
case 'BNQ\0':
|
||||
strcpy(info.vendor, "BenQ");
|
||||
break;
|
||||
case 'CMN\0':
|
||||
strcpy(info.vendor, "Chimei Innolux");
|
||||
case 'CPL\0':
|
||||
strcpy(info.vendor, "ALFA");
|
||||
break;
|
||||
@ -514,6 +519,9 @@ ScreenMode::GetMonitorInfo(monitor_info& info, float* _diagonalInches)
|
||||
case 'SDI\0':
|
||||
strcpy(info.vendor, "Samtron");
|
||||
break;
|
||||
case 'SEC\0':
|
||||
strcpy(info.vendor, "Seiko Epson");
|
||||
break;
|
||||
case 'SHP\0':
|
||||
strcpy(info.vendor, "Sharp");
|
||||
break;
|
||||
@ -539,9 +547,15 @@ ScreenMode::GetMonitorInfo(monitor_info& info, float* _diagonalInches)
|
||||
case 'TSB\0':
|
||||
strcpy(info.vendor, "Toshiba");
|
||||
break;
|
||||
case 'UNK\0':
|
||||
strcpy(info.vendor, "(unknown)");
|
||||
break;
|
||||
case 'UNM\0':
|
||||
strcpy(info.vendor, "Unisys");
|
||||
break;
|
||||
case 'VES\0':
|
||||
strcpy(info.vendor, "Vestel");
|
||||
break;
|
||||
case 'VIZ\0':
|
||||
strcpy(info.vendor, "Vizio");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user