;---------------------------------------------
;
; FN.INF -- Lenovo Fn and function keys
;
; Copyright (c) Lenovo.  All rights reserved.
;

[Version]
Signature="$Windows NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%PUBLISHER%
CatalogFile=Fn.cat
DriverVer=02/18/2020,10.1.1.5

[SourceDisksNames]
1=%PRODNAME%,,
2=%PRODNAME%,,,\driver
3=%PRODNAME%,,,\apps

[SourceDisksFiles]
setup.exe=1
setapps.exe=3
rsetup.dll=2
{4F4F8AF1-F025-42E9-848A-537A5AD1BDC2}.msi=3
{10FFBC57-CA53-4D1E-9E49-60AD847F0299}.msi=3
{8B71A54F-FCB6-445E-A925-FA9A2E03B564}.msi=3
{6028DA76-F9C3-4305-BD92-F3A27A873045}.msi=3
{665D6AE4-7439-49A1-840E-671E88B67B13}.msi=3
{4A83E9B2-D3E6-426A-ABB5-E943830D9594}.msi=3
tphkload.exe=2
rainbow.dll=2
rainbow32.dll=2
tposd.dll=2
tposd.exe=2
tposd.ini=2
spkvol.dll=2
numlock.dll=2
tpnumlkd.exe=2
tpnumlkd.dll=2
tpnumlkd.ini=2
shtctky.dll=2
shtctky.exe=2
hlp8.dll=2
hlp8.exe=2
Phone.dll=2
Lenovo.LyncCommunicateLib.dll=2
Microsoft.Lync.Model.dll=2
Microsoft.Office.Uc.dll=2
fnf3.exe=2
fnf6.exe=2
CertificateValidation32.dll=2
CertificateValidation.dll=2
smm10.dll=2
mmstate.dll=2
errmsg.exe=2
ACButton.exe=2

[Manufacturer]
%PUBLISHER%=Standard,	NTamd64.10

[Standard.NTamd64.10]
%PRODNAME%=Install, ACPI\VEN_LEN&DEV_0130

[DestinationDirs]
DefaultDestDir=13,driver
FnApps.files=13,apps
Setup.files=13

[Install]
CopyFiles=Setup.files,FnApps.files,Service.files,SHTCTKY.files,OSD.files

[Install.Services]
AddService = ,2
AddService = TPHKLOAD,0x00000800,TPHKLOAD_Service_Inst

[TPHKLOAD_Service_Inst]
DisplayName	= "Lenovo Hotkey Client Loader"
ServiceType	= 0x10
StartType	= 2
ErrorControl	= 0
ServiceBinary	= "%13%\driver\TPHKLOAD.exe"
Dependencies	= Winmgmt,Audiosrv
AddReg		= SETUP.Reg,HIDHOTKEY.Reg,SHTCTKY.Reg,OSD.Reg,LAUNCHTVT.Reg,NUMLOCK.Reg,UZOOM.APP.Reg

[SETUP.Reg]
HKR,Finalize
HKR,Finalize,,,				"%13%\setup.exe"
HKR,Finalize,SilentOption,0x00010001,	1
HKR,Finalize,RebootOption,0x00010001,	0
HKR,Finalize,Apps,,			"%13%\apps\setapps.exe"
HKR,Finalize,AppsComponents,0x00010000,	"{4F4F8AF1-F025-42E9-848A-537A5AD1BDC2}","{10FFBC57-CA53-4D1E-9E49-60AD847F0299}","{8B71A54F-FCB6-445E-A925-FA9A2E03B564}","{6028DA76-F9C3-4305-BD92-F3A27A873045}","{665D6AE4-7439-49A1-840E-671E88B67B13}","{4A83E9B2-D3E6-426A-ABB5-E943830D9594}"
HKR,Finalize,AppsVersion,,		"%APPSVERSION%"

[LAUNCHTVT.Reg]
; Retro F2
HKR,ShortcutKey\AppLaunch\2,,0x00002000
HKR,ShortcutKey\AppLaunch\2,AppType,0x00010001,			0x00010001
HKR,ShortcutKey\AppLaunch\2\Desktop,File,0x00020000,		"%%SystemRoot%%\system32\rundll32.exe"
HKR,ShortcutKey\AppLaunch\2\Desktop,Parameters,0x00020000,	"%%SystemRoot%%\system32\user32.dll,LockWorkStation"
; Retro F3
HKR,ShortcutKey\AppLaunch\3,,0x00002000
HKR,ShortcutKey\AppLaunch\3,AppType,0x00010001,			0x00000002
HKR,ShortcutKey\AppLaunch\3\Metro,URI,0x00010000,		"lenovo-metro-settings:?section=PowerSection", "lenovo-metro-settings:?section=PowerSection", "lenovo-companion:PARAM?featureId=5FBDCA5F-02CA-4159-8F1C-725703E31473"
HKR,ShortcutKey\AppLaunch\3\Metro,PackageName,0x00010000,	"E046963F.LenovoSettingsforEnterprise", "LenovoCorporation.LenovoSettings", "E046963F.LenovoCompanion"
; Retro F6
HKR,ShortcutKey\AppLaunch\6,,0x00002000
HKR,ShortcutKey\AppLaunch\6,AppType,0x00010001,			0x00000002
HKR,ShortcutKey\AppLaunch\6\Metro,URI,0x00010000,		"lenovo-metro-settings:?section=Multimedia", "lenovo-metro-settings:?section=AudioSection", "lenovo-companion:PARAM?featureId=4EFE8C3D-DB66-4F91-87FC-31E9AA1CBADF"
HKR,ShortcutKey\AppLaunch\6\Metro,PackageName,0x00010000,	"E046963F.LenovoSettingsforEnterprise", "LenovoCorporation.LenovoSettings", "E046963F.LenovoCompanion"
; Retro F8
HKR,ShortcutKey\AppLaunch\8,,0x00002000
HKR,ShortcutKey\AppLaunch\8,AppType,0x00010001,			0x00000001
HKR,ShortcutKey\AppLaunch\8\Desktop,File,0x00020000,		"%%SystemRoot%%\system32\control.exe"
HKR,ShortcutKey\AppLaunch\8\Desktop,Parameters,,		"/name Microsoft.Mouse /page 5"
; Retro Space
HKR,ShortcutKey\AppLaunch\Ex_13,,0x00002000
HKR,ShortcutKey\AppLaunch\Ex_13,AppType,0x00010001,		0x00000003
HKR,ShortcutKey\AppLaunch\Ex_13\UIAccess,File,0x00020000,	"%%SystemRoot%%\system32\magnify.exe"
HKR,ShortcutKey\AppLaunch\Ex_13\UIAccess,Parameters,,		""

[UZOOM.APP.Reg]
HKR,UltraZoom,,0x00002000
HKR,UltraZoom,,,"Exit"
HKR,UltraZoom\DisApp,,0x00002000

[HIDHOTKEY.Reg]
;;
;; Coltrane Bluetooth option keyboard
;;
HKR,HIDHotkey\{00001124-0000-1000-8000-00805f9b34fb}_VID&000217ef_PID&603f&Col07
HKR,HIDHotkey\{00001124-0000-1000-8000-00805f9b34fb}_VID&000217ef_PID&603f&Col07,	Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\{00001124-0000-1000-8000-00805f9b34fb}_VID&000217ef_PID&603f&Col07,	Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\{00001124-0000-1000-8000-00805f9b34fb}_VID&000217ef_PID&603f&Col07,	Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\{00001124-0000-1000-8000-00805f9b34fb}_VID&000217ef_PID&603f&Col07,	Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\{00001124-0000-1000-8000-00805f9b34fb}_VID&000217ef_PID&603f&Col07,	Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00

;;
;; Mechanical option keyboard
;;
;; Normal. FnLk is off in default
;;
HKR,HIDHotkey\VID_17EF&PID_6062&MI_01&Col05
HKR,HIDHotkey\VID_17EF&PID_6062&MI_01&Col05,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6062&MI_01&Col05,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_6062&MI_01&Col05,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6062&MI_01&Col05,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6062&MI_01&Col05,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6062&MI_01&Col05,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6062&MI_01&Col05,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
;;
;; Japan and NEC. FnLk is on in default
;;
HKR,HIDHotkey\VID_17EF&PID_6064&MI_01&Col05
HKR,HIDHotkey\VID_17EF&PID_6064&MI_01&Col05,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6064&MI_01&Col05,		State.Ex_31,0x00010001,	0x00000001
HKR,HIDHotkey\VID_17EF&PID_6064&MI_01&Col05,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6064&MI_01&Col05,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6064&MI_01&Col05,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6064&MI_01&Col05,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6064&MI_01&Col05,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00

;; Ultrabook
;;
;; Mechanical option keyboard
;;
;; Normal. FnLk is off in default
;;
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_6067&MI_01&Col04,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
;;
;; Japan and NEC. FnLk is on in default
;;
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04,		State.Ex_31,0x00010001,	0x00000001
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_6068&MI_01&Col04,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00

;; UltrabookPro
;;
;; Mechanical option keyboard
;;
;; Normal. FnLk is off in default
;;
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_606A&MI_00,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
;;
;; Japan. FnLk is on in default
;;
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00,		State.Ex_31,0x00010001,	0x00000001
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_606B&MI_00,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00

;; Folio
;;
;; ThinkPad Helix Folio Keyboard
;;
;; Normal. FnLk is off in default
;;
HKR,HIDHotkey\VID_17EF&PID_6074
HKR,HIDHotkey\VID_17EF&PID_6074,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6074,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_6074,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6074,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6074,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6074,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6074,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_6074,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_6074,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
HKR,HIDHotkey\VID_17EF&PID_6074,		OU_00,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x80, 0x00
;;
;; Japan. FnLk is on in default
;;
HKR,HIDHotkey\VID_17EF&PID_6075
HKR,HIDHotkey\VID_17EF&PID_6075,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6075,		State.Ex_31,0x00010001,	0x00000001
HKR,HIDHotkey\VID_17EF&PID_6075,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6075,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6075,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6075,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6075,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_6075,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_6075,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
HKR,HIDHotkey\VID_17EF&PID_6075,		OU_00,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x80, 0x00
;;
;; ThinkPad 10 Folio Keyboard
;;
;; Normal. FnLk is off in default
;;
HKR,HIDHotkey\VID_17EF&PID_6076
HKR,HIDHotkey\VID_17EF&PID_6076,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6076,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_6076,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6076,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6076,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6076,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6076,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_6076,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_6076,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
HKR,HIDHotkey\VID_17EF&PID_6076,		OU_00,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x80, 0x00
;;
;; Japan. FnLk is on in default
;;
HKR,HIDHotkey\VID_17EF&PID_6077
HKR,HIDHotkey\VID_17EF&PID_6077,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6077,		State.Ex_31,0x00010001,	0x00000001
HKR,HIDHotkey\VID_17EF&PID_6077,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6077,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6077,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6077,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6077,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_6077,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_6077,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
HKR,HIDHotkey\VID_17EF&PID_6077,		OU_00,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x80, 0x00

;; X1
;;
;; ThinkPad X1 Keyboard
;;
;; Normal. FnLk is off in default
;;
HKR,HIDHotkey\VID_17EF&PID_6085
HKR,HIDHotkey\VID_17EF&PID_6085,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6085,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_6085,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6085,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6085,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6085,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6085,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_6085,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_6085,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
;;
;; Japan. FnLk is on in default
;;
HKR,HIDHotkey\VID_17EF&PID_6086
HKR,HIDHotkey\VID_17EF&PID_6086,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_6086,		State.Ex_31,0x00010001,	0x00000001
HKR,HIDHotkey\VID_17EF&PID_6086,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_6086,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_6086,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_6086,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_6086,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
HKR,HIDHotkey\VID_17EF&PID_6086,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_6086,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00

;; X1-2
;;
;; ThinkPad X1 Keyboard-2
;;
;; Normal. FnLk is off in default
;;
HKR,HIDHotkey\VID_17EF&PID_60A3
HKR,HIDHotkey\VID_17EF&PID_60A3,		KeyLocation,0x00010001,	0x00010000
HKR,HIDHotkey\VID_17EF&PID_60A3,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_60A3,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60A3,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A3,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A3,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A3,		Ex_93,	0x00000001,	0x0C, 0x01, 0x03, 0x01, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A3,		Ex_94,	0x00000001,	0x0C, 0x01, 0x03, 0x02, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A3,		Ex_90,	0x00000001,	0x0C, 0x01, 0x03, 0x04, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A3,		Ex_91,	0x00000001,	0x0C, 0x01, 0x03, 0x08, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A3,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A3,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
;;
;; Japan. FnLk is on in default
;;
HKR,HIDHotkey\VID_17EF&PID_60A4
HKR,HIDHotkey\VID_17EF&PID_60A4,		KeyLocation,0x00010001,	0x00010000
HKR,HIDHotkey\VID_17EF&PID_60A4,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_60A4,		State.Ex_31,0x00010001,	0x00000001
HKR,HIDHotkey\VID_17EF&PID_60A4,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A4,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A4,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A4,		Ex_93,	0x00000001,	0x0C, 0x01, 0x03, 0x01, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A4,		Ex_94,	0x00000001,	0x0C, 0x01, 0x03, 0x02, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A4,		Ex_90,	0x00000001,	0x0C, 0x01, 0x03, 0x04, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A4,		Ex_91,	0x00000001,	0x0C, 0x01, 0x03, 0x08, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A4,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_60A4,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00

;; X1-3
;;
;; ThinkPad X1 Keyboard Gen 3
;;
;; default FnLk is reset by OS language
;;
HKR,HIDHotkey\VID_17EF&PID_60B5
HKR,HIDHotkey\VID_17EF&PID_60B5,		LayoutOption,0x00010001,	0x00000001
HKR,HIDHotkey\VID_17EF&PID_60B5,		KeyLocation,0x00010001,	0x00010000
HKR,HIDHotkey\VID_17EF&PID_60B5,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_60B5,		State.Ex_31,0x00010001,	0x00000008
HKR,HIDHotkey\VID_17EF&PID_60B5,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B5,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B5,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B5,		Ex_93,	0x00000001,	0x0C, 0x01, 0x03, 0x01, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B5,		Ex_94,	0x00000001,	0x0C, 0x01, 0x03, 0x02, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B5,		Ex_90,	0x00000001,	0x0C, 0x01, 0x03, 0x04, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B5,		Ex_91,	0x00000001,	0x0C, 0x01, 0x03, 0x08, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B5,		07,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x20, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B5,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
;;
;; Yoga Go 720 Folio Keyboard
;;
;; default FnLk is reset by OS language
;;
HKR,HIDHotkey\VID_17EF&PID_60B4
HKR,HIDHotkey\VID_17EF&PID_60B4,		KeyLocation,0x00010001,	0x00010000
HKR,HIDHotkey\VID_17EF&PID_60B4,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_60B4,		State.Ex_31,0x00010001,	0x00000008
HKR,HIDHotkey\VID_17EF&PID_60B4,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B4,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B4,		Ex_91,	0x00000001,	0x0C, 0x01, 0x03, 0x08, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60B4,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
;;
;; Yoga Go 520 Folio Case-1
;;
;; default FnLk is reset by OS language
;;
HKR,HIDHotkey\VID_17EF&PID_60BB
HKR,HIDHotkey\VID_17EF&PID_60BB,		KeyLocation,0x00010001,	0x00010000
HKR,HIDHotkey\VID_17EF&PID_60BB,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_60BB,		State.Ex_31,0x00010001,	0x00000008
HKR,HIDHotkey\VID_17EF&PID_60BB,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_60BB,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_60BB,		Ex_91,	0x00000001,	0x0C, 0x01, 0x03, 0x08, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60BB,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00
;;
;; Yoga Go 520 Folio Case-2
;;
;; default FnLk is reset by OS language
;;
HKR,HIDHotkey\VID_17EF&PID_60BC
HKR,HIDHotkey\VID_17EF&PID_60BC,		KeyLocation,0x00010001,	0x00010000
HKR,HIDHotkey\VID_17EF&PID_60BC,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_60BC,		State.Ex_31,0x00010001,	0x00000008
HKR,HIDHotkey\VID_17EF&PID_60BC,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_60BC,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_60BC,		Ex_91,	0x00000001,	0x0C, 0x01, 0x03, 0x08, 0x00, 0x00
HKR,HIDHotkey\VID_17EF&PID_60BC,		05,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x40, 0x00

;; MIIX
;;
;; MIIX 720 with Elan PTP
;;
HKR,HIDHotkey\VID_17EF&PID_60A6
HKR,HIDHotkey\VID_17EF&PID_60A6,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60A6,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60A6,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; MIIX 720 with Synaptics PTP
;;
HKR,HIDHotkey\VID_17EF&PID_60A7
HKR,HIDHotkey\VID_17EF&PID_60A7,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60A7,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60A7,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; MIIX 510 Chicony
;;
HKR,HIDHotkey\VID_04F2&PID_1622
HKR,HIDHotkey\VID_04F2&PID_1622,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_04F2&PID_1622,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_04F2&PID_1622,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; MIIX 510 Docking folio case
;; MIIX 310
;;
HKR,HIDHotkey\VID_258A&PID_1015
HKR,HIDHotkey\VID_258A&PID_1015,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_258A&PID_1015,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_258A&PID_1015,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; MIIX 700 USB Keyboard (MP)
;;
HKR,HIDHotkey\VID_17EF&PID_6084
HKR,HIDHotkey\VID_17EF&PID_6084,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_6084,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_6084,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; MIIX 700-12ISK folio Keyboard (New)
;;
HKR,HIDHotkey\VID_17EF&PID_60A2
HKR,HIDHotkey\VID_17EF&PID_60A2,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60A2,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60A2,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; MIIX 710 folio case keyboard
;;
HKR,HIDHotkey\VID_17EF&PID_60A5
HKR,HIDHotkey\VID_17EF&PID_60A5,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60A5,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60A5,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; MIIX 320 keyboard
;;
HKR,HIDHotkey\VID_048D&PID_8911
HKR,HIDHotkey\VID_048D&PID_8911,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_048D&PID_8911,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_048D&PID_8911,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00

;;
;; Kei keyboard nearly equal to ThinkPad 10 mechanical option keyboard
;;
HKR,HIDHotkey\VID_17EF&PID_60C1
HKR,HIDHotkey\VID_17EF&PID_60C1,		LedCapability,0x00010001,	0x00000003
HKR,HIDHotkey\VID_17EF&PID_60C1,		State.Ex_31,0x00010001,	0x00000008
HKR,HIDHotkey\VID_17EF&PID_60C1,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
HKR,HIDHotkey\VID_17EF&PID_60C1,		Ex_1A,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x02, 0x00
HKR,HIDHotkey\VID_17EF&PID_60C1,		Ex_1C,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x04, 0x00
HKR,HIDHotkey\VID_17EF&PID_60C1,		Ex_1D,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x08, 0x00
HKR,HIDHotkey\VID_17EF&PID_60C1,		Ex_1F,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x10, 0x00
;;
;; Ideapad 330 keyboard I
;;
HKR,HIDHotkey\VID_17EF&PID_60C3
HKR,HIDHotkey\VID_17EF&PID_60C3,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60C3,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60C3,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; Ideapad 330 keyboard II
;;
HKR,HIDHotkey\VID_17EF&PID_60C6
HKR,HIDHotkey\VID_17EF&PID_60C6,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60C6,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60C6,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; Ideapad 330 keyboard III
;;
HKR,HIDHotkey\VID_17EF&PID_60C7
HKR,HIDHotkey\VID_17EF&PID_60C7,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60C7,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60C7,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00
;;
;; Ideapad 330 keyboard IV
;;
HKR,HIDHotkey\VID_17EF&PID_60C8
HKR,HIDHotkey\VID_17EF&PID_60C8,		LedCapability,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60C8,		State.Ex_31,0x00010001,	0x00000000
HKR,HIDHotkey\VID_17EF&PID_60C8,		Ex_31,	0x00000001,	0x0C, 0x01, 0x03, 0x00, 0x01, 0x00

[OSD.Reg]
HKR,MessageClient\OnScreenDisplay
HKR,MessageClient\OnScreenDisplay,InterfaceVersion,0x00010001,		0x00010000
HKR,MessageClient\OnScreenDisplay,ModeList,0x00010001,			0x00020001
HKR,MessageClient\OnScreenDisplay,TransmitterFile,,			"TPOSD.DLL"
HKR,MessageClient\OnScreenDisplay,TransmitterLocation,,			"%13%\driver"
HKR,MessageClient\OnScreenDisplay,ReceiverFile,,			"TPOSD.EXE"
HKR,MessageClient\OnScreenDisplay,ReceiverLocation,,			"%13%\driver"
HKR,MessageClient\OnScreenDisplay,ReceiverParameter,,			"/UEFI"

[SHTCTKY.Reg]
HKR,MessageClient\ShortcutKey
HKR,MessageClient\ShortcutKey,InterfaceVersion,0x00010001,		0x00010000
HKR,MessageClient\ShortcutKey,ModeList,0x00010001,			0x00030001
HKR,MessageClient\ShortcutKey,TransmitterFile,,				"SHTCTKY.DLL"
HKR,MessageClient\ShortcutKey,TransmitterLocation,,			"%13%\driver"
HKR,MessageClient\ShortcutKey,ReceiverFile,,				"SHTCTKY.EXE"
HKR,MessageClient\ShortcutKey,ReceiverLocation,,			"%13%\driver"
HKR,MessageClient\ShortcutKey,ReceiverParameter,,			"/UEFI"

[NUMLOCK.Reg]
HKR,MessageClient\LockOSD
HKR,MessageClient\LockOSD,InterfaceVersion,0x00010001,			0x00010000
HKR,MessageClient\LockOSD,ModeList,0x00010001,				0x00020001
HKR,MessageClient\LockOSD,TransmitterFile,,				"NUMLOCK.DLL"
HKR,MessageClient\LockOSD,TransmitterLocation,,				"%13%\driver"
HKR,MessageClient\LockOSD,ReceiverFile,,				"TPNUMLKD.EXE"
HKR,MessageClient\LockOSD,ReceiverLocation,,				"%13%\driver"
HKR,MessageClient\LockOSD,ReceiverParameter,,				""

[Setup.files]
setup.exe

[FnApps.files]
setapps.exe
{4F4F8AF1-F025-42E9-848A-537A5AD1BDC2}.msi
{10FFBC57-CA53-4D1E-9E49-60AD847F0299}.msi
{8B71A54F-FCB6-445E-A925-FA9A2E03B564}.msi
{6028DA76-F9C3-4305-BD92-F3A27A873045}.msi
{665D6AE4-7439-49A1-840E-671E88B67B13}.msi
{4A83E9B2-D3E6-426A-ABB5-E943830D9594}.msi

[Service.files]
tphkload.exe
CertificateValidation32.dll
CertificateValidation.dll
rsetup.dll

[OSD.files]
tposd.dll
tposd.exe
tposd.ini
spkvol.dll
tpnumlkd.exe
tpnumlkd.dll
tpnumlkd.ini
numlock.dll
mmstate.dll

[SHTCTKY.files]
shtctky.dll
shtctky.exe
hlp8.dll
hlp8.exe
Phone.dll
Lenovo.LyncCommunicateLib.dll
Microsoft.Lync.Model.dll
Microsoft.Office.Uc.dll
smm10.dll
fnf3.exe
fnf6.exe
rainbow.dll
rainbow32.dll
errmsg.exe
ACButton.exe

[Strings]
REG_EXPAND_SZ = 0x00020000
PRODNAME="Lenovo Fn and function keys"
PUBLISHER="Lenovo"
APPSVERSION="10.0.0.2"
