mcbutton.inf Driver File Contents (F5_ButtonDriver_v4201.zip)

; Cx XP Button Driver
; Copyright (c) Motion Computing, Inc. All rights reserved

[version]
signature="$WINDOWS NT$"
Provider=%MCO%
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Class=HIDClass
DriverVer=09/30/2007,4.2.0.1
CatalogFile=MCButton.cat

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir              =11  ;LDID_SYS
MCButton_Inst.Copy          =12  ;LDID_DRIVERS
SupportFiles.Copy           =11  ;Support files go in System32
DELFILES		    =11	 ;for deleting DLLs and EXE
DELSYSFILE		    =12	 ;for deleting SYS file

; Manufacturer Section
;----------------------------------------------------------
[Manufacturer]
%MCO%=Motion,NTx86


; Devices Section
; ---------------------------------------------------------
[Motion.NTx86]
%ACPI\MotionTabletPCButtons%    =MCButton_Inst,ACPI\MCO0103


; Install Section
; ---------------------------------------------------------
[MCButton_Inst.NTx86]
CopyFiles                   =MCButton_Inst.Copy, SupportFiles.Copy
DelFiles                    =DELSYSFILE, DELFILES

[MCButton_Inst.Copy]
MCButton.sys

[SupportFiles.Copy]
MCTab.mco
mclaunch.dll
mcres.exe
mcbttnlnch.exe

[DELSYSFILE]
MCButton.sys

[DELFILES]
MCTab.mco
mclaunch.dll
mcres.exe
mcbttnlnch.exe

[MCButton_Inst.NTx86.HW]
DelReg                      =MCButton_Inst.NT.DelReg
AddReg                      =MCButton_Inst.NT.AddReg

[MCButton_Inst.NTx86.Services]
AddService                  =MCButton,0x00000002,MCButtonServiceInst,MCButtonEventLogInst

[MCButtonEventLogInst]
AddReg                      =MCButtonEventLogAddReg

[MCButtonEventLogAddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\MCButton.sys"
HKR,,TypesSupported,0x00010001,7

[MCButtonServiceInst]
DisplayName    = %MCButton.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\MCButton.sys
LoadOrderGroup = Extended Base


; Source Media Section
; ---------------------------------------------------------
[SourceDisksNames]
1=%DiskDescription%,"",,

[SourceDisksFiles]
MCButton.sys=1
MCTab.mco=1
mclaunch.dll=1
mcres.exe=1
mcbttnlnch.exe=1
mcoinst.dll=1

;----- MCButton_Inst Coinstallers ------
[MCButton_Inst.NTx86.CoInstallers]
AddReg    =MCOInst.AddReg
CopyFiles =MCOInst.CopyFiles
DelFiles  =MCOInst.DelFiles

[MCOInst.AddReg]
HKR,,CoInstallers32,0x10000,"mcoinst.dll,MCOCoInstall"

[MCOInst.CopyFiles]
mcoinst.dll

[MCOInst.DelFiles]
mcoinst.dll

; Registry entries
; ---------------------------------------------------------
[MCButton_Inst.NT.DelReg]
HKLM, %TabletPC_Path%\DisplayOrientations
HKLM, %TabletPC_Path%\ButtonActions
HKLM, %TabletPC_Path%\TabletButtons
HKU, .DEFAULT\Control Panel\TabletPC, "ToggleOrientationSeq"

[MCButton_Inst.NT.AddReg]
HKLM, %TabletPC_Path%
HKLM, %TabletPC_Path%\ButtonActions
HKLM, %TabletPC_Path%\ButtonActions\80000000
HKLM, %TabletPC_Path%\ButtonActions\80000000,"ActionName",,"@tabbtn.dll,-10000"
HKLM, %TabletPC_Path%\ButtonActions\80000001
HKLM, %TabletPC_Path%\ButtonActions\80000001,"ActionName",,"@tabbtn.dll,-10001"
HKLM, %TabletPC_Path%\ButtonActions\80000002
HKLM, %TabletPC_Path%\ButtonActions\80000002,"ActionName",,"@tabbtn.dll,-10002"
HKLM, %TabletPC_Path%\ButtonActions\80000003
HKLM, %TabletPC_Path%\ButtonActions\80000003,"ActionName",,"@tabbtn.dll,-10003"
HKLM, %TabletPC_Path%\ButtonActions\80000004
HKLM, %TabletPC_Path%\ButtonActions\80000004,"ActionName",,"@tabbtn.dll,-10004"
HKLM, %TabletPC_Path%\ButtonActions\80000005
HKLM, %TabletPC_Path%\ButtonActions\80000005,"ActionName",,"@tabbtn.dll,-10005"
HKLM, %TabletPC_Path%\ButtonActions\80000006
HKLM, %TabletPC_Path%\ButtonActions\80000006,"ActionName",,"@tabbtn.dll,-10006"
HKLM, %TabletPC_Path%\ButtonActions\80000007
HKLM, %TabletPC_Path%\ButtonActions\80000007,"ActionName",,"@tabbtn.dll,-10007"
HKLM, %TabletPC_Path%\ButtonActions\80000008
HKLM, %TabletPC_Path%\ButtonActions\80000008,"ActionName",,"@tabbtn.dll,-10008"
HKLM, %TabletPC_Path%\ButtonActions\80000009
HKLM, %TabletPC_Path%\ButtonActions\80000009,"ActionName",,"@tabbtn.dll,-10009"
HKLM, %TabletPC_Path%\ButtonActions\8000000A
HKLM, %TabletPC_Path%\ButtonActions\8000000A,"ActionName",,"@tabbtn.dll,-10010"
HKLM, %TabletPC_Path%\ButtonActions\80010001
HKLM, %TabletPC_Path%\ButtonActions\80010001,"ActionName",,"@tabbtn.dll,-11001"
HKLM, %TabletPC_Path%\ButtonActions\80010002
HKLM, %TabletPC_Path%\ButtonActions\80010002,"ActionName",,"@tabbtn.dll,-11002"
HKLM, %TabletPC_Path%\ButtonActions\80010003
HKLM, %TabletPC_Path%\ButtonActions\80010003,"ActionName",,"@tabbtn.dll,-11003"
HKLM, %TabletPC_Path%\ButtonActions\80010004
HKLM, %TabletPC_Path%\ButtonActions\80010004,"ActionName",,"@tabbtn.dll,-11004"
HKLM, %TabletPC_Path%\ButtonActions\80010005
HKLM, %TabletPC_Path%\ButtonActions\80010005,"ActionName",,"@tabbtn.dll,-11005"
HKLM, %TabletPC_Path%\ButtonActions\80010006
HKLM, %TabletPC_Path%\ButtonActions\80010006,"ActionName",,"@tabbtn.dll,-11006"
HKLM, %TabletPC_Path%\ButtonActions\80010007
HKLM, %TabletPC_Path%\ButtonActions\80010007,"ActionName",,"@tabbtn.dll,-11007"
HKLM, %TabletPC_Path%\ButtonActions\80010008
HKLM, %TabletPC_Path%\ButtonActions\80010008,"ActionName",,"@tabbtn.dll,-11008"
HKLM, %TabletPC_Path%\ButtonActions\80010009
HKLM, %TabletPC_Path%\ButtonActions\80010009,"ActionName",,"@tabbtn.dll,-11009"
HKLM, %TabletPC_Path%\ButtonActions\8001000A
HKLM, %TabletPC_Path%\ButtonActions\8001000A,"ActionName",,"@tabbtn.dll,-11010"
HKLM, %TabletPC_Path%\ButtonActions\8001000B
HKLM, %TabletPC_Path%\ButtonActions\8001000B,"ActionName",,"@tabbtn.dll,-11011"
HKLM, %TabletPC_Path%\ButtonActions\8001000C
HKLM, %TabletPC_Path%\ButtonActions\8001000C,"ActionName",,"@tabbtn.dll,-11012"
HKLM, %TabletPC_Path%\ButtonActions\8001000D
HKLM, %TabletPC_Path%\ButtonActions\8001000D,"ActionName",,"@tabbtn.dll,-11013"
HKLM, %TabletPC_Path%\ButtonActions\8001000E
HKLM, %TabletPC_Path%\ButtonActions\8001000E,"ActionName",,"@tabbtn.dll,-11014"
HKLM, %TabletPC_Path%\ButtonActions\8001000F
HKLM, %TabletPC_Path%\ButtonActions\8001000F,"ActionName",,"@tabbtn.dll,-11015"
HKLM, %TabletPC_Path%\ButtonActions\80010010
HKLM, %TabletPC_Path%\ButtonActions\80010010,"ActionName",,"@tabbtn.dll,-11016"

;set "DefaultOrientationSeq" to Zero (0) if you don't want to switch to it
HKLM, %TabletPC_Path%\DisplayOrientations
HKLM, %TabletPC_Path%\DisplayOrientations\PrimaryLandscape
HKLM, %TabletPC_Path%\DisplayOrientations\PrimaryLandscape,"OrientationMode",0x00010001,00000000
HKLM, %TabletPC_Path%\DisplayOrientations\PrimaryLandscape,"DefaultOrientationSeq",0x00010001,1
HKLM, %TabletPC_Path%\DisplayOrientations\PrimaryPortrait
HKLM, %TabletPC_Path%\DisplayOrientations\PrimaryPortrait,"OrientationMode",0x00010001,00000003
HKLM, %TabletPC_Path%\DisplayOrientations\PrimaryPortrait,"DefaultOrientationSeq",0x00010001,2
HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryPortrait
HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryPortrait,"OrientationMode",0x00010001,00000001
HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryPortrait,"DefaultOrientationSeq",0x00010001,3

HKLM, %TabletPC_Path%\TabletButtons
HKLM, %TabletPC_Path%\TabletButtons,"NumButtons",0x00010001,0x00000015
HKLM, %TabletPC_Path%\TabletButtons,"FnKeyButton",0x00010001,0x00000040
HKLM, %TabletPC_Path%\TabletButtons,"ImageDLL",,"MCTab.mco"
HKLM, %TabletPC_Path%\TabletButtons,"PressAndHoldTimeout",0x00010001,0x000002ee

;
;Button bitmap definitions.
;UP_KEY		0x04
;DOWN_KEY	0x20
;LEFT_KEY	0x08
;RIGHT_KEY	0x10
;FUNC_KEY	0x40
;ENTER_KEY	0x02
;HOT1_KEY	0x80
;DOCKP_KEY	0x0400
;DOCKL_KEY	0x0200
;APPB_KEY	0x0100
;APPA_KEY	0x8000
;CAM_KEY	0x4000
;BC_KEY		0x2000
;RFID_KEY	0x1000

;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;HOT1_KEY               0x80      IDS_BUTTONNAME_HOT1_KEY 4020     "HotKey-1 Button"
;
;HOT1_KEY : start Dashboard

HKLM, %TabletPC_Path%\TabletButtons\0
HKLM, %TabletPC_Path%\TabletButtons\0,"ButtonName",,"@MCTab.mco,-4020"
HKLM, %TabletPC_Path%\TabletButtons\0,"ButtonID",0x00010001,0x00000080
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000102
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000122
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000142
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000162
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\dashboard.exe"


;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + HOT1_KEY          0xC0      IDS_BUTTONNAME_FN_HOT1_KEY 4211      "Fn + HotKey-1 Button"
;                               
;for Fn + HOT1_KEY send virtual code 28,08,00,00 when logged VK_DOWN,EXT,00 , 00 key
;                             09,01,00,00 when at SAS screen <-Tab Shift 00 00 key
HKLM, %TabletPC_Path%\TabletButtons\1
HKLM, %TabletPC_Path%\TabletButtons\1,"ButtonName",,"@MCTab.mco,-4211"
HKLM, %TabletPC_Path%\TabletButtons\1,"ButtonID",0x00010001,0x000000C0
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000010d
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"DefActionData",,"%WindowsJournal%\Journal.exe"
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"ImageIDDetail",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"DefActionData",,"%WindowsJournal%\Journal.exe"
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000014d
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"DefActionData",,"%WindowsJournal%\Journal.exe"
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"ImageIDDetail",0x00010001,0x0000016d
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"DefActionData",,"%WindowsJournal%\Journal.exe"


;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;APPA_KEY               0x8000    IDS_BUTTONNAME_APPA  4301     "Application Button A"
;
HKLM, %TabletPC_Path%\TabletButtons\2
HKLM, %TabletPC_Path%\TabletButtons\2,"ButtonName",,"@MCTab.mco,-4301"
HKLM, %TabletPC_Path%\TabletButtons\2,"ButtonID",0x00010001,0x00008000
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000108
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appa"
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appa"
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000128
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appa"
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appa"
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000148
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appa"
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appa"
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000168
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appa"
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appa"

;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;APPB_KEY               0x0100    IDS_BUTTONNAME_APPB  4302     "Application Button B"
;
HKLM, %TabletPC_Path%\TabletButtons\3
HKLM, %TabletPC_Path%\TabletButtons\3,"ButtonName",,"@MCTab.mco,-4302"
HKLM, %TabletPC_Path%\TabletButtons\3,"ButtonID",0x00010001,0x00000100
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000109
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appb"
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appb"
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000129
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appb"
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appb"
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000149
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appb"
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appb"
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000169
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appb"
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -appb"

;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + APPA_KEY          0x8040    IDS_BUTTONNAME_APPA  4303     "Fn + Application Button A"
;Fn + APPA_KEY: change the Orientation
;
HKLM, %TabletPC_Path%\TabletButtons\4
HKLM, %TabletPC_Path%\TabletButtons\4,"ButtonName",,"@MCTab.mco,-4303"
HKLM, %TabletPC_Path%\TabletButtons\4,"ButtonID",0x00010001,0x00008040
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000113
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000133
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000153
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000173
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000006

;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + APPB_KEY          0x0140    IDS_BUTTONNAME_APPB  4304     "Fn + Application Button B"
;Fn + APPB_KEY: Esc key
;
HKLM, %TabletPC_Path%\TabletButtons\5
HKLM, %TabletPC_Path%\TabletButtons\5,"ButtonName",,"@MCTab.mco,-4304"
HKLM, %TabletPC_Path%\TabletButtons\5,"ButtonID",0x00010001,0x00000140
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000114
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000134
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000154
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000174
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"WinLogonActionData",0x00000001,0x1B,00,00,00

;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;RFID_KEY               0x1000    IDS_BUTTONNAME_RFID  4305     "RFID Button"
;
;
HKLM, %TabletPC_Path%\TabletButtons\6
HKLM, %TabletPC_Path%\TabletButtons\6,"ButtonName",,"@MCTab.mco,-4305"
HKLM, %TabletPC_Path%\TabletButtons\6,"ButtonID",0x00010001,0x00001000
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"ImageID",0x00010001,0x00000202
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000010b
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -rfid"
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -rfid"
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"ImageID",0x00010001,0x00000212
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"ImageIDDetail",0x00010001,0x0000012b
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -rfid"
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -rfid"
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"ImageID",0x00010001,0x00000222
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000014b
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -rfid"
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -rfid"
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"ImageID",0x00010001,0x00000232
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"ImageIDDetail",0x00010001,0x0000016b
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -rfid"
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -rfid"

;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;BC_KEY                 0x2000    IDS_BUTTONNAME_BC   4306     "Barcode Button"
;
HKLM, %TabletPC_Path%\TabletButtons\7
HKLM, %TabletPC_Path%\TabletButtons\7,"ButtonName",,"@MCTab.mco,-4306"
HKLM, %TabletPC_Path%\TabletButtons\7,"ButtonID",0x00010001,0x00002000
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"ImageID",0x00010001,0x00000202
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000010a
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -bc"
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -bc"
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"ImageID",0x00010001,0x00000212
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"ImageIDDetail",0x00010001,0x0000012a
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -bc"
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -bc"
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"ImageID",0x00010001,0x00000222
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000014a
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -bc"
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -bc"
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"ImageID",0x00010001,0x00000232
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"ImageIDDetail",0x00010001,0x0000016a
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -bc"
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -bc"

;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;CAM_KEY                0x4000    IDS_BUTTONNAME_CAM   4307     "Camera Button"
;
HKLM, %TabletPC_Path%\TabletButtons\8
HKLM, %TabletPC_Path%\TabletButtons\8,"ButtonName",,"@MCTab.mco,-4307"
HKLM, %TabletPC_Path%\TabletButtons\8,"ButtonID",0x00010001,0x00004000
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"ImageID",0x00010001,0x00000203
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000010c
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -cam"
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -cam"
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"ImageID",0x00010001,0x00000213
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"ImageIDDetail",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -cam"
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -cam"
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"ImageID",0x00010001,0x00000223
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000014c
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -cam"
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -cam"
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"ImageID",0x00010001,0x00000233
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"ImageIDDetail",0x00010001,0x0000016c
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"DefHoldAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -cam"
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcbttnlnch.exe -cam"

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;ENTER_KEY              0x02      IDS_BUTTONNAME_ENTER 4100           "Enter Button"
;
;for ENTER_KEY send virtual code 0D,00,00,00 when logged VK_RETURN, 00,00 , 00 key
;                                0D,00,00,00 when at SAS screen <- same as above
;
HKLM, %TabletPC_Path%\TabletButtons\9
HKLM, %TabletPC_Path%\TabletButtons\9,"ButtonName",,"@MCTab.mco,-4100"
HKLM, %TabletPC_Path%\TabletButtons\9,"ButtonID",0x00010001,0x00000002
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000107
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"DefActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000127
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000147
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000167
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"WinLogonActionData",0x00000001,0x0D,00,00,00

;
;secondary Landscape is opposite of Primary landscape 
;so UP becomes down,left becomes right  and vice versa
;Change the button ID, but do NOT change the graphic.

;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;UP_KEY                 0x04      IDS_BUTTONNAME_UP    4001           "Up Button"
;for UP_KEY send virtual code 26,08,00,00 when logged VK_UP,EXT,00 , 00 key
HKLM, %TabletPC_Path%\TabletButtons\10
HKLM, %TabletPC_Path%\TabletButtons\10,"ButtonName",,"@MCTab.mco,-4001"
HKLM, %TabletPC_Path%\TabletButtons\10,"ButtonID",0x00010001,0x00000004
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000103
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;UP become LEFT in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000123
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;UP become DOWN in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000143
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;UP become RIGHT in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000163
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"WinLogonActionData",0x00000001,0x27,0x08,00,00

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;LEFT_KEY               0x08      IDS_BUTTONNAME_LEFT  4004        "Left Button"
;                               
;for LEFT_KEY send virtual code 25,08,00,00 when logged VK_LEFT,EXT,00 , 00 key
HKLM, %TabletPC_Path%\TabletButtons\11
HKLM, %TabletPC_Path%\TabletButtons\11,"ButtonName",,"@MCTab.mco,-4004"
HKLM, %TabletPC_Path%\TabletButtons\11,"ButtonID",0x00010001,0x00000008
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000104
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Left become DOWN in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000124
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Left become RIGHT in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000144
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Left become UP in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000164
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"WinLogonActionData",0x00000001,0x26,0x08,00,00

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;RIGHT_KEY              0x10      IDS_BUTTONNAME_RIGHT 4008         "Right Button"
;                               
;for RIGHT_KEY send virtual code 27,08,00,00 when logged VK_RIGHT,EXT,00 , 00 key
;                             09,01,00,00 when at SAS screen <-Tab Shift 00 00 key
HKLM, %TabletPC_Path%\TabletButtons\12
HKLM, %TabletPC_Path%\TabletButtons\12,"ButtonName",,"@MCTab.mco,-4008"
HKLM, %TabletPC_Path%\TabletButtons\12,"ButtonID",0x00010001,0x00000010
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000105
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Right becomes UP in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000125
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Right become Left in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000145
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Right  become DOWN in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000165
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"WinLogonActionData",0x00000001,0x28,0x08,00,00

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;DOWN_KEY               0x20      IDS_BUTTONNAME_DOWN  4002           "Down Button"
;                               
;for DOWN_KEY send virtual code 28,08,00,00 when logged VK_DOWN,EXT,00 , 00 key
;                             09,01,00,00 when at SAS screen <-Tab Shift 00 00 key
HKLM, %TabletPC_Path%\TabletButtons\13
HKLM, %TabletPC_Path%\TabletButtons\13,"ButtonName",,"@MCTab.mco,-4002"
HKLM, %TabletPC_Path%\TabletButtons\13,"ButtonID",0x00010001,0x00000020
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000106
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Down become Right in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000126
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Down become UP in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000146
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Down become Left in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000166
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + ENTER_KEY         0x42      IDS_BUTTONNAME_ENTER 4110           "Fn + Enter Button"
;
;for Fn + ENTER_KEY send virtual code 0D,00,00,00 when logged VK_RETURN, 00,00 , 00 key
;                                0D,00,00,00 when at SAS screen <- same as above
;
HKLM, %TabletPC_Path%\TabletButtons\14
HKLM, %TabletPC_Path%\TabletButtons\14,"ButtonName",,"@MCTab.mco,-4110"
HKLM, %TabletPC_Path%\TabletButtons\14,"ButtonID",0x00010001,0x00000042
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000112
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"WinLogonActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000132
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"WinLogonActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000152
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"WinLogonActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000172
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"WinLogonActionData",0x00000001,0x5B,08,00,00

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + UP_KEY            0x44      IDS_BUTTONNAME_UP    4011           "Fn + Up Button"
;for Fn + UP_KEY send virtual code 26,08,00,00 when logged VK_UP,EXT,00 , 00 key
;                             09,01,00,00 when at SAS screen <-Tab Shift 00 00 key
HKLM, %TabletPC_Path%\TabletButtons\15
HKLM, %TabletPC_Path%\TabletButtons\15,"ButtonName",,"@MCTab.mco,-4011"
HKLM, %TabletPC_Path%\TabletButtons\15,"ButtonID",0x00010001,0x00000044
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000010e
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"WinLogonActionData",0x00000001,0x21,0x08,00,00

;UP become LEFT in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"ImageIDDetail",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;UP become DOWN in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000014e
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;UP become RIGHT in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"ImageIDDetail",0x00010001,0x0000016e
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"DefActionData",0x00000001,0x09,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"WinLogonActionData",0x00000001,0x09,0x00,00,00

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + LEFT_KEY          0x48      IDS_BUTTONNAME_LEFT  4014        "Fn + Left Button"
;
;for Fn + LEFT_KEY send virtual code 25,08,00,00 when logged VK_LEFT,EXT,00 , 00 key
;                             09,01,00,00 when at SAS screen <-Tab Shift 00 00 key
HKLM, %TabletPC_Path%\TabletButtons\16
HKLM, %TabletPC_Path%\TabletButtons\16,"ButtonName",,"@MCTab.mco,-4014"
HKLM, %TabletPC_Path%\TabletButtons\16,"ButtonID",0x00010001,0x00000048
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000010f
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;Left become DOWN in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"ImageIDDetail",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;Left become RIGHT in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000014f
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"DefActionData",0x00000001,0x09,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"WinLogonActionData",0x00000001,0x09,0x00,00,00
;
;Left become UP in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"ImageIDDetail",0x00010001,0x0000016f
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"WinLogonActionData",0x00000001,0x21,0x08,00,00

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + RIGHT_KEY         0x50      IDS_BUTTONNAME_RIGHT 4018         "Fn + Right Button"
;                               
;for Fn + RIGHT_KEY send virtual code 27,08,00,00 when logged VK_RIGHT,EXT,00 , 00 key
;                             09,01,00,00 when at SAS screen <-Tab Shift 00 00 key
HKLM, %TabletPC_Path%\TabletButtons\17
HKLM, %TabletPC_Path%\TabletButtons\17,"ButtonName",,"@MCTab.mco,-4018"
HKLM, %TabletPC_Path%\TabletButtons\17,"ButtonID",0x00010001,0x00000050
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000110
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"DefActionData",0x00000001,0x09,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"WinLogonActionData",0x00000001,0x09,00,00,00
;
;Right becomes UP in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000130
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"WinLogonActionData",0x00000001,0x21,0x08,00,00
;
;Right become Left in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000150
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;Right  become DOWN in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000170
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"WinLogonActionData",0x00000001,0x22,0x08,00,00

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + DOWN_KEY          0x60      IDS_BUTTONNAME_DOWN  4012         "Fn + Down Button"
;                               
;for Fn + DOWN_KEY send virtual code 28,08,00,00 when logged VK_DOWN,EXT,00 , 00 key
;                             09,01,00,00 when at SAS screen <-Tab Shift 00 00 key
HKLM, %TabletPC_Path%\TabletButtons\18
HKLM, %TabletPC_Path%\TabletButtons\18,"ButtonName",,"@MCTab.mco,-4012"
HKLM, %TabletPC_Path%\TabletButtons\18,"ButtonID",0x00010001,0x00000060
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000111
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryLandscape,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryLandscape,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;Down become Right in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000131
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryPortrait,"DefActionData",0x00000001,0x09,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\18\PrimaryPortrait,"WinLogonActionData",0x00000001,0x09,00,00,00
;
;Down become UP in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000151
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryLandscape,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryLandscape,"WinLogonActionData",0x00000001,0x21,0x08,00,00
;
;Down become Left in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000171
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryPortrait,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\18\SecondaryPortrait,"WinLogonActionData",0x00000001,0x09,0x01,00,00

;Hardware button name   ButtonID  Resource Name        Resource ID
;DOCKL_KEY              0x200     IDS_BUTTONNAME_SCLOW_KEY 4040
;Dock Landscape
HKLM, %TabletPC_Path%\TabletButtons\19
HKLM, %TabletPC_Path%\TabletButtons\19,"ButtonName",,"@MCTab.mco,-4040"
HKLM, %TabletPC_Path%\TabletButtons\19,"ButtonID",0x00010001,0x00000200
HKLM, %TabletPC_Path%\TabletButtons\19,"NoUI",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000101
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryLandscape,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryLandscape,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryPortrait,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000101
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryPortrait,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\19\PrimaryPortrait,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000101
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryLandscape,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryLandscape,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryPortrait,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000101
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryPortrait,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\19\SecondaryPortrait,"WinLogonActionData",0x00010001,0

;Hardware button name   ButtonID  Resource Name        Resource ID
;Fn + DOCKL_KEY         0x240     IDS_BUTTONNAME_SCHIGH_KEY  4040
HKLM, %TabletPC_Path%\TabletButtons\20
HKLM, %TabletPC_Path%\TabletButtons\20,"ButtonName",,"@MCTab.mco,-4040"
HKLM, %TabletPC_Path%\TabletButtons\20,"ButtonID",0x00010001,0x00000240
HKLM, %TabletPC_Path%\TabletButtons\20,"NoUI",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryLandscape,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryLandscape,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fc
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryPortrait,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\20\PrimaryPortrait,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000260
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryLandscape,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryLandscape,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c4
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryPortrait,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\20\SecondaryPortrait,"WinLogonActionData",0x00010001,0


;Environment var for Journal
HKLM, %Environment_Path%,"WindowsJournal",0x00020000,"%ProgramFiles%\Windows Journal"

;MCLaunch Keys.
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "AppName0",,"C:\\Windows\\System32\\mcres.exe"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "DLLNAME",,"C:\\Windows\\System32\\mclaunch.dll"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "DISCONNECT",,"SCRWlxDisconnect"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "RECONNECT",,"SCRWlxReconnect"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "LOCK",,"SCRWlxLock"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "UNLOCK",,"SCRWlxUnlock"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "LOGON",,"SCRWlxLogon"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "LOGOFF",,"SCRWlxLogoff"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "STARTUP",,"SCRWlxStartup"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "SHUTDOWN",,"SCRWlxShutdown"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "STARTSCREENSAVER",,"SCRWlxStartScreenSaver"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "STOPSCREENSAVER",,"SCRWlxStopScreenSaver"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "STARTSHELL",,"SCRWlxStartShell"
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "ASYNCHRONOUS",0x00000001,00,00,00,00
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\mclaunch, "IMPERSONATE",0x00000001,00,00,00,00

;Mic Rotation Keys.
HKLM, %Dashboard_Path%, "MicMode",,"M"
HKLM, %Dashboard_Path%, "MicOrientation",0x00010001,0
HKLM, %Dashboard_Path%\MicLandscape, "Spacing",0x00010001,10
HKLM, %Dashboard_Path%\MicLandscape, "Angle",0x00010001,0
HKLM, %Dashboard_Path%\MicLandscape, "Range",0x00010001,120
HKLM, %Dashboard_Path%\MicPortrait, "Spacing",0x00010001,10
HKLM, %Dashboard_Path%\MicPortrait, "Angle",0x00010001,0
HKLM, %Dashboard_Path%\MicPortrait, "Range",0x00010001,120


[Strings]
;----------------------------------------------------------
MCO= "Motion Computing Inc."
DiskDescription="Motion Computing Cx Button Driver Disk (XP)"
ACPI\MotionTabletPCButtons="Motion Computing Cx Tablet PC Buttons (XP)"
MCButton.SVCDESC="Motion Computing Cx Tablet PC Buttons HID Driver (XP)"
TabletPC_Path="SYSTEM\CurrentControlSet\Control\TabletPC"
Environment_Path="SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
Dashboard_Path="Software\Motion Computing\Motion Dashboard"
Download Driver Pack

How To Update Drivers Manually

After your driver has been downloaded, follow these simple steps to install it.

  • Expand the archive file (if the download file is in zip or rar format).

  • If the expanded file has an .exe extension, double click it and follow the installation instructions.

  • Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.

  • Find the device and model you want to update in the device list.

  • Double-click on it to open the Properties dialog box.

  • From the Properties dialog box, select the Driver tab.

  • Click the Update Driver button, then follow the instructions.

Very important: You must reboot your system to ensure that any driver updates have taken effect.

For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.

server: web1, load: 1.06