[Version]
Signature="$CHICAGO$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%TBS%
DriverVer=07/27/2010,1.0.3.0
CatalogFile=tbs6981vhid.cat

[ControlFlags]
ExcludeFromSelect=*
ExcludeFromSelect.NT=*

[DriverInfo.DelReg]
HKR,"DriverData"

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

[Manufacturer]
%MfgName% = TBS, NTAMD64

[TBS]
%tbs6981vhid.DeviceDesc%  = tbs6981vhid.Device,AVSTREAM\TBS6981VHID.VIRTUALHID

[TBS.NTAMD64]
%tbs6981vhid.DeviceDesc%  = tbs6981vhid.Device,AVSTREAM\TBS6981VHID.VIRTUALHID


[SourceDisksNames]
1="TBS DVB-S/S2 6981 SETUP DRIVER",,,""

[SourceDisksFiles]
tbs6981vhid.sys=1

[tbs6981vhid.Device.NT]
CopyFiles = tbs6981vhid.CopyDrivers
AddReg    = tbs6981vhid.AddReg
DelReg    = DriverInfo.DelReg

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

[tbs6981vhid.AddService]
DisplayName     = %tbs6981vhid.FriendlyName%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %10%\system32\drivers\tbs6981vhid.sys
LoadOrderGroup  = Extended Base

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

;1:internal table, 0:external table
HKR,"DriverData","IR_Configuration",0x00010001, 0x00,0x00, 0x00, 0x00

;when "IR_Configuration" = 1, "IR table": the internal table index. 
;0: CyberLink,    1:Sinovideo ...
;when "IR_Configuration" = 0, "IR table": no use 
HKR,"DriverData","IR_Table",0x00010001, 0x01,0x00, 0x00, 0x00

;IR key list(max 0x7f)
;IR_Scancode_*: 	hardware ir scan code
;IR_Virtualcode_*:	application shortcut key
;			0x00x x x x xx
;			    |->ctrl key pressed flag
;	 		      |->shift key pressed flag
;			        |->Alt key pressed flag
;			          |->keyboard(1 for keyboard, 2 for system key)
;				    |->Virtualcode(refer to the USB HID usage table)

HKR,"DriverData","IR_Scancode_0",	0x00010001, 0x84
;"start" win + alt + enter
HKR,"DriverData","IR_Virtualcode_0",	0x00010001, 0x1001158,	0x00

HKR,"DriverData","IR_Scancode_1",	0x00010001, 0x80
;"Recall"
HKR,"DriverData","IR_Virtualcode_1",	0x00010001, 0x12a,	0x00

HKR,"DriverData","IR_Scancode_2",	0x00010001, 0x95
;"Fav"
HKR,"DriverData","IR_Virtualcode_2",	0x00010001, 0x10110F,	0x00

HKR,"DriverData","IR_Scancode_3",	0x00010001, 0x94
;"Mute":KEYBOARD_M, CTRL_DOWN
HKR,"DriverData","IR_Virtualcode_3",	0x00010001, 0x000141,	0x00

HKR,"DriverData","IR_Scancode_4",	0x00010001, 0x97
;KEYBOARD_SUB
HKR,"DriverData","IR_Virtualcode_4",	0x00010001, 0x00012d,	0x00

HKR,"DriverData","IR_Scancode_5",	0x00010001, 0x98
;"Pause"
HKR,"DriverData","IR_Virtualcode_5",	0x00010001, 0x100113,	0x00

HKR,"DriverData","IR_Scancode_6",	0x00010001, 0x87
;KEYBOARD_1
HKR,"DriverData","IR_Virtualcode_6",	0x00010001, 0x00011E,	0x00

HKR,"DriverData","IR_Scancode_7",	0x00010001, 0x86
;KEYBOARD_2
HKR,"DriverData","IR_Virtualcode_7",	0x00010001, 0x00011F,	0x00

HKR,"DriverData","IR_Scancode_8",	0x00010001, 0x85
;KEYBOARD_3
HKR,"DriverData","IR_Virtualcode_8",	0x00010001, 0x000120,	0x00

HKR,"DriverData","IR_Scancode_9",	0x00010001, 0x8b
;KEYBOARD_4
HKR,"DriverData","IR_Virtualcode_9",	0x00010001, 0x000121,	0x00

HKR,"DriverData","IR_Scancode_10",	0x00010001, 0x8a
;KEYBOARD_5
HKR,"DriverData","IR_Virtualcode_10",	0x00010001, 0x000122,	0x00

HKR,"DriverData","IR_Scancode_11",	0x00010001, 0x89
;KEYBOARD_6
HKR,"DriverData","IR_Virtualcode_11",	0x00010001, 0x000123,	0x00

HKR,"DriverData","IR_Scancode_12",	0x00010001, 0x8f
;KEYBOARD_7
HKR,"DriverData","IR_Virtualcode_12",	0x00010001, 0x000124,	0x00

HKR,"DriverData","IR_Scancode_13",	0x00010001, 0x8e
;KEYBOARD_8
HKR,"DriverData","IR_Virtualcode_13",	0x00010001, 0x000125,	0x00

HKR,"DriverData","IR_Scancode_14",	0x00010001, 0x8d
;KEYBOARD_9
HKR,"DriverData","IR_Virtualcode_14",	0x00010001, 0x000126,	0x00

HKR,"DriverData","IR_Scancode_15",	0x00010001, 0x9a
;KEYBOARD_S,  CTRL_DOWN, ALT_DOWN
HKR,"DriverData","IR_Virtualcode_15",	0x00010001, 0x101116,	0x00

HKR,"DriverData","IR_Scancode_16",	0x00010001, 0x92
;KEYBOARD_0
HKR,"DriverData","IR_Virtualcode_16",	0x00010001, 0x000127,	0x00

HKR,"DriverData","IR_Scancode_17",	0x00010001, 0x9e
;"Menu":KEYBOARD_D, CTRL_DOWN
HKR,"DriverData","IR_Virtualcode_17",	0x00010001, 0x100107,	0x00

HKR,"DriverData","IR_Scancode_18",	0x00010001, 0x90
;"Left"
HKR,"DriverData","IR_Virtualcode_18",	0x00010001, 0x150,	0x00

HKR,"DriverData","IR_Scancode_19",	0x00010001, 0x81
;"Up"
HKR,"DriverData","IR_Virtualcode_19",	0x00010001, 0x152,	0x00

HKR,"DriverData","IR_Scancode_20",	0x00010001, 0x88
;"Down"
HKR,"DriverData","IR_Virtualcode_20",	0x00010001, 0x151,	0x00

HKR,"DriverData","IR_Scancode_21",	0x00010001, 0x82
;"Right"
HKR,"DriverData","IR_Virtualcode_21",	0x00010001, 0x14f,	0x00

HKR,"DriverData","IR_Scancode_22",	0x00010001, 0x91
;"CH+"
HKR,"DriverData","IR_Virtualcode_22",	0x00010001, 0x14e,	0x00

HKR,"DriverData","IR_Scancode_23",	0x00010001, 0x96
;"CH-"
HKR,"DriverData","IR_Virtualcode_23",	0x00010001, 0x14b,	0x00

HKR,"DriverData","IR_Scancode_24",	0x00010001, 0x93
;"VOL+"
HKR,"DriverData","IR_Virtualcode_24",	0x00010001, 0x143,	0x00

HKR,"DriverData","IR_Scancode_25",	0x00010001, 0x8c
;"VOL-"
HKR,"DriverData","IR_Virtualcode_25",	0x00010001, 0x142,	0x00

HKR,"DriverData","IR_Scancode_26",	0x00010001, 0x99
;"OK"
HKR,"DriverData","IR_Virtualcode_26",	0x00010001, 0x158,	0x00

HKR,"DriverData","IR_Scancode_27",	0x00010001, 0x9d
;"Zoom"
HKR,"DriverData","IR_Virtualcode_27",	0x00010001, 0x1158,	0x00

HKR,"DriverData","IR_Scancode_28",	0x00010001, 0x9f
;"Exit"
HKR,"DriverData","IR_Virtualcode_28",	0x00010001, 0x113d,	0x00

HKR,"DriverData","IR_Scancode_29",	0x00010001, 0x83
;"Record" ctrl +R
HKR,"DriverData","IR_Virtualcode_29",	0x00010001, 0x100115,	0x00


[tbs6981vhid.CopyDrivers]
tbs6981vhid.sys

[Strings]
TBS    = "TBS"
MfgName = "TBS"

tbs6981vhid.DeviceDesc	 = "TBS 6981 VHID Device"
tbs6981vhid.DeviceDesc1	 = "TBS 6981 VHID Device"
tbs6981vhid.FriendlyName = "TBS 6981 VHID Driver"
