;
;   Installation inf file for DVB-T USB adapter HID driver
;

[Version]
Signature="$CHICAGO$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%DTV-DVB%
DriverVer=08/21/2006,1.0.1.3
CatalogFile 	= UDTT2HID.cat
CatalogFile.NTAMD64 = AMD64\UDTT2HID.cat
CatalogFile.NTIA64  = IA64\UDTT2HID.cat

[Manufacturer]
%MfgName% = DTV-DVB, NTAMD64, NTIA64

[DTV-DVB]
%UDTT2HID.DeviceDesc%=UDTT2HID.Device,AVSTREAM\UDTT2HID.VIRTUAL

[DTV-DVB.NTAMD64]
%UDTT2HID.DeviceDesc%=UDTT2HID.Device,AVSTREAM\UDTT2HID.VIRTUAL

[DTV-DVB.NTIA64]
%UDTT2HID.DeviceDesc%=UDTT2HID.Device,AVSTREAM\UDTT2HID.VIRTUAL

[DestinationDirs]
UDTT2HID.CopyDrivers = 10,System32\Drivers 

[SourceDisksNames]
1 = %INSTALLATION_DISK%,,

[SourceDisksNames.AMD64]
1 = %INSTALLATION_DISK%, UDTT2HID.inf, , \AMD64

[SourceDisksNames.IA64]
1 = %INSTALLATION_DISK%, UDTT2HID.inf, , \IA64

[SourceDisksFiles]
UDTT2HID.sys = 1

[ControlFlags]
ExcludeFromSelect	= *
ExcludeFromSelect.NT	= *

[UDTT2HID.Device]
CopyFiles = UDTT2HID.CopyDrivers
AddReg    = UDTT2HID.AddReg

[UDTT2HID.Device.NT]
CopyFiles = UDTT2HID.CopyDrivers
AddReg    = UDTT2HID.AddReg

[UDTT2HID.Device.NT.Services]
AddService = UDTT2HID,0x00000002,UDTT2HID.AddService

[UDTT2HID.AddService]
DisplayName     = %UDTT2HID.FriendlyName%
ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
StartType       = 3                  ; SERVICE_DEMAND_START
ErrorControl    = 0                  ; SERVICE_ERROR_IGNORE
ServiceBinary   = %10%\system32\drivers\UDTT2HID.sys
LoadOrderGroup  = Extended Base

[UDTT2HID.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,UDTT2HID.sys


;0:Twinhan Hotkey table only, 1:All RC table
HKR,"DriverData","RC_Report",0x00010001, 0x01,0x00, 0x00, 0x00

;Configurable RC Hot keys 
; Scan code mappings.
; Format: SCANCODE_nn = 0xii, 0xjj, 0xkk, 0xll
;   nn: hex value of scan code (Please reference DTV-DVB RC table)
;   ii: first virtual key value
;   jj: ctrl virtual key value
;   kk: shift virtual key value
;   ll: alt virtual key value
; Note: 1) Refer to MSDN for virtual key values (keyword: "VK_")
;       2) Maximum three key combination supported now
;
HKR,"DriverData","RC_Scancode_16",0x00010001, 0x50,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_5B",0x00010001, 0x58,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_55",0x00010001, 0x48,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_5A",0x00010001, 0x4B,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_59",0x00010001, 0x52,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_03",0x00010001, 0x31,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_01",0x00010001, 0x32,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_06",0x00010001, 0x33,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_09",0x00010001, 0x34,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_1D",0x00010001, 0x35,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_1F",0x00010001, 0x36,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_0D",0x00010001, 0x37,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_19",0x00010001, 0x38,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_1B",0x00010001, 0x39,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_0C",0x00010001, 0x73,0x00, 0x00, 0x12
HKR,"DriverData","RC_Scancode_15",0x00010001, 0x30,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4A",0x00010001, 0x2E,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_13",0x00010001, 0x08,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_00",0x00010001, 0x09,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4B",0x00010001, 0x26,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4E",0x00010001, 0x25,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4F",0x00010001, 0x0D,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_52",0x00010001, 0x27,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_51",0x00010001, 0x28,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_1E",0x00010001, 0x55,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_0A",0x00010001, 0x58,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_02",0x00010001, 0x44,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_05",0x00010001, 0x55,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_11",0x00010001, 0x52,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_14",0x00010001, 0x50,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4C",0x00010001, 0x45,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_1A",0x00010001, 0x53,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_40",0x00010001, 0x44,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_12",0x00010001, 0x46,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_41",0x00010001, 0x42,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_42",0x00010001, 0x57,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_54",0x00010001, 0x76,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_50",0x00010001, 0x77,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_47",0x00010001, 0x75,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4D",0x00010001, 0x45,0x11, 0x00, 0x12
;HKR,"DriverData","RC_Scancode_43",0x00010001, 0x28,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_10",0x00010001, 0x59,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_49",0x00010001, 0x48,0x11, 0x00, 0x00
;HKR,"DriverData","RC_Scancode_07",0x00010001, 0x28,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_08",0x00010001, 0x73,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_0E",0x00010001, 0x57,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_45",0x00010001, 0x5A,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_46",0x00010001, 0x5A,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_56",0x00010001, 0x44,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_57",0x00010001, 0x4A,0x11, 0x00, 0x00
HKR,"DriverData","RC_Scancode_5C",0x00010001, 0x4F,0x11, 0x00, 0x12
HKR,"DriverData","RC_Scancode_5D",0x00010001, 0x46,0x11, 0x00, 0x00



[UDTT2HID.CopyDrivers]
UDTT2HID.sys

[Strings]
DTV-DVB				= "DTV-DVB"
MfgName				= "DTV-DVB"

UDTT2HID.DeviceDesc		= "DNTV Live! Tiny USB 2.0 HID RC Device"
UDTT2HID.FriendlyName		= "DNTV Live! Tiny USB 2.0 HID RC Driver"
INSTALLATION_DISK		= "DNTV Live! Tiny USB 2.0 HID RC Installation Disk"