aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/hardware.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Include/hardware.php')
-rw-r--r--h-source/Application/Include/hardware.php65
1 files changed, 63 insertions, 2 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php
index e4fc3e2..2ad9056 100644
--- a/h-source/Application/Include/hardware.php
+++ b/h-source/Application/Include/hardware.php
@@ -24,7 +24,7 @@ if (!defined('EG')) die('Direct access not allowed!');
class Hardware
{
- public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards'); //used by UsersController::login()
+ public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards','webcams'); //used by UsersController::login()
//classId => controller
public static $deviceClasses = array(
@@ -41,6 +41,7 @@ class Hardware
'scanner' => 'H2O/scanner_22.png',
'3G-card' => 'Crystal/usb_22.png',
'soundcard' => 'H2O/audio-card_22.png',
+ 'webcam' => 'H2O/camera-web_22.png',
);
public static $typeToController = array(
@@ -51,6 +52,7 @@ class Hardware
'scanner' => 'scanners',
'3G-card' => 'threegcards',
'soundcard' => 'soundcards',
+ 'webcam' => 'webcams',
);
public static function getControllerFromType($type)
@@ -156,6 +158,7 @@ class Wifi extends Hardware
{
public static $vendors = array(
"A-LINK" => "A-LINK",
+ "Acer" => "Acer",
"Airlink101" => "Airlink101",
"Atheros" => "Atheros",
"Belkin" => "Belkin",
@@ -168,10 +171,12 @@ class Wifi extends Hardware
"Linksys" => "Linksys",
"NEC" => "NEC",
"Netgear" => "Netgear",
+ "Micro Star International" => "Micro-Star-International",
"Ralink" => "Ralink",
"Realtek" => "Realtek",
"TOSHIBA" => "TOSHIBA",
"TP-LINK" => "TP-LINK",
+ "VIA Technologies, Inc" => "VIA-Technologies-Inc",
);
public static $interface = array(
@@ -229,7 +234,7 @@ class Videocard extends Hardware
"does_not_work" => "it does not work",
);
- public static $interface = "not-specified,PCI,AGP,PCI-E,ISA";
+ public static $interface = "not-specified,PCI,AGP,PCI-E,ISA,MCA,VLB";
public static function vendorsList()
{
@@ -420,4 +425,60 @@ class Soundcards extends Hardware
{
return implode(',',array_values(self::$vendors));
}
+}
+
+class Webcams extends Hardware
+{
+ public static $vendors = array(
+ "Acer" => "Acer",
+ "Aiptek Inc" => "Aiptek-Inc",
+ "Arkmicro Technologies Inc" => "Arkmicro-Technologies-Inc",
+ "Askey Computer Corporation" => "Askey-Computer-Corporation",
+ "Chicony Electronics CO" => "Chicony-Electronics-CO",
+ "Conexant Systems, Inc" => "Conexant-Systems-Inc",
+ "Creative Technology, Ltd" => "Creative-Technology-Ltd",
+ "Divio" => "Divio",
+ "Dynex" => "Dynex",
+ "eMPIA Technology, Inc" => "eMPIA-Technology-Inc",
+ "Genesys Logic, Inc" => "Genesys-Logic-Inc",
+ "Hama Trading Co" => "Hama-Trading-Co",
+ "Hewlett Packard" => "Hewlett-Packard",
+ "IMC Networks" => "IMC-Networks",
+ "Importek" => "Importek",
+ "iPassion Technology Inc" => "iPassion-Technology-Inc",
+ "KYE Systems Corp" => "KYE-Systems-Corp",
+ "Kinstone" => "Kinstone",
+ "Lenovo" => "Lenovo",
+ "LG Electronics" => "LG-Electronics",
+ "Logitech" => "Logitech",
+ "Microdia-Ltd" => "Microdia-Ltd",
+ "OmniVision Technologies, Inc" => "OmniVision-Technologies-Inc",
+ "Panasonic" => "Panasonic",
+ "Philips" => "Philips",
+ "PixArt Imaging Inc" => "PixArt-Imaging-Inc",
+ "Primax Electronics Ltd" => "Primax-Electronics-Ltd",
+ "Quanta Computer Inc." => "Quanta-Computer-Inc",
+ "Ricoh Company, Ltd" => "Ricoh-Company-Ltd",
+ "Sony Corporation" => "Sony-Corporation",
+ "STMicroelectronics" => "STMicroelectronics",
+ "Syntek Semiconductor Ltd" => "Syntek-Semiconductor-Ltd",
+ "Sunplus Technology Co" => "Sunplus-Technology-Co",
+ "Suyin" => "Suyin",
+ "Tekom Technologies, Inc" => "Tekom-Technologies-Inc",
+ "Trust International" => "Trust-International",
+ "USRobotics" => "USRobotics",
+ "ViewQuest Technologies, Inc" => "ViewQuest-Technologies-Inc",
+ "Vista Imaging, Inc" => "Vista-Imaging-Inc",
+ "Xirlink" => "Xirlink",
+ "Z-Star Microelectronics Corporation" => "Z-Star-Microelectronics-Corporation",
+ );
+
+ public static $select = 'yes,no';
+
+ public static $interface = "not-specified,USB,Firewire,Parallel,Wifi,Serial";
+
+ public static function vendorsList()
+ {
+ return implode(',',array_values(self::$vendors));
+ }
} \ No newline at end of file