;////////////////////////////////////////////////////////////////////////////////
;//
;//                           (C) Pinnacle Systems GmbH 2006
;//      All rights are reserved.  Reproduction in whole or in part is prohibited
;//      without the written consent of the copyright owner.
;//
;//      Pinnacle Systems, Inc. reserves the right to make changes without notice at any time.
;//      Pinnacle Systems, Inc. makes no warranty, expressed, implied or statutory, including
;//      but not limited to any implied warranty of merchantibility of fitness
;//      for any particular purpose, or that the use will not infringe any
;//      third party patent, copyright or trademark.
;//      Pinnacle Systems, Inc. must not be liable for any loss or damage arising from its use.
;//
;////////////////////////////////////////////////////////////////////////////////

;----------------------------------------------------------------------------------------------------
;
; PCTVEMPV.inf   -- This file contains installation information for
;                   Infrared receiver for PCTV 2000e, PCTV 2001e, PCTV 280e
;
; Copyright (c) 2007 Pinnacle Systems
;----------------------------------------------------------------------------------------------------

[Version]
Signature   = "$CHICAGO$"
Class       = HIDClass
ClassGuid   = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider   = %Vendor%
DriverVer  = 08/21/2006,2.0.1.0
CatalogFile = PCTVDiBIR.cat
DriverPackageType=PlugAndPlay
DriverPackageDisplayName="PCTV 2000e/2001e/280e Infrared receiver"

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
2 = %INSTALLATION_DISK%,,,,,

[SourceDisksFiles]
modrc.sys    = 2,,
ModrcCoInstall.dll = 2,,

[DestinationDirs]
MODRC_CopyFilesSys = 12,
MODRC_CopyFilesCoInst = 11,

[Manufacturer]
%Vendor% = Pinnacle

[Pinnacle]
%MODRC_DeviceDesc% = MODRC, HID\VID_2304&PID_022C&FN_01                 ; PCTV 2000e
%MODRC_DeviceDesc% = MODRC, HID\VID_2304&PID_0229&FN_01         				; PCTV 2001e
%MODRC_DeviceDesc% = MODRC, HID\VID_2304&PID_0228&FN_01				          ; PCTV 280e


;---------------------  MOD RC  --------------------
[MODRC.NT]
CopyFiles = MODRC_CopyFilesSys
AddReg    = MODRC_AddReg

;------------ H W ------------
[MODRC.NT.HW]
AddReg = MODRC_HW_AddReg

;------ S E R V I C E S ------
[MODRC.NT.Services]
AddService = MODRC,0x00000002,MODRC_ServiceInstall,,,

[MODRC_ServiceInstall]
DisplayName   = %MODRC_FriendlyName%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\modrc.sys

;---------------------  M I S C  ----------------------
[MODRC.NT.CoInstallers]
CopyFiles = MODRC_CopyFilesCoInst
AddReg = MODRC_CoInstaller_AddReg

[MODRC_CopyFilesCoInst]
ModrcCoInstall.dll

[MODRC_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"ModrcCoInstall.dll,"

[MODRC_CopyFilesSys]
modrc.sys

[MODRC_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,modrc.sys

[MODRC_HW_AddReg]
HKR,,"ReportDescriptor",0x00000001,\
    \ ; Consumer Controls
        0x05,   0x0c,       \ ; Usage Page (Consumer Controls),
        0x09,   0x01,       \ ; Usage (Consumer Control),
        0xA1,   0x01,       \ ; Collection (Application),
        0x85,   0x01,       \ ;  Report Id (1)
        0x19,   0x00,       \ ;  Usage Minimum (0),
        0x2a,   0x3c, 0x02, \ ;  Usage Maximum (23c)  
        0x15,   0x00,       \ ;  Logical Minimum (0),
        0x26,   0x3c, 0x02, \ ;  Logical Maximum (23c)  
        0x95,   0x01,       \ ;  Report Count (1),
        0x75,   0x10,       \ ;  Report Size (16),
        0x81,   0x00,       \ ;  Input (Data, Array), 
        0xC0,               \ ; End Collection 
    \ ; MS Vendor controls
        0x06,   0xbc, 0xff, \ ; Usage Page (Vendor 0xffbc),
        0x09,   0x88,       \ ; Usage (88),
        0xa1,   0x01,       \ ; Collection (Application),
        0x85,   0x02,       \ ;  Report Id (2)
        0x19,   0x01,       \ ;  Usage Minimum (0x01),
        0x29,   0xff,       \ ;  Usage Maximum (0xff),
        0x15,   0x00,       \ ;  Logical Minimum (0),
        0x25,   0x01,       \ ;  Logical Maximum(1),
        0x95,   0x01,       \ ;  Report Count (1),
        0x75,   0x08,       \ ;  Report Size (8),
        0x81,   0x00,       \ ;  Input (Data, Array), 
        0xc0,               \ ; End Collection
    \ ; Standby button
        0x05,   0x01,       \ ; Usage Page (Generic Desktop),
        0x09,   0x80,       \ ; Usage (System Control),
        0xa1,   0x01,       \ ; Collection (Application),
        0x85,   0x03,       \ ;  Report Id (3)
        0x19,   0x81,       \ ;  Usage Minimum (0x81),
        0x29,   0x83,       \ ;  Usage Maximum (0x83),
        0x25,   0x01,       \ ;  Logical Maximum(1),
        0x75,   0x01,       \ ;  Report Size (1),
        0x95,   0x03,       \ ;  Report Count (3),
        0x81,   0x02,       \ ;  Input
        0x75,   0x01,       \ ;  Report Size (1),   
        0x95,   0x05,       \ ;  Report Count (5),
        0x81,   0x01,       \ ;  Input (Constant),
        0xC0,               \ ; End Collection
    \ ; Keyboard
        0x05,   0x01,       \ ; Usage Page (Generic Desktop),
        0x09,   0x06,       \ ; Usage (Keyboard),
        0xA1,   0x01,       \ ; Collection (Application),
        0x85,   0x04,       \ ;  Report Id (4)
        0x05,   0x07,       \ ;  usage page key codes
        0x19,   0xe0,       \ ;  usage min left control
        0x29,   0xe8,       \ ;  usage max keyboard right gui
        0x75,   0x01,       \ ;  report size 1
        0x95,   0x08,       \ ;  report count 8
        0x81,   0x02,       \ ;  input (Variable)
        0x19,   0x00,       \ ;  usage min 0
        0x29,   0x90,       \ ;  usage max 91
        0x26,   0xff, 0x00, \ ;  logical max 0xff
        0x75,   0x08,       \ ;  report size 8
        0x95,   0x01,       \ ;  report count 1
        0x81,   0x00,       \ ;  Input (Data, Array),
        0xC0                \ ; End Collection

HKR,,"ReportDataSize",0x00010001,0x00000003

HKR,,"ReportMappingTable",0x00000001,\
     0x01,0x00,0x07,0x00, 0xf7, 0x04,0x00,0x10,  \ ; Mute
     0x01,0x00,0x07,0x01, 0xf7, 0x04,0x00,0x29,  \ ; home
     0x01,0x00,0x07,0x39, 0xf7, 0x04,0x04,0x3d,  \ ; Power
    \
     0x01,0x00,0x07,0x03, 0xfb, 0x04,0x01,0x4b,  \ ; Volume up
     0x01,0x00,0x07,0x09, 0xfb, 0x04,0x01,0x4e,  \ ; Volume down
     0x01,0x00,0x07,0x06, 0xfb, 0x04,0x00,0x4b,  \ ; Channel up
     0x01,0x00,0x07,0x0c, 0xfb, 0x04,0x00,0x4e,  \ ; Channel down
    \
     0x01,0x00,0x07,0x0f, 0xf7, 0x04,0x00,0x1e,  \ ; 1
     0x01,0x00,0x07,0x15, 0xf7, 0x04,0x00,0x1f,  \ ; 2
     0x01,0x00,0x07,0x10, 0xf7, 0x04,0x00,0x20,  \ ; 3
     0x01,0x00,0x07,0x18, 0xf7, 0x04,0x00,0x21,  \ ; 4
     0x01,0x00,0x07,0x1b, 0xf7, 0x04,0x00,0x22,  \ ; 5
     0x01,0x00,0x07,0x1e, 0xf7, 0x04,0x00,0x23,  \ ; 6
     0x01,0x00,0x07,0x11, 0xf7, 0x04,0x00,0x24,  \ ; 7
     0x01,0x00,0x07,0x21, 0xf7, 0x04,0x00,0x25,  \ ; 8
     0x01,0x00,0x07,0x12, 0xf7, 0x04,0x00,0x26,  \ ; 9
     0x01,0x00,0x07,0x24, 0xf7, 0x04,0x04,0x09,  \ ; full screen
     0x01,0x00,0x07,0x27, 0xf7, 0x04,0x00,0x27,  \ ; 0
     0x01,0x00,0x07,0x2a, 0xf7, 0x04,0x04,0x10,  \ ; T
    \ 
     0x01,0x00,0x07,0x2d, 0xf7, 0x04,0x00,0x15,  \ ; fr
     0x01,0x00,0x07,0x30, 0xf7, 0x04,0x00,0x13,  \ ; pause/play
     0x01,0x00,0x07,0x33, 0xf7, 0x04,0x00,0x09,  \ ; ff
     0x01,0x00,0x07,0x36, 0xf7, 0x04,0x00,0x06,  \ ; rec
     0x01,0x00,0x07,0x3c, 0xf7, 0x04,0x00,0x16,  \ ; stop
     0x01,0x00,0x07,0x3f, 0xf7, 0x04,0x00,0x0C  \ ; ?

HKR,,"KeyEmulationMask",0x00000001,\
     0xFF,0x00,0x00                                ; No Event

HKR,,"SkipRepeatCounter",0x00010001,0x00000002

;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VEN_1932&DEV_1E32&SUBSYS_00001932&REV_01&FN_01" ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VEN_1932&DEV_1E34&SUBSYS_00001932&REV_01&FN_01" ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VEN_1932&DEV_1E3C&SUBSYS_00001932&REV_01&FN_01" ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1E14&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1E16&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1E78&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1E7A&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1E8C&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1E96&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1E98&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1EBC&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1EBE&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1EF0&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, HID\VID_10B8&PID_1EFC&FN_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_0BC7&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_0067&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_0E89&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_0ED9&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_0EED&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E15&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E79&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_0066&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E14&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E16&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E78&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E7A&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E8C&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E90&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E96&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1E98&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1EBC&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1EBE&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1EF0&MI_01"                        ; For Media Center compatibility only
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Remote Controls","",0x00000000,"%MODRC_DeviceDesc% = MODRC, USB\VID_10B8&PID_1EFC&MI_01"                        ; For Media Center compatibility only


;--------------------- S T R I N G S -----------------------

[Strings]
;---------------
;Non-Localizable
;---------------
SERVICE_KERNEL_DRIVER = 0x1
SERVICE_DEMAND_START  = 0x3
SERVICE_ERROR_NORMAL  = 0x1

;---------------
;Localizable
;---------------
Vendor             = "Pinnacle Systems"
MODRC_DeviceDesc   = "Infrared Receiver"
MODRC_FriendlyName = "DiBcom Infrared Receiver"
INSTALLATION_DISK  = "PCTV Installation Disk"
