;------------------------------------------------------------------------
;
;   Copyright and Disclaimer:
;
;       ---------------------------------------------------------------
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;
;       Copyright (c) 2009 AzureWave, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;   USBGENE.INF  -- This file contains installation information 
;   for AzureWave USB2.0 PC-Camera
;
;------------------------------------------------------------------------
[Version]
signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider="Azurewave, GL860A"
DriverVer=01/13/2010, 9.5.21.5
CatalogFile=usbgene.cat

[ControlFlags]
; All PnP devices should be excluded from manual AddDevice Applet list
ExcludeFromSelect=*

[Manufacturer]
;"Azurewave, GL860A"=AzureWave
"Azurewave, GL860A"=AzureWave,NTamd64

[SourceDisksNames]
1=%DiskName%,,

[SourceDisksFiles]
;UsbCamD2.sys=1
USBGENE.sys=1
;OV9665S.SET=1
USBGENE0.sys=1
USBGENE1.sys=1
USBGENE2.sys=1
USBGENE3.sys=1
;glwdm.ax=1
;glspef.ax=1
twain.ini=1;, .\twain
twainds.ds=1;, .\twain
twainui.dll=1;, .\twain
;Loader.dll=1;, .\AP
;CamInst.exe=1;, .\AP
CamUninst.exe=1;, .\AP

[DestinationDirs]
AzureWave.USBDCam.Files.Ext=10, System32\Drivers
;AzureWave.USBDCam.Files.Sys=10, SysWOW64
AzureWave.USBDCam.Files.Twain=10, twain_32\GLtwain
AzureWave.USBDCam.Files.AP=16422, AzureWave UVC Camera Device

;[AzureWave]
[AzureWave.NTamd64]
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_05E3&PID_0505&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5061&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5071&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5076&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_507B&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5087&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5092&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5095&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5097&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5098&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5099&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_509B&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5100&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5103&MI_00
%USBDCam.DeviceDesc%=AzureWave.USBDCam, USB\VID_13D3&PID_5104&MI_00

[AzureWave.USBDCam]
Include=ks.inf, kscaptur.inf, ksfilter.inf
Needs=KS.Registration, KSCAPTUR.Registration
AddReg=AzureWave.USBDCam.AddReg, AzureWave.USBCam.SensorDetect.AddReg
AddReg=AzureWave.USBCam.OV9665.InitialSetting.AddReg, AzureWave.USBCam.OV9665.PropertySetting.AddReg
CopyFiles=AzureWave.USBDCam.Files.Ext, AzureWave.USBDCam.Files.Twain, AzureWave.USBDCam.Files.AP;, AzureWave.USBDCam.Files.Sys
AddReg=AzureWave.USBDCam.AP.AddReg
SubClass=StillImage
;DeviceType= 0 default, 1 scanner, 2 camera, 3 streaming video
DeviceType=3
DeviceSubType=0
Capabilities=0x31
Events=AzureWave.Events
DeviceData=AzureWave.DeviceData
ICMProfiles="sRGB Color Space Profile.icm" 

[AzureWave.USBDCam.NT]
Include=ks.inf, kscaptur.inf, ksfilter.inf, dshowext.inf
Needs=KS.Registration, KSCAPTUR.Registration.NT, DSHOWEXT.Registration
AddReg=AzureWave.USBDCam.AddReg, AzureWave.USBCam.SensorDetect.AddReg
AddReg=AzureWave.USBCam.OV9665.InitialSetting.AddReg, AzureWave.USBCam.OV9665.PropertySetting.AddReg
CopyFiles=AzureWave.USBDCam.Files.Ext, AzureWave.USBDCam.Files.Twain, AzureWave.USBDCam.Files.AP;, AzureWave.USBDCam.Files.Sys
AddReg=AzureWave.USBDCam.AP.AddReg
SubClass=StillImage
;DeviceType= 0 default, 1 scanner, 2 camera, 3 streaming video
DeviceType=3
DeviceSubType=0
Capabilities=0x31
Events=AzureWave.Events
DeviceData=AzureWave.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[AzureWave.Events]
; These are events that the device issues to trigger application launching.

[AzureWave.DeviceData]
; Ancillary data to be associated with this device.  TwainDS is the
; name of the data source that a TWAIN-compliant app will be open
; in response to an event.
;TwainDS="AzureWave UVC Camera Device"
;Server=local
;UI DLL=sti.dll
;UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

[AzureWave.USBDCam.AddReg]

HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbgene.sys
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,,CreateFileName,,"AUTO"
HKR,,PageOutWhenUnopened,3,00
HKR,,NBSelectiveSuspend,3,00
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"
HKR,,ForceHighSpeed,0x0010001, 0x00000000
HKR,,InitAlternateSetting,0x0010001, 0x00000000
HKR,,StreamOpen,0x0010001, 0x00000000
HKR,,SelSuspend,0x0010001, 0x05F5E100
HKR,,DeadPixelRGB24,0x0010001, 0x00000000
HKR,,DeadPixelYUYV,0x0010001, 0x00000000
HKR,,BlackBodyDarkRGB24,0x0010001, 0x00000000
HKR,,BlackBodyDarkYUYV,0x0010001, 0x00000000
HKR,,StillPin,0x0010001, 0x00000000
HKR,,PollingShutterKey,0x0010001, 0x00000000
HKR,,InvertImage,0x0010001, 0x00000000
HKR,,InvertFrameNumber,0x0010001, 0x00000000
HKR,,ScriptFrameNumber,0x0010001, 0x00000002
HKR,,EngineerMode,0x0010001, 0x00000001
HKR,,B012ScriptMode,0x0010001, 0x00000000
HKR,,PowerIrpMode,0x0010001, 0x00000000
HKR,"AutoFocusSetting","Enabled",0x0010001, 0x00000000
HKR,,FriendlyName,,%USBDCam.DeviceDesc%
HKR,,MirrorImage,0x0010001, 0x00000001
HKR,,FlipImage,0x0010001, 0x00000001
HKR,,UVCMode,0x0010001, 0x00000001

HKLM,"Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3FB39BED-37C8-4E60-8E02-315B8C2B07E3}","DisplayName",0x00000000,"%USBDCam.DeviceDesc%"
HKLM,"Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3FB39BED-37C8-4E60-8E02-315B8C2B07E3}","UninstallString",0x00000000,"""%16422%\AzureWave UVC Camera Device\CamUninst.exe"""

; Following key is used to add customized / special effect property page into AMCAP
; ICustomCameraProp
;HKCR,Wow6432Node\CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7},,,%CustomCameraProp%
;HKCR,Wow6432Node\CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7}\InprocServer32,,,glwdm.ax
;HKCR,Wow6432Node\CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7}\InprocServer32,ThreadingModel,,Both
;; This IID is aggregated for the filter given the CLSID of the property set
;HKLM,System\CurrentControlSet\Control\MediaInterfaces\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7},,,%CustomCameraProp%
;HKLM,System\CurrentControlSet\Control\MediaInterfaces\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7},IID,1,43,2B,02,03, A0,4D ,C3,47, B7,7E,7D,0C,64,63,EC,E7

;; CustomCamera Property Page
;HKCR,Wow6432Node\CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD0},,,%PropPage_CustomCameraProp%
;HKCR,Wow6432Node\CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD0}\InprocServer32,,,glwdm.ax
;HKCR,Wow6432Node\CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD0}\InprocServer32,ThreadingModel,,Both
;; Associate the property set with the above property page
;HKLM,System\CurrentControlSet\Control\MediaSets\{03022B43-4DA0-47C3-B77E-7D0C6463ECE7}\PropertyPages\{53CAA1A4-D333-43aa-A868-E796DF48AAD0},,,%PropPage_CustomCameraProp%

; ISPEFCameraProp
;HKCR,Wow6432Node\CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8},,,%SPEFCameraProp%
;HKCR,Wow6432Node\CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8}\InprocServer32,,,glspef.ax
;HKCR,Wow6432Node\CLSID\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8}\InprocServer32,ThreadingModel,,Both
;; This IID is aggregated for the filter given the CLSID of the property set
;HKLM,System\CurrentControlSet\Control\MediaInterfaces\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8},,,%SPEFCameraProp%
;HKLM,System\CurrentControlSet\Control\MediaInterfaces\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8},IID,1,43,2B,02,03, A0,4D ,C3,47, B7,7E,7D,0C,64,63,EC,E8

;; SPEFCamera Property Page
;HKCR,Wow6432Node\CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD1},,,%PropPage_SPEFCameraProp%
;HKCR,Wow6432Node\CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD1}\InprocServer32,,,glspef.ax
;HKCR,Wow6432Node\CLSID\{53CAA1A4-D333-43aa-A868-E796DF48AAD1}\InprocServer32,ThreadingModel,,Both
;; Associate the property set with the above property page
;HKLM,System\CurrentControlSet\Control\MediaSets\{03022B43-4DA0-47C3-B77E-7D0C6463ECE8}\PropertyPages\{53CAA1A4-D333-43aa-A868-E796DF48AAD1},,,%PropPage_SPEFCameraProp%

[AzureWave.USBCam.SensorDetect.AddReg]

HKR,"SensorDetect","NumOfSensor",0x0010001, 0x00000001

HKR,"SensorDetect\Sensor00","I2CAddr",0x0010001, 0x00000060
HKR,"SensorDetect\Sensor00","InitDelay",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00","ReadDelay",0x0010001, 0x00002710
HKR,"SensorDetect\Sensor00","IDLength",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00","SensorName",0x0010000, OV9665
HKR,"SensorDetect\Sensor00\00","Address",0x0010001, 0x0000000A
HKR,"SensorDetect\Sensor00\00","Data",0x0010001, 0x00000096
HKR,"SensorDetect\Sensor00\01","Address",0x0010001, 0x0000000B
HKR,"SensorDetect\Sensor00\01","Data",0x0010001, 0x00000063
HKR,"SensorDetect\Sensor00\InitGL860","NumOfReg",0x0010001, 0x00000001
HKR,"SensorDetect\Sensor00\InitGL860\00","Address",0x0010001, 0x00000000
HKR,"SensorDetect\Sensor00\InitGL860\00","Data",0x0010001, 0x00000060

[AzureWave.USBCam.OV9665.InitialSetting.AddReg]

HKR,"OV9665\InitialSetting","Script",0x0010000, %12%\OV9665S.SET
HKR,"OV9665\InitialSetting","SeparateCtrl",0x0010001, 0x00000001

HKR,"OV9665\InitialSetting\FullSpeed\YUYV\160","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\160","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\160","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\160","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\FullSpeed\YUYV\176","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\176","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\176","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\176","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\FullSpeed\YUYV\320","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\320","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\320","ControlMethod",0x0010001, 0x00000003
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\320","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\FullSpeed\YUYV\352","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\352","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\352","ControlMethod",0x0010001, 0x00000003
HKR,"OV9665\InitialSetting\FullSpeed\YUYV\352","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\RGB24\160","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\160","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\160","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\160","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\RGB24\176","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\176","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\176","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\176","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\RGB24\320","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\320","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\320","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\320","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\RGB24\352","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\352","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\352","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\352","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\RGB24\640","Enabled",0x0010001, 0x00000002
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\640","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\640","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\RGB24\640","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\YUYV\160","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\160","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\160","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\160","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\YUYV\176","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\176","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\176","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\176","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\YUYV\320","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\320","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\320","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\320","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\YUYV\352","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\352","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\352","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\352","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\YUYV\640","Enabled",0x0010001, 0x00000002
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\640","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\640","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\640","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\YUYV\800","Enabled",0x0010001, 0x00000000
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\800","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\800","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\800","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1024","Enabled",0x0010001, 0x00000000
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1024","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1024","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1024","FrameRate",0x0010001, 0x0000000F

HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1280","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1280","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1280","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1280","FrameRate",0x0010001, 0x0000000F

HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1280C","Enabled",0x0010001, 0x00000000
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1280C","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1280C","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\YUYV\1280C","FrameRate",0x0010001, 0x0000000F

HKR,"OV9665\InitialSetting\HighSpeed\I420\160","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\I420\160","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\I420\160","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\I420\160","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\I420\176","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\I420\176","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\I420\176","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\I420\176","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\I420\320","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\I420\320","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\I420\320","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\I420\320","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\I420\352","Enabled",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\I420\352","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\I420\352","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\I420\352","FrameRate",0x0010001, 0x0000001E

HKR,"OV9665\InitialSetting\HighSpeed\I420\640","Enabled",0x0010001, 0x00000003
HKR,"OV9665\InitialSetting\HighSpeed\I420\640","AlternateSetting",0x0010001, 0x00000001
HKR,"OV9665\InitialSetting\HighSpeed\I420\640","ControlMethod",0x0010001, 0x00000201
HKR,"OV9665\InitialSetting\HighSpeed\I420\640","FrameRate",0x0010001, 0x0000001E

[AzureWave.USBCam.OV9665.PropertySetting.AddReg]

HKR,"OV9665\PropertySetting","I2CAddr",0x0010001, 0x00000060
HKR,"OV9665\PropertySetting","ISPType",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting","WaitSettingComplete",0x0010001, 0x00000001
HKR,"OV9665\PageSetting","Default_OutDoor",0x0010001, 0x00000000
HKR,"OV9665","Flicker_50HZ",0x0010001, 0x00000000
HKR,"OV9665\PageSetting","Default_Flicker",0x0010001, 0x00000000

; 舊的：
; CF: Brightness
; D1: Contrast
; D0: Gamma
; BE: Gain

; 新的：
; BE:    Brightness
; CF+D0: Contrast
; 24+25: Gamma
; BD:    Gain

HKR,"OV9665\PropertySetting\Brightness","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Brightness","DefaultValue",0x0010001, 0x0000001F
HKR,"OV9665\PropertySetting\Brightness","CurrentValue",0x0010001, 0x0000001F
HKR,"OV9665\PropertySetting\Brightness","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Brightness","CurrentFlag",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Brightness","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Brightness","RegisterAddr",0x0010001, 0x000000BE
HKR,"OV9665\PropertySetting\Brightness","PhysMinimum",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Brightness","PhysMaximum",0x0010001, 0x00000032

HKR,"OV9665\PropertySetting\Contrast","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Contrast","DefaultValue",0x0010001, 0x00000008
HKR,"OV9665\PropertySetting\Contrast","CurrentValue",0x0010001, 0x00000008
HKR,"OV9665\PropertySetting\Contrast","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Contrast","CurrentFlag",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\Contrast","ControlMethod",0x0010001, 0x00000042
HKR,"OV9665\PropertySetting\Contrast","RegisterAddr",0x0010001, 0x000000CF
HKR,"OV9665\PropertySetting\Contrast","LogiMaximum",0x0010001, 0x00000010
HKR,"OV9665\PropertySetting\Contrast\PhysValue","00",0x0010001, 0x00002816
HKR,"OV9665\PropertySetting\Contrast\PhysValue","01",0x0010001, 0x00002417
HKR,"OV9665\PropertySetting\Contrast\PhysValue","02",0x0010001, 0x00002018
HKR,"OV9665\PropertySetting\Contrast\PhysValue","03",0x0010001, 0x00001C19
HKR,"OV9665\PropertySetting\Contrast\PhysValue","04",0x0010001, 0x0000181A
HKR,"OV9665\PropertySetting\Contrast\PhysValue","05",0x0010001, 0x0000141B
HKR,"OV9665\PropertySetting\Contrast\PhysValue","06",0x0010001, 0x0000101C
HKR,"OV9665\PropertySetting\Contrast\PhysValue","07",0x0010001, 0x00000C1D
HKR,"OV9665\PropertySetting\Contrast\PhysValue","08",0x0010001, 0x0000081E
HKR,"OV9665\PropertySetting\Contrast\PhysValue","09",0x0010001, 0x0000041F
HKR,"OV9665\PropertySetting\Contrast\PhysValue","0A",0x0010001, 0x00000020
HKR,"OV9665\PropertySetting\Contrast\PhysValue","0B",0x0010001, 0x00000021
HKR,"OV9665\PropertySetting\Contrast\PhysValue","0C",0x0010001, 0x00000022
HKR,"OV9665\PropertySetting\Contrast\PhysValue","0D",0x0010001, 0x00000023
HKR,"OV9665\PropertySetting\Contrast\PhysValue","0E",0x0010001, 0x00000024
HKR,"OV9665\PropertySetting\Contrast\PhysValue","0F",0x0010001, 0x00000025
HKR,"OV9665\PropertySetting\Contrast\PhysValue","10",0x0010001, 0x00000026

HKR,"OV9665\PropertySetting\Saturation","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Saturation","DefaultValue",0x0010001, 0x000000A0
HKR,"OV9665\PropertySetting\Saturation","CurrentValue",0x0010001, 0x000000A0
HKR,"OV9665\PropertySetting\Saturation","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Saturation","CurrentFlag",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Saturation","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Saturation","RegisterAddr",0x0010001, 0x000000C9
HKR,"OV9665\PropertySetting\Saturation","PhysMinimum",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Saturation","PhysMaximum",0x0010001, 0x000000FF

HKR,"OV9665\PropertySetting\Gamma","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Gamma","DefaultValue",0x0010001, 0x0000000F
HKR,"OV9665\PropertySetting\Gamma","CurrentValue",0x0010001, 0x0000000F
HKR,"OV9665\PropertySetting\Gamma","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Gamma","CurrentFlag",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\Gamma","ControlMethod",0x0010001, 0x00000042
HKR,"OV9665\PropertySetting\Gamma","RegisterAddr",0x0010001, 0x00000024
HKR,"OV9665\PropertySetting\Gamma","LogiMaximum",0x0010001, 0x0000001E
HKR,"OV9665\PropertySetting\Gamma\LogiValue","00",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Gamma\LogiValue","01",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\Gamma\LogiValue","02",0x0010001, 0x00000003
HKR,"OV9665\PropertySetting\Gamma\LogiValue","03",0x0010001, 0x00000004
HKR,"OV9665\PropertySetting\Gamma\LogiValue","04",0x0010001, 0x00000005
HKR,"OV9665\PropertySetting\Gamma\LogiValue","05",0x0010001, 0x00000006
HKR,"OV9665\PropertySetting\Gamma\LogiValue","06",0x0010001, 0x00000007
HKR,"OV9665\PropertySetting\Gamma\LogiValue","07",0x0010001, 0x00000008
HKR,"OV9665\PropertySetting\Gamma\LogiValue","08",0x0010001, 0x00000009
HKR,"OV9665\PropertySetting\Gamma\LogiValue","09",0x0010001, 0x0000000A
HKR,"OV9665\PropertySetting\Gamma\LogiValue","0A",0x0010001, 0x0000000B
HKR,"OV9665\PropertySetting\Gamma\LogiValue","0B",0x0010001, 0x0000000C
HKR,"OV9665\PropertySetting\Gamma\LogiValue","0C",0x0010001, 0x0000000D
HKR,"OV9665\PropertySetting\Gamma\LogiValue","0D",0x0010001, 0x0000000E
HKR,"OV9665\PropertySetting\Gamma\LogiValue","0E",0x0010001, 0x0000000F
HKR,"OV9665\PropertySetting\Gamma\LogiValue","0F",0x0010001, 0x00000010
HKR,"OV9665\PropertySetting\Gamma\LogiValue","10",0x0010001, 0x00000011
HKR,"OV9665\PropertySetting\Gamma\LogiValue","11",0x0010001, 0x00000012
HKR,"OV9665\PropertySetting\Gamma\LogiValue","12",0x0010001, 0x00000013
HKR,"OV9665\PropertySetting\Gamma\LogiValue","13",0x0010001, 0x00000014
HKR,"OV9665\PropertySetting\Gamma\LogiValue","14",0x0010001, 0x00000015
HKR,"OV9665\PropertySetting\Gamma\LogiValue","15",0x0010001, 0x00000016
HKR,"OV9665\PropertySetting\Gamma\LogiValue","16",0x0010001, 0x00000017
HKR,"OV9665\PropertySetting\Gamma\LogiValue","17",0x0010001, 0x00000018
HKR,"OV9665\PropertySetting\Gamma\LogiValue","18",0x0010001, 0x00000019
HKR,"OV9665\PropertySetting\Gamma\LogiValue","19",0x0010001, 0x0000001A
HKR,"OV9665\PropertySetting\Gamma\LogiValue","1A",0x0010001, 0x0000001B
HKR,"OV9665\PropertySetting\Gamma\LogiValue","1B",0x0010001, 0x0000001C
HKR,"OV9665\PropertySetting\Gamma\LogiValue","1C",0x0010001, 0x0000001D
HKR,"OV9665\PropertySetting\Gamma\LogiValue","1D",0x0010001, 0x0000001E
HKR,"OV9665\PropertySetting\Gamma\LogiValue","1E",0x0010001, 0x0000001F
HKR,"OV9665\PropertySetting\Gamma\PhysValue","00",0x0010001, 0x00001F17
HKR,"OV9665\PropertySetting\Gamma\PhysValue","01",0x0010001, 0x00002018
HKR,"OV9665\PropertySetting\Gamma\PhysValue","02",0x0010001, 0x00002119
HKR,"OV9665\PropertySetting\Gamma\PhysValue","03",0x0010001, 0x0000221A
HKR,"OV9665\PropertySetting\Gamma\PhysValue","04",0x0010001, 0x0000231B
HKR,"OV9665\PropertySetting\Gamma\PhysValue","05",0x0010001, 0x0000241C
HKR,"OV9665\PropertySetting\Gamma\PhysValue","06",0x0010001, 0x0000251D
HKR,"OV9665\PropertySetting\Gamma\PhysValue","07",0x0010001, 0x0000261E
HKR,"OV9665\PropertySetting\Gamma\PhysValue","08",0x0010001, 0x0000271F
HKR,"OV9665\PropertySetting\Gamma\PhysValue","09",0x0010001, 0x00002820
HKR,"OV9665\PropertySetting\Gamma\PhysValue","0A",0x0010001, 0x00002921
HKR,"OV9665\PropertySetting\Gamma\PhysValue","0B",0x0010001, 0x00002A22
HKR,"OV9665\PropertySetting\Gamma\PhysValue","0C",0x0010001, 0x00002B23
HKR,"OV9665\PropertySetting\Gamma\PhysValue","0D",0x0010001, 0x00002C24
HKR,"OV9665\PropertySetting\Gamma\PhysValue","0E",0x0010001, 0x00002D25
HKR,"OV9665\PropertySetting\Gamma\PhysValue","0F",0x0010001, 0x00002E26
HKR,"OV9665\PropertySetting\Gamma\PhysValue","10",0x0010001, 0x00002F27
HKR,"OV9665\PropertySetting\Gamma\PhysValue","11",0x0010001, 0x00003028
HKR,"OV9665\PropertySetting\Gamma\PhysValue","12",0x0010001, 0x00003129
HKR,"OV9665\PropertySetting\Gamma\PhysValue","13",0x0010001, 0x0000322A
HKR,"OV9665\PropertySetting\Gamma\PhysValue","14",0x0010001, 0x0000332B
HKR,"OV9665\PropertySetting\Gamma\PhysValue","15",0x0010001, 0x0000342C
HKR,"OV9665\PropertySetting\Gamma\PhysValue","16",0x0010001, 0x0000352D
HKR,"OV9665\PropertySetting\Gamma\PhysValue","17",0x0010001, 0x0000362E
HKR,"OV9665\PropertySetting\Gamma\PhysValue","18",0x0010001, 0x0000372F
HKR,"OV9665\PropertySetting\Gamma\PhysValue","19",0x0010001, 0x00003830
HKR,"OV9665\PropertySetting\Gamma\PhysValue","1A",0x0010001, 0x00003931
HKR,"OV9665\PropertySetting\Gamma\PhysValue","1B",0x0010001, 0x00003A32
HKR,"OV9665\PropertySetting\Gamma\PhysValue","1C",0x0010001, 0x00003B33
HKR,"OV9665\PropertySetting\Gamma\PhysValue","1D",0x0010001, 0x00003C34
HKR,"OV9665\PropertySetting\Gamma\PhysValue","1E",0x0010001, 0x00003D35

HKR,"OV9665\PropertySetting\WhiteBalanceTemperature","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature","DefaultValue",0x0010001, 0x00000008
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature","CurrentValue",0x0010001, 0x00000008
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature","CurrentFlag",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature","ControlMethod",0x0010001,0x00000002
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature","RegisterAddr",0x0010001, 0x000000C0
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature","LogiMaximum",0x0010001,  0x00000010
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","00",0x0010001, 0x00000AF0
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","01",0x0010001, 0x00000AF1
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","02",0x0010001, 0x00000FF2
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","03",0x0010001, 0x00001000
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","04",0x0010001, 0x00001080
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","05",0x0010001, 0x00001100
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","06",0x0010001, 0x00001180
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","07",0x0010001, 0x00001200
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","08",0x0010001, 0x0000122A
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","09",0x0010001, 0x00001300
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","0A",0x0010001, 0x00001400
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","0B",0x0010001, 0x00001500
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","0C",0x0010001, 0x00001600
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","0D",0x0010001, 0x00001700
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","0E",0x0010001, 0x00001800
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","0F",0x0010001, 0x00001963
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\LogiValue","10",0x0010001, 0x00001964
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","00",0x0010001, 0x00000010
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","01",0x0010001, 0x0000000F
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","02",0x0010001, 0x0000000E
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","03",0x0010001, 0x0000000D
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","04",0x0010001, 0x0000000C
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","05",0x0010001, 0x0000000B
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","06",0x0010001, 0x0000000A
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","07",0x0010001, 0x00000009
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","08",0x0010001, 0x00000008
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","09",0x0010001, 0x00000007
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","0A",0x0010001, 0x00000006
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","0B",0x0010001, 0x00000005
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","0C",0x0010001, 0x00000004
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","0D",0x0010001, 0x00000003
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","0E",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","0F",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\WhiteBalanceTemperature\PhysValue","10",0x0010001, 0x00000000

; Hue，改 C3+C4。原本是 2F2D
HKR,"OV9665\PropertySetting\Hue","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Hue","DefaultValue",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Hue","CurrentValue",0x0010001, 0x000000000
HKR,"OV9665\PropertySetting\Hue","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Hue","CurrentFlag",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\Hue","ControlMethod",0x0010001,0x00000042
HKR,"OV9665\PropertySetting\Hue","RegisterAddr",0x0010001, 0x000000C9
HKR,"OV9665\PropertySetting\Hue","LogiMaximum",0x0010001,  0x00000018
HKR,"OV9665\PropertySetting\Hue\PhysValue","00",0x0010001, 0x00008000
HKR,"OV9665\PropertySetting\Hue\PhysValue","01",0x0010001, 0x00008010
HKR,"OV9665\PropertySetting\Hue\PhysValue","02",0x0010001, 0x00008020
HKR,"OV9665\PropertySetting\Hue\PhysValue","03",0x0010001, 0x00008030
HKR,"OV9665\PropertySetting\Hue\PhysValue","04",0x0010001, 0x00008040
HKR,"OV9665\PropertySetting\Hue\PhysValue","05",0x0010001, 0x00008050
HKR,"OV9665\PropertySetting\Hue\PhysValue","06",0x0010001, 0x00008060
HKR,"OV9665\PropertySetting\Hue\PhysValue","07",0x0010001, 0x00008070
HKR,"OV9665\PropertySetting\Hue\PhysValue","08",0x0010001, 0x00008080
HKR,"OV9665\PropertySetting\Hue\PhysValue","09",0x0010001, 0x00008090
HKR,"OV9665\PropertySetting\Hue\PhysValue","0A",0x0010001, 0x000080A0
HKR,"OV9665\PropertySetting\Hue\PhysValue","0B",0x0010001, 0x000080B0
HKR,"OV9665\PropertySetting\Hue\PhysValue","0C",0x0010001, 0x000080C0
HKR,"OV9665\PropertySetting\Hue\PhysValue","0D",0x0010001, 0x000080D0
HKR,"OV9665\PropertySetting\Hue\PhysValue","0E",0x0010001, 0x000080E0
HKR,"OV9665\PropertySetting\Hue\PhysValue","0F",0x0010001, 0x000080F0
HKR,"OV9665\PropertySetting\Hue\PhysValue","10",0x0010001, 0x000080FF
HKR,"OV9665\PropertySetting\Hue\PhysValue","11",0x0010001, 0x000070FF
HKR,"OV9665\PropertySetting\Hue\PhysValue","12",0x0010001, 0x000060FF
HKR,"OV9665\PropertySetting\Hue\PhysValue","13",0x0010001, 0x000050FF
HKR,"OV9665\PropertySetting\Hue\PhysValue","14",0x0010001, 0x000040FF
HKR,"OV9665\PropertySetting\Hue\PhysValue","15",0x0010001, 0x000030FF
HKR,"OV9665\PropertySetting\Hue\PhysValue","16",0x0010001, 0x000020FF
HKR,"OV9665\PropertySetting\Hue\PhysValue","17",0x0010001, 0x000010FF
HKR,"OV9665\PropertySetting\Hue\PhysValue","18",0x0010001, 0x000000FF

;HKR,"OV9665\PropertySetting\Hue","Enabled",0x0010001, 0x00000001
;HKR,"OV9665\PropertySetting\Hue","DefaultValue",0x0010001, 0x00000000
;HKR,"OV9665\PropertySetting\Hue","CurrentValue",0x0010001, 0x00000000
;HKR,"OV9665\PropertySetting\Hue","AutoEnabled",0x0010001, 0x00000000
;HKR,"OV9665\PropertySetting\Hue","CurrentFlag",0x0010001, 0x00000002
;HKR,"OV9665\PropertySetting\Hue","ControlMethod",0x0010001,0x00000042
;HKR,"OV9665\PropertySetting\Hue","RegisterAddr",0x0010001, 0x000000C3
;HKR,"OV9665\PropertySetting\Hue","LogiMaximum",0x0010001,  0x00000010
;HKR,"OV9665\PropertySetting\Hue\PhysValue","00",0x0010001, 0x00002120
;HKR,"OV9665\PropertySetting\Hue\PhysValue","01",0x0010001, 0x00002322
;HKR,"OV9665\PropertySetting\Hue\PhysValue","02",0x0010001, 0x00002524
;HKR,"OV9665\PropertySetting\Hue\PhysValue","03",0x0010001, 0x00002726
;HKR,"OV9665\PropertySetting\Hue\PhysValue","04",0x0010001, 0x00002928
;HKR,"OV9665\PropertySetting\Hue\PhysValue","05",0x0010001, 0x00002B2A
;HKR,"OV9665\PropertySetting\Hue\PhysValue","06",0x0010001, 0x00002D2C
;HKR,"OV9665\PropertySetting\Hue\PhysValue","07",0x0010001, 0x00002F2E
;HKR,"OV9665\PropertySetting\Hue\PhysValue","08",0x0010001, 0x00003130
;HKR,"OV9665\PropertySetting\Hue\PhysValue","09",0x0010001, 0x00003332
;HKR,"OV9665\PropertySetting\Hue\PhysValue","0A",0x0010001, 0x00003534
;HKR,"OV9665\PropertySetting\Hue\PhysValue","0B",0x0010001, 0x00003736
;HKR,"OV9665\PropertySetting\Hue\PhysValue","0C",0x0010001, 0x00003938
;HKR,"OV9665\PropertySetting\Hue\PhysValue","0D",0x0010001, 0x00003B3A
;HKR,"OV9665\PropertySetting\Hue\PhysValue","0E",0x0010001, 0x00003D3C
;HKR,"OV9665\PropertySetting\Hue\PhysValue","0F",0x0010001, 0x00003F3E
;HKR,"OV9665\PropertySetting\Hue\PhysValue","10",0x0010001, 0x00004140

; HKR,"OV9665\PropertySetting\Hue","Enabled",0x0010001, 0x00000001
; HKR,"OV9665\PropertySetting\Hue","DefaultValue",0x0010001, 0x00000000
; HKR,"OV9665\PropertySetting\Hue","CurrentValue",0x0010001, 0x00000000
; HKR,"OV9665\PropertySetting\Hue","AutoEnabled",0x0010001, 0x00000000
; HKR,"OV9665\PropertySetting\Hue","CurrentFlag",0x0010001, 0x00000002
; HKR,"OV9665\PropertySetting\Hue","ControlMethod",0x0010001, 0x00000002
; HKR,"OV9665\PropertySetting\Hue","RegisterAddr",0x0010001, 0x000000C6
; HKR,"OV9665\PropertySetting\Hue","LogiMaximum",0x0010001, 0x00000009
; HKR,"OV9665\PropertySetting\Hue\PhysValue","00",0x0010001, 0x00000098
; HKR,"OV9665\PropertySetting\Hue\PhysValue","01",0x0010001, 0x00000058
; HKR,"OV9665\PropertySetting\Hue\PhysValue","02",0x0010001, 0x00000060
; HKR,"OV9665\PropertySetting\Hue\PhysValue","03",0x0010001, 0x000000A0
; HKR,"OV9665\PropertySetting\Hue\PhysValue","04",0x0010001, 0x00000050
; HKR,"OV9665\PropertySetting\Hue\PhysValue","05",0x0010001, 0x00000090
; HKR,"OV9665\PropertySetting\Hue\PhysValue","06",0x0010001, 0x000000A8
; HKR,"OV9665\PropertySetting\Hue\PhysValue","07",0x0010001, 0x00000068
; HKR,"OV9665\PropertySetting\Hue\PhysValue","08",0x0010001, 0x000000B0
; HKR,"OV9665\PropertySetting\Hue\PhysValue","09",0x0010001, 0x00000078
; ; HKR,"OV9665\PropertySetting\Hue\PhysValue","0A",0x0010001, 0x000000D0
; ; HKR,"OV9665\PropertySetting\Hue\PhysValue","0B",0x0010001, 0x000000D8
; ; HKR,"OV9665\PropertySetting\Hue\PhysValue","0C",0x0010001, 0x000000E0
; ; HKR,"OV9665\PropertySetting\Hue\PhysValue","0D",0x0010001, 0x00000048
; ; HKR,"OV9665\PropertySetting\Hue\PhysValue","0E",0x0010001, 0x00000088
; ; HKR,"OV9665\PropertySetting\Hue\PhysValue","0F",0x0010001, 0x00000018
; ; HKR,"OV9665\PropertySetting\Hue\PhysValue","10",0x0010001, 0x00000020
; ; HKR,"OV9665\PropertySetting\Hue\PhysValue","11",0x0010001, 0x00000038
; ; HKR,"OV9665\PropertySetting\Hue\PhysValue","12",0x0010001, 0x00000028

; HKR,"OV9665\PropertySetting\Sharpness","Enabled",0x0010001, 0x00000001
; HKR,"OV9665\PropertySetting\Sharpness","DefaultValue",0x0010001, 0x00000001
; HKR,"OV9665\PropertySetting\Sharpness","CurrentValue",0x0010001, 0x00000001
; HKR,"OV9665\PropertySetting\Sharpness","AutoEnabled",0x0010001, 0x00000000
; HKR,"OV9665\PropertySetting\Sharpness","CurrentFlag",0x0010001, 0x00000000
; HKR,"OV9665\PropertySetting\Sharpness","ControlMethod",0x0010001, 0x00000001
; HKR,"OV9665\PropertySetting\Sharpness","RegisterAddr",0x0010001, 0x000000D9
; HKR,"OV9665\PropertySetting\Sharpness","PhysMinimum",0x0010001, 0x00000010
; HKR,"OV9665\PropertySetting\Sharpness","PhysMaximum",0x0010001, 0x0000001F

HKR,"OV9665\PropertySetting\Sharpness","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Sharpness","DefaultValue",0x0010001, 0x0000000B
HKR,"OV9665\PropertySetting\Sharpness","CurrentValue",0x0010001, 0x0000000B
HKR,"OV9665\PropertySetting\Sharpness","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Sharpness","CurrentFlag",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Sharpness","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Sharpness","RegisterAddr",0x0010001, 0x000000AD
HKR,"OV9665\PropertySetting\Sharpness","PhysMinimum",0x0010001, 0x00000080
HKR,"OV9665\PropertySetting\Sharpness","PhysMaximum",0x0010001, 0x0000008F

;HKR,"OV9665\PropertySetting\BackLight","Enabled",0x0010001, 0x00000001
;HKR,"OV9665\PropertySetting\BackLight","DefaultValue",0x0010001, 0x00000001
;HKR,"OV9665\PropertySetting\BackLight","CurrentValue",0x0010001, 0x00000001
;HKR,"OV9665\PropertySetting\BackLight","AutoEnabled",0x0010001, 0x00000000
;HKR,"OV9665\PropertySetting\BackLight","CurrentFlag",0x0010001, 0x00000002
;HKR,"OV9665\PropertySetting\BackLight","ControlMethod",0x0010001, 0x00000002
;HKR,"OV9665\PropertySetting\BackLight","RegisterAddr",0x0010001, 0x000000C7
;HKR,"OV9665\PropertySetting\BackLight","LogiMaximum",0x0010001, 0x00000002
;HKR,"OV9665\PropertySetting\BackLight\PhysValue","00",0x0010001, 0x0000003C
;HKR,"OV9665\PropertySetting\BackLight\PhysValue","01",0x0010001, 0x00000018
;HKR,"OV9665\PropertySetting\BackLight\PhysValue","02",0x0010001, 0x00000038

HKR,"OV9665\PropertySetting\BackLight","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\BackLight","DefaultValue",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\BackLight","CurrentValue",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\BackLight","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\BackLight","CurrentFlag",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\BackLight","ControlMethod",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\BackLight","RegisterAddr",0x0010001, 0x00000013
HKR,"OV9665\PropertySetting\BackLight","LogiMaximum",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\BackLight\PhysValue","00",0x0010001, 0x000000E0
HKR,"OV9665\PropertySetting\BackLight\PhysValue","01",0x0010001, 0x000000E7
HKR,"OV9665\PropertySetting\BackLight\PhysValue","02",0x0010001, 0x000000E0

HKR,"OV9665\PropertySetting\Gain","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Gain","DefaultValue",0x0010001, 0x00000008
HKR,"OV9665\PropertySetting\Gain","CurrentValue",0x0010001, 0x00000008
HKR,"OV9665\PropertySetting\Gain","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Gain","CurrentFlag",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Gain","ControlMethod",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\Gain","RegisterAddr",0x0010001, 0x000000BD
HKR,"OV9665\PropertySetting\Gain","PhysMinimum",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\Gain","PhysMaximum",0x0010001, 0x00000010

HKR,"OV9665\PropertySetting\ColorEnable","Enabled",0x0010001, 0x00000000
; HKR,"OV9665\PropertySetting\ColorEnable","Enabled",0x0010001, 0x00000001
; HKR,"OV9665\PropertySetting\ColorEnable","DefaultValue",0x0010001, 0x00000001
; HKR,"OV9665\PropertySetting\ColorEnable","CurrentValue",0x0010001, 0x00000001
; HKR,"OV9665\PropertySetting\ColorEnable","CurrentFlag",0x0010001, 0x00000002
; HKR,"OV9665\PropertySetting\ColorEnable","ControlMethod",0x0010001, 0x00000002
; HKR,"OV9665\PropertySetting\ColorEnable","RegisterAddr",0x0010001, 0x000000A6
; HKR,"OV9665\PropertySetting\ColorEnable","LogiMaximum",0x0010001, 0x00000001
; HKR,"OV9665\PropertySetting\ColorEnable\PhysValue","00",0x0010001, 0x00000024
; HKR,"OV9665\PropertySetting\ColorEnable\PhysValue","01",0x0010001, 0x00000004

; Auto Flicker Detection
HKR,"OV9665\PropertySetting\PowerFreq","Enabled",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\PowerFreq","DefaultValue",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\PowerFreq","CurrentValue",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\PowerFreq","AutoEnabled",0x0010001, 0x00000000
HKR,"OV9665\PropertySetting\PowerFreq","CurrentFlag",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\PowerFreq","ControlMethod",0x0010001, 0x00000002
HKR,"OV9665\PropertySetting\PowerFreq","RegisterAddr",0x0010001, 0x0000000C
HKR,"OV9665\PropertySetting\PowerFreq","LogiMinimum",0x0010001, 0x00000001
HKR,"OV9665\PropertySetting\PowerFreq","LogiMaximum",0x0010001, 0x00000002
;; HKR,"OV9665\PropertySetting\PowerFreq\PhysValue","00",0x0010001, 0x0000003A
HKR,"OV9665\PropertySetting\PowerFreq\PhysValue","01",0x0010001, 0x0000003C
HKR,"OV9665\PropertySetting\PowerFreq\PhysValue","02",0x0010001, 0x00000038

[AzureWave.USBDCam.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,AzureWave.USBDCam.Interface

[AzureWave.USBDCam.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,AzureWave.USBDCam.Interface

[AzureWave.USBDCam.Interface]
AddReg=AzureWave.USBDCam.Intf.AddReg

[AzureWave.USBDCam.Intf.AddReg]
HKR,,CLSID,,%ProxyVCap.CLSID%
HKR,,FriendlyName,,%USBDCam.DeviceDesc%
;HKR,PinFactory\1\Interfaces\{5BB95400-52BB-11d2-BA41-00A0C90D2B05},,,

[AzureWave.USBDCam.HW]
AddReg=AzureWave.USBDCam.HW.AddReg

[AzureWave.USBDCam.NT.HW]
AddReg=AzureWave.USBDCam.HW.AddReg

[AzureWave.USBDCam.HW.AddReg]
HKR,,FriendlyName,,%USBDCam.DeviceDesc%

[AzureWave.USBDCam.AP.AddReg]
;HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","GenePccMon",,"rundll32.exe """%16422%\AzureWave UVC Camera Device\Loader""",Loader"
;HKLM,"Software\Microsoft\Windows\CurrentVersion\Run","GenePccMon",,"""%16422%\AzureWave UVC Camera Device\GenePccMon.exe"""

[AzureWave.USBDCam.NT.Services]
AddService = DCamUSBGene,0x00000002,AzureWave.USBDCam.ServiceInstall

[AzureWave.USBDCam.ServiceInstall]
DisplayName   = %USBDCam.DeviceDesc%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\usbgene.sys

[AzureWave.USBDCam.Files.Ext]
;UsbCamD2.sys
USBGENE.sys
;OV9665S.SET
USBGENE0.sys
USBGENE1.sys
USBGENE2.sys
USBGENE3.sys

;[AzureWave.USBDCam.Files.Sys]
;glwdm.ax
;glspef.ax

[AzureWave.USBDCam.Files.Twain]
twain.ini
twainds.ds
twainui.dll

[AzureWave.USBDCam.Files.AP]
;Loader.dll
;CamInst.exe
CamUninst.exe

[Strings]
;----------------
; Non-Localizable
;----------------

; note: only register value is case sensitive, key is not.
ProxyVCap.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
SERVICE_KERNEL_DRIVER=1
; PnP should use demand start
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1

;----------------
; Localizable
;----------------
DiskName="AzureWave WDM Video Capture Install Disk"
CustomCameraProp="AzureWave WDM Video Capture Custom Interface Handler"
SPEFCameraProp="AzureWave WDM Video Capture SPEF Interface Handler"
PropPage_CustomCameraProp="AzureWave WDM Video Capture Image Property Page"
PropPage_SPEFCameraProp="AzureWave WDM Video Capture SPEF Property Page"
USBDCam.DeviceDesc="USB2.0 UVC 1.3M WebCam"
Certification="AzureWave UVC Camera CA"
