;cykbfltr.inf
;
; (c) Copyright 2009,2010 Cypress Semiconductor, Inc.
;
;---------------------------------------------------------------------

[Version]
Signature	     = "$Windows NT$"
Provider	     = %Provider%
ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
Class=Keyboard
CatalogFile.NTx86  = cykbfltr.cat
CatalogFile.NTAMD64 = cykbfltr.cat
DriverVer=05/16/2012,2.3.7.92
;DriverPackageDisplayName	= "Cypress Trackpad Hotkey Driver"

[DestinationDirs]
DefaultDestDir = 12
CopyFiles_ProgFiles  = 16422, %TARGET_DIR%         ;;Program files\Cypress\TrackPad 

;---------------------------------------------------------------------
; Manufacturer Sections
;---------------------------------------------------------------------
[Manufacturer]
%Mfg.Desc%		 = CompanyMfg, NTx86.6, NTamd64

[CompanyMfg.NTamd64]	; for Vista/Win7 64-bit 
;%CyTpFiltr.DeviceDesc%	= KbdHotFilter_Inst.NTamd64,*PNP0303
%CyTpFiltr.DeviceDesc%	= KbdHotFilter_Inst.NTamd64,*CYHOT01

[CompanyMfg.NTx86.6]	; for Vista/Win7 32-bit 
;%CyTpFiltr.DeviceDesc%	= KbdHotFilter_Inst.ntx86.6,*PNP0303
%CyTpFiltr.DeviceDesc%	= KbdHotFilter_Inst.ntx86.6,*CYHOT01

[CompanyMfg]		; for XP 32bit
;%CyTpFiltr.DeviceDesc%	= KbdHotFilter_Inst.nt,*PNP0303
%CyTpFiltr.DeviceDesc%	= KbdHotFilter_Inst.nt,*CYHOT01		

[ControlFlags]
ExcludeFromSelect=*PNP0303


;---------------------------------------------------------------------
; Install Sections for PS/2 mouse (for Vista/Win7 64bit)
;---------------------------------------------------------------------
[KbdHotFilter_Inst.NTamd64]
Include		 = keyboard.inf
Needs		 = STANDARD_Inst
CopyFiles	 = KbdHotFilter_CopyFiles, CopyFiles_ProgFiles
AddReg		 = KbdHotFilter_Inst.AddReg

[KbdHotFilter_Inst.NTamd64.Services]
AddService  = cykbfltrService,, filter_Service_Inst
Include		= keyboard.inf
Needs		= STANDARD_Inst.Services

[KbdHotFilter_Inst.NTamd64.HW]
AddReg		 = KbdHotFilter_Inst.HW.AddReg, KbdHotFilter_Inst.AddReg
Include		 = keyboard.inf
Needs		 = STANDARD_Inst.HW

;---------------------------------------------------------------------
; Install Sections for PS/2 mouse (for Vista/WIn7 32bit)
;---------------------------------------------------------------------
[KbdHotFilter_Inst.ntx86.6]
Include		 = keyboard.inf
Needs		 = STANDARD_Inst
CopyFiles	 = KbdHotFilter_CopyFiles, CopyFiles_ProgFiles
AddReg		 = KbdHotFilter_Inst.AddReg

[KbdHotFilter_Inst.ntx86.6.Services]
AddService  = cykbfltrService,, filter_Service_Inst
Include		= keyboard.inf
Needs		= STANDARD_Inst.Services

[KbdHotFilter_Inst.ntx86.6.HW]
AddReg		 = KbdHotFilter_Inst.HW.AddReg, KbdHotFilter_Inst.AddReg
Include		 = keyboard.inf
Needs		 = STANDARD_Inst.HW

;---------------------------------------------------------------------
; Install Sections for PS/2 mouse for XP 32bit
;---------------------------------------------------------------------
[KbdHotFilter_Inst.nt]
Include		  = keyboard.inf
Needs		    = STANDARD_Inst
CopyFiles	  = KbdHotFilter_CopyFiles, CopyFiles_ProgFiles
AddReg		  = KbdHotFilter_Inst.AddReg

[KbdHotFilter_Inst.nt.Services]
AddService	= cykbfltrService,, filter_Service_Inst
Include		  = keyboard.inf
Needs		    = STANDARD_Inst.Services

[KbdHotFilter_Inst.nt.HW]
AddReg		  = KbdHotFilter_Inst.HW.AddReg, KbdHotFilter_Inst.AddReg
Include		  = keyboard.inf
Needs		    = STANDARD_Inst.HW


;---------------------------------------------------------------------
; Files Copy Sections
;---------------------------------------------------------------------
[KbdHotFilter_CopyFiles]
cykbfltr.sys

[CopyFiles_ProgFiles]
CyDIFxKbfltr.exe

;---------------------------------------------------------------------
; AddReg Sections
;---------------------------------------------------------------------
[KbdHotFilter_Inst.HW.AddReg]                                        
HKR,,	"UpperFilters",	0x00010000,"cykbfltrService"


[KbdHotFilter_Inst.AddReg]
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"KeyboardTapGuardCancelMSecs",0x00010001,3000
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_AltKeyDown",0x00010001,56
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_AltKeyUp",0x00010001,184
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_CtrlKeyDown",0x00010001,29
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_CtrlKeyUp",0x00010001,157
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_ShiftKeyDown",0x00010001,54
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_ShiftKeyUp",0x00010001,182
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_LeftShiftKeyDown",0x00010001,42
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_LeftShiftKeyUp",0x00010001,170
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"DisableTrackpadWhenKeyboardActive",0x00010001,1
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"PostKeystrokeGuardIntervalMSecs",0x00010001,200
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_HotKeyEnableBreakEsc",0x00010001,224
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_HotKeyEnableBreak",0x00010001,243
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_HotKeyEnableMakeEsc",0x00010001,224
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_HotKeyEnableMake",0x00010001,115
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_HotKeyDisableBreakEsc",0x00010001,224
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_HotKeyDisableBreak",0x00010001,243
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_HotKeyDisableMakeEsc",0x00010001,224
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"SC_HotKeyDisableMake",0x00010001,115
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"ISCTBiosMakeEnterS0",0x00010001,114
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"ISCTBiosBreakEnterS0",0x00010001,242
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"ISCTBiosMakeExitS0",0x00010001,113
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"ISCTBiosBreakExitS0",0x00010001,241
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"OSD_BIT_BANG_ENABLE",0x00010001,1
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"OSD_BIT_BANG_ON_HOT_KEY_TOGGLE",0x00010001,0
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"OSD_INTEL_ISCT_BIT_BANG_ENABLE",0x00010001,0
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"F6_HOTKEY_SIM",0x00010001,0
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"InitializeOsdAtPowerWakeup",0x00010001,1
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical,"LenovoEnableDisableOncePer",0x00010001,1
HKLM,SOFTWARE\Cypress Keyboard Filter Driver\Physical\System,"HotKeyId",0x00010001,256




;---------------------------------------------------------------------
; Service information installation
;---------------------------------------------------------------------
[filter_Service_Inst]
DisplayName	   = %Filter.SvcDesc%
ServiceType	   = 1			; SERVICE_KERNEL_DRIVER
StartType	     = 3			; SERVICE_DEMAND_START
ErrorControl	 = 0			; SERVICE_ERROR_IGNORE
LoadOrderGroup = Keyboard Port
ServiceBinary	 = %12%\cykbfltr.sys

;---------------------------------------------------------------------
; Source file information
;---------------------------------------------------------------------
[SourceDisksNames]
1 = %DiskID%,cykbfltr.sys,,

[SourceDisksFiles]
cykbfltr.sys = 1
CyDIFxKbfltr.exe = 1

;---------------------------------------------------------------------
; Localizable strings 
;---------------------------------------------------------------------
[Strings]
Provider             = "Cypress Semiconductor, Inc"                          ; Provider
Filter.SvcDesc	= "Cypress Keyboard Filter Driver"
Mfg.Desc		      = "Cypress Semiconductor, Inc"                 ; Manufacturer
CyTpFiltr.DeviceDesc = "Integrated PS/2 Keyboard"       ; Device Name
DiskID			   = "Cypress Trackpad Filter Driver Setup Disk"
ProductVersion		   = "Version 1.00"

TARGET_DIR          = "Cypress\TrackPad"

CYTP_PATH		    = "Cypress Keyboard Driver"
STARTUP_DIR         = "Documents and Settings\All Users\Start Menu\Programs\Startup"
SetDriver 		    = "Software\Cypress Keyboard Driver"
SetButton		    = "Software\Cypress Keyboard Driver\Buttons"
SetDevice 		  		 = "Software\Cypress Hotkey Keyboard  Driver\Device Select"
SetScroll 		  		 = "Software\Cypress Hotkey Keyboard  Driver\Scroll Settings"
SetTouch		    		 = "Software\Cypress Hotkey Keyboard  Driver\Trackpad Settings"

CYTPCPL_CLASS				 = "CyHotKeyCplExt Class"
CYTPCPL_PAGE				 = "TrackpadPage.CyHotKeyCplExt"
CYTPCPL_PAGE1        = "TrackpadPage.CyHotKeyCplExt.1"
CYTP_CPLEXT          = "Cypress Trackpad Extension"
RUN	= "Software\Microsoft\Windows\CurrentVersion\Run"
UNINST	= "Software\Microsoft\Windows\CurrentVersion\Uninstall\{5692D66E-807D-44D2-92C7-0A25FF7CFA33}"

SHELL_PROPSHEET			 = "Software\Microsoft\Windows\CurrentVersion\Controls Folder\Mouse\shellex\PropertySheetHandlers"
SHELL_APPROVED			 = "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
CYTP_GUID			= "{949B62AE-6621-4D00-B168-2B79E41E9A5D}"
CYTPCPL_GUID			= "{30215E9C-C01A-4B3A-92DF-5E2280AB2879}"

