;
;   Installation inf file for Mantis BDA HID driver
;

[Version]
Signature="$CHICAGO$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%DTV-DVB%
DriverVer=01/30/2008,1.0.1.5
CatalogFile 	= MtsHID.cat
CatalogFile.NTAMD64 = AMD64\MtsHID.cat
CatalogFile.NTIA64  = IA64\MtsHID.cat

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

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

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

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

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

[SourceDisksNames]
1 = %INSTALLATION_DISK%,,

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

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

[SourceDisksFiles]
MtsHID.sys = 1

[ControlFlags]
ExcludeFromSelect	= *
ExcludeFromSelect.NT	= *

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

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

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

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

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


;0:Twinhan Hotkey table only, 1:All RC table
HKR,"DriverData","RC_Report",0x00010001, 0x00,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  (0x11)
;   kk: shift virtual key value (0x10)
;   ll: alt virtual key value   (0x12)
; Note: 1) Refer to MSDN for virtual key values (keyword: "VK_")
;       2) Maximum three key combination supported now
;
HKR,"DriverData","RC_Scancode_0D",0x00010001, 0x4D,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_58",0x00010001, 0x56,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_43",0x00010001, 0x53,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_0C",0x00010001, 0x1B,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_01",0x00010001, 0x31,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_02",0x00010001, 0x32,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_03",0x00010001, 0x33,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_13",0x00010001, 0x78,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_04",0x00010001, 0x34,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_05",0x00010001, 0x35,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_06",0x00010001, 0x36,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_0A",0x00010001, 0x52,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_07",0x00010001, 0x37,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_08",0x00010001, 0x38,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_09",0x00010001, 0x39,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_00",0x00010001, 0x30,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_1F",0x00010001, 0x49,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_40",0x00010001, 0x26,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_12",0x00010001, 0x71,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_11",0x00010001, 0x25,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_17",0x00010001, 0x0D,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_10",0x00010001, 0x27,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4F",0x00010001, 0x45,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_41",0x00010001, 0x28,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_42",0x00010001, 0x46,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4B",0x00010001, 0x74,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4C",0x00010001, 0x75,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4D",0x00010001, 0x76,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_4E",0x00010001, 0x77,0x00, 0x00, 0x00
;HKR,"DriverData","RC_Scancode_56",0x00010001, 0x45,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_5C",0x00010001, 0x54,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_49",0x00010001, 0x50,0x00, 0x00, 0x00
HKR,"DriverData","RC_Scancode_0F",0x00010001, 0x49,0x00, 0x00, 0x00



[MtsHID.CopyDrivers]
MtsHID.sys

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

MtsHID.DeviceDesc		= "DTV-DVB Mantis BDA HID Device"
MtsHID.FriendlyName	    	= "DTV-DVB Mantis BDA HID Driver"
INSTALLATION_DISK		= "DTV-DVB Mantis BDA HID Installation Disk"