mcbutton.inf Driver File Contents (LE1700_ButtonDriver_v4200.zip)

; Motion Computing LE1700 Button Driver (XP, Vista cross-operating system and x86/x64 cross-platform)
; Copyright (c) Motion Computing, Inc. All rights reserved

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

[ControlFlags]
ExcludeFromSelect=*

[SourceDisksFiles]
MCTab.mco      = 2,,
dblaunch.exe   = 2,,
dblaunch64.exe = 2,,
mclaunch.dll   = 2,,
mcoinst.dll    = 2,,
mcoinst2.dll   = 2,,
mcres.exe      = 2,,
MCBttnEC.dll   = 2,,

[SourceDisksFiles.x86]
MCButton.sys = 1,,

[SourceDisksFiles.amd64]
MCButton.sys   = 1,,

[SourceDisksNames]
2 = %Disk1%,,,\common

[SourceDisksNames.x86]
1 = %Disk1%,,,\i386

[SourceDisksNames.amd64]
1 = %Disk1%,,,\amd64

[DestinationDirs]
DefaultDestDir           = 11  ;LDID_SYS

MCButtonSys.Copy           = 12  ;LDID_DRIVERS
XPSupportFiles.Copy        = 11  ;Support files go in System32
VistaSupportFiles.Copy     = 11  
Vista64SupportFiles.Copy   = 11  

SysFile.Delete             = 12  ;for deleting SYS file
XPSupportFiles.Delete      = 11  ;Support files go in System32
VistaSupportFiles.Delete   = 11
Vista64SupportFiles.Delete = 11

; Manufacturer Section (cross-platform and cross-operating system)
;----------------------------------------------------------
[Manufacturer]
%MCO% = Motion, NTx86.5.1, NTx86.6.0, NTamd64

; -------------------------------------------------------------
; Devices Section for cross-platform and cross-eoprating system 
; -------------------------------------------------------------
[Motion]           ; Empty section, so this INF does not support OS lower than XP

; ------------------------------------------------------------
; XP
; ------------------------------------------------------------
[Motion.NTx86.5.1]
%ACPI\MotionTabletPCButtons% = MCButtonXP_Inst, ACPI\MCO0102

; ------------------------------------------------------------
; X86 based Vista
; ------------------------------------------------------------
[Motion.NTx86.6.0]
%ACPI\MotionTabletPCButtons% = MCButtonVista_Inst, ACPI\MCO0102

; ------------------------------------------------------------
; X64 based 
; ------------------------------------------------------------
[Motion.NTamd64]
%ACPI\MotionTabletPCButtons% = MCButton64_Inst, ACPI\MCO0102

; ---------------------------------------------------------
; Install Section for XP
; ---------------------------------------------------------
[MCButtonXP_Inst]
CopyFiles = MCButtonSys.Copy, XPSupportFiles.Copy
DelFiles  = SysFile.Delete, XPSupportFiles.Delete

[MCButtonXP_Inst.HW]
DelReg = MCButton.DelReg
AddReg = MCButtonXP.AddReg

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

[MCButtonXP_Inst.CoInstallers]
AddReg    = MCOInstXP.AddReg
CopyFiles = MCOInstXP.CopyFiles
DelFiles  = MCOInstXP.DelFiles

; ---------------------------------------------------------
; Install Section for X86-based Vista
; ---------------------------------------------------------
[MCButtonVista_Inst]
CopyFiles = MCButtonSys.Copy, VistaSupportFiles.Copy
DelFiles  = SysFile.Delete, VistaSupportFiles.Delete

[MCButtonVista_Inst.HW]
DelReg = MCButton.DelReg
AddReg = MCButtonVista.AddReg, MCButton32.AddReg

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

[MCButtonVista_Inst.CoInstallers]
AddReg    =MCOInstVista.AddReg
CopyFiles =MCOInstVista.CopyFiles
DelFiles  =MCOInstVista.DelFiles

; ---------------------------------------------------------
; Install Section for X64-based 
; ---------------------------------------------------------
[MCButton64_Inst]
CopyFiles = MCButtonSys.Copy, Vista64SupportFiles.Copy
DelFiles  = SysFile.Delete, Vista64SupportFiles.Delete

[MCButton64_Inst.HW]
DelReg = MCButton.DelReg
AddReg = MCButtonVista.AddReg, MCButton64.AddReg

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

[MCButton64_Inst.CoInstallers]
AddReg    =MCOInstVista.AddReg
CopyFiles =MCOInstVista.CopyFiles
DelFiles  =MCOInstVista.DelFiles

; ----------------------------------------------------------
; the section that cross-platform and cross-operating system excuted
; ----------------------------------------------------------
[MCButtonSys.Copy]
MCButton.sys

[XPSupportFiles.Copy]
MCTab.mco
mclaunch.dll
mcres.exe
MCBttnEC.dll

[VistaSupportFiles.Copy]
MCTab.mco
dblaunch.exe
MCBttnEC.dll

[Vista64SupportFiles.Copy]
MCTab.mco
dblaunch64.exe
MCBttnEC.dll

[SysFile.Delete]
MCButton.sys

[XPSupportFiles.Delete]
MCTab.mco
mclaunch.dll
mcres.exe
MCBttnEC.dll

[VistaSupportFiles.Delete]
MCTab.mco
dblaunch.exe
MCBttnEC.dll

[Vista64SupportFiles.Delete]
MCTab.mco
dblaunch64.exe
MCBttnEC.dll

[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

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

[MCOInstXP.CopyFiles]
mcoinst.dll

[MCOInstXP.DelFiles]
mcoinst.dll

[MCOInstVista.AddReg]
HKR,,CoInstallers32,0x10000,"mcoinst2.dll, MCOCoInstall"

[MCOInstVista.CopyFiles]
mcoinst2.dll

[MCOInstVista.DelFiles]
mcoinst2.dll

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

[MCButtonXP.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\8000000B
HKLM, %TabletPC_Path%\ButtonActions\8000000B,"ActionName",,"@tabbtn.dll,-10011"
HKLM, %TabletPC_Path%\ButtonActions\8000000C
HKLM, %TabletPC_Path%\ButtonActions\8000000C,"ActionName",,"@tabbtn.dll,-10012"
HKLM, %TabletPC_Path%\ButtonActions\8000000D
HKLM, %TabletPC_Path%\ButtonActions\8000000D,"ActionName",,"@tabbtn.dll,-10013"
HKLM, %TabletPC_Path%\ButtonActions\8000000E
HKLM, %TabletPC_Path%\ButtonActions\8000000E,"ActionName",,"@tabbtn.dll,-10014"
HKLM, %TabletPC_Path%\ButtonActions\80000010
HKLM, %TabletPC_Path%\ButtonActions\80000010,"ActionName",,"@tabbtn.dll,-10016"
HKLM, %TabletPC_Path%\ButtonActions\80000011
HKLM, %TabletPC_Path%\ButtonActions\80000011,"ActionName",,"@tabbtn.dll,-10017"
HKLM, %TabletPC_Path%\ButtonActions\80000012
HKLM, %TabletPC_Path%\ButtonActions\80000012,"ActionName",,"@tabbtn.dll,-10018"
HKLM, %TabletPC_Path%\ButtonActions\80000013
HKLM, %TabletPC_Path%\ButtonActions\80000013,"ActionName",,"@tabbtn.dll,-10019"
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\SecondaryLandscape
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryLandscape,"OrientationMode",0x00010001,00000002
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryLandscape,"DefaultOrientationSeq",0x00010001,0
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryPortrait
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryPortrait,"OrientationMode",0x00010001,00000001
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryPortrait,"DefaultOrientationSeq",0x00010001,0

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

;
;Button bitmap definitions.
;#define UP_KEY		0x04
;#define DOWN_KEY	0x20
;#define LEFT_KEY	0x08
;#define RIGHT_KEY	0x10
;#define FUNC_KEY	0x40
;#define ENTER_KEY	0x02
;#define ESC_KEY	0x01
;#define HOT1_KEY	0x80
;#define HOT2_KEY	0x0800
;#define DOCKP_KEY	0x0400
;#define DOCKL_KEY	0x0200
          
;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,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
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,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fc
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,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000260
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,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c4
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    
;HOT2_KEY               0x0800    IDS_BUTTONNAME_HOT2_KEY 4021     "HotKey-2 Button"
;
;HOT2_KEY: change the Orientation
;
HKLM, %TabletPC_Path%\TabletButtons\1
HKLM, %TabletPC_Path%\TabletButtons\1,"ButtonName",,"@MCTab.mco,-4021"
HKLM, %TabletPC_Path%\TabletButtons\1,"ButtonID",0x00010001,0x00000800
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000199
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fd
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000261
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c5
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000006

;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\2
HKLM, %TabletPC_Path%\TabletButtons\2,"ButtonName",,"@MCTab.mco,-4211"
HKLM, %TabletPC_Path%\TabletButtons\2,"ButtonID",0x00010001,0x000000C0
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000001a1
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"DefActionData",,"%WindowsJournal%\Journal.exe"
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000205
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"DefActionData",,"%WindowsJournal%\Journal.exe"
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000269
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"DefActionData",,"%WindowsJournal%\Journal.exe"
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002cd
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"DefActionData",,"%WindowsJournal%\Journal.exe"

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + HOT2_KEY          0x840     IDS_BUTTONNAME_FN_HOT2_KEY 4212      "Fn + HotKey-2 Button"
;                               
;for Fn + HOT2_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\3
HKLM, %TabletPC_Path%\TabletButtons\3,"ButtonName",,"@MCTab.mco,-4212"
HKLM, %TabletPC_Path%\TabletButtons\3,"ButtonID",0x00010001,0x00000840
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000001a2
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"DefAction",0x00010001,0x80000003
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000206
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"DefAction",0x00010001,0x80000003
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000026a
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"DefAction",0x00010001,0x80000003
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002ce
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"DefAction",0x00010001,0x80000003

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;ESC_KEY                0x01      IDS_BUTTONNAME_ESC   4200           "Esc Button"
;
;for ESC_KEY send virtual code   1B,00,00,00 when logged VK_ESC, 00,00 , 00 key
;                                1B,00,00,00 when at SAS screen <- same as above
;
HKLM, %TabletPC_Path%\TabletButtons\4
HKLM, %TabletPC_Path%\TabletButtons\4,"ButtonName",,"@MCTab.mco,-4200"
HKLM, %TabletPC_Path%\TabletButtons\4,"ButtonID",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000191
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f5
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"DefActionData",0x00000001,0x1B,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000259
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"DefActionData",0x00000001,0x1B,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002bd
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"DefActionData",0x00000001,0x1B,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"WinLogonActionData",0x00000001,0x1B,00,00,00
;

;
;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\5
HKLM, %TabletPC_Path%\TabletButtons\5,"ButtonName",,"@MCTab.mco,-4100"
HKLM, %TabletPC_Path%\TabletButtons\5,"ButtonID",0x00010001,0x00000002
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000197
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"DefActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fb
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025f
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c3
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\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\6
HKLM, %TabletPC_Path%\TabletButtons\6,"ButtonName",,"@MCTab.mco,-4001"
HKLM, %TabletPC_Path%\TabletButtons\6,"ButtonID",0x00010001,0x00000004
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000193
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;UP become LEFT in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f7
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;UP become DOWN in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025b
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;UP become RIGHT in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002bf
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\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\7
HKLM, %TabletPC_Path%\TabletButtons\7,"ButtonName",,"@MCTab.mco,-4004"
HKLM, %TabletPC_Path%\TabletButtons\7,"ButtonID",0x00010001,0x00000008
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000194
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Left become DOWN in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f8
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Left become RIGHT in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025d
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Left become UP in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c0
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\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\8
HKLM, %TabletPC_Path%\TabletButtons\8,"ButtonName",,"@MCTab.mco,-4008"
HKLM, %TabletPC_Path%\TabletButtons\8,"ButtonID",0x00010001,0x00000010
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000195
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Right becomes UP in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f9
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Right become Left in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025c
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Right  become DOWN in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c1
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\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\9
HKLM, %TabletPC_Path%\TabletButtons\9,"ButtonName",,"@MCTab.mco,-4002"
HKLM, %TabletPC_Path%\TabletButtons\9,"ButtonID",0x00010001,0x00000020
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000196
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Down become Right in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fa
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Down become UP in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025e
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Down become Left in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c2
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00


;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + ESC_KEY           0x41     IDS_BUTTONNAME_ESC    4210		"Fn + Esc Button"
;
;for Fn + ESC_KEY send virtual code   1B,00,00,00 when logged VK_ESC, 00,00 , 00 key
;
HKLM, %TabletPC_Path%\TabletButtons\10
HKLM, %TabletPC_Path%\TabletButtons\10,"ButtonName",,"@MCTab.mco,-4210"
HKLM, %TabletPC_Path%\TabletButtons\10,"ButtonID",0x00010001,0x00000041
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019b
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"DefActionData",0x00000001,0x1B,04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"WinLogonActionData",0x00000001,0x1B,04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001ff
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"DefActionData",0x00000001,0x1B,0x04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"WinLogonActionData",0x00000001,0x1B,04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000263
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"DefActionData",0x00000001,0x1B,0x04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"WinLogonActionData",0x00000001,0x1B,04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c7
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"DefActionData",0x00000001,0x1B,0x04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"WinLogonActionData",0x00000001,0x1B,04,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\11
HKLM, %TabletPC_Path%\TabletButtons\11,"ButtonName",,"@MCTab.mco,-4110"
HKLM, %TabletPC_Path%\TabletButtons\11,"ButtonID",0x00010001,0x00000042
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019c
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"WinLogonActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000200
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"WinLogonActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000264
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"WinLogonActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c8
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\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\12
HKLM, %TabletPC_Path%\TabletButtons\12,"ButtonName",,"@MCTab.mco,-4011"
HKLM, %TabletPC_Path%\TabletButtons\12,"ButtonID",0x00010001,0x00000044
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019d
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"WinLogonActionData",0x00000001,0x21,0x08,00,00

;UP become LEFT in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;UP become DOWN in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000265
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;UP become RIGHT in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c9
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"DefActionData",0x00000001,0x09,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\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\13
HKLM, %TabletPC_Path%\TabletButtons\13,"ButtonName",,"@MCTab.mco,-4014"
HKLM, %TabletPC_Path%\TabletButtons\13,"ButtonID",0x00010001,0x00000048
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019e
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;Left become DOWN in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000202
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;Left become RIGHT in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000267
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"DefActionData",0x00000001,0x09,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"WinLogonActionData",0x00000001,0x09,0x00,00,00
;
;Left become UP in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002ca
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\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\14
HKLM, %TabletPC_Path%\TabletButtons\14,"ButtonName",,"@MCTab.mco,-4018"
HKLM, %TabletPC_Path%\TabletButtons\14,"ButtonID",0x00010001,0x00000050
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019f
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"DefActionData",0x00000001,0x09,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"WinLogonActionData",0x00000001,0x09,00,00,00
;
;Right becomes UP in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000203
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"WinLogonActionData",0x00000001,0x21,0x08,00,00
;
;Right become Left in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000266
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;Right  become DOWN in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002cb
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\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\15
HKLM, %TabletPC_Path%\TabletButtons\15,"ButtonName",,"@MCTab.mco,-4012"
HKLM, %TabletPC_Path%\TabletButtons\15,"ButtonID",0x00010001,0x00000060
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000001a0
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;Down become Right in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000204
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"DefActionData",0x00000001,0x09,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"WinLogonActionData",0x00000001,0x09,00,00,00
;
;Down become UP in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000268
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"WinLogonActionData",0x00000001,0x21,0x08,00,00
;
;Down become Left in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002cc
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\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\16
HKLM, %TabletPC_Path%\TabletButtons\16,"ButtonName",,"@MCTab.mco,-4040"
HKLM, %TabletPC_Path%\TabletButtons\16,"ButtonID",0x00010001,0x00000200
HKLM, %TabletPC_Path%\TabletButtons\16,"NoUI",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fc
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000260
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c4
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"WinLogonActionData",0x00010001,0

;Hardware button name   ButtonID  Resource Name        Resource ID
;DOCKP_KEY              0x400     IDS_BUTTONNAME_SCHIGH_KEY  4080
;Dock Portrait
HKLM, %TabletPC_Path%\TabletButtons\17
HKLM, %TabletPC_Path%\TabletButtons\17,"ButtonName",,"@MCTab.mco,-4080"
HKLM, %TabletPC_Path%\TabletButtons\17,"ButtonID",0x00010001,0x00000400
HKLM, %TabletPC_Path%\TabletButtons\17,"NoUI",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"WinLogonActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fc
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"WinLogonActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000260
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"WinLogonActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c4
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"WinLogonActionData",0x00010001,3

;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",,"A"
HKLM, %Dashboard_Path%, "MicOrientation",0x00010001,0
HKLM, %Dashboard_Path%\MicLandscape, "Spacing",0x00010001,28
HKLM, %Dashboard_Path%\MicLandscape, "Angle",0x00010001,0
HKLM, %Dashboard_Path%\MicLandscape, "Range",0x00010001,30
HKLM, %Dashboard_Path%\MicPortrait, "Spacing",0x00010001,17
HKLM, %Dashboard_Path%\MicPortrait, "Angle",0x00010001,0
HKLM, %Dashboard_Path%\MicPortrait, "Range",0x00010001,30

[MCButtonVista.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\8000000B
HKLM, %TabletPC_Path%\ButtonActions\8000000B,"ActionName",,"@tabbtn.dll,-10011"
HKLM, %TabletPC_Path%\ButtonActions\8000000C
HKLM, %TabletPC_Path%\ButtonActions\8000000C,"ActionName",,"@tabbtn.dll,-10012"
HKLM, %TabletPC_Path%\ButtonActions\8000000D
HKLM, %TabletPC_Path%\ButtonActions\8000000D,"ActionName",,"@tabbtn.dll,-10013"
HKLM, %TabletPC_Path%\ButtonActions\8000000E
HKLM, %TabletPC_Path%\ButtonActions\8000000E,"ActionName",,"@tabbtn.dll,-10014"
HKLM, %TabletPC_Path%\ButtonActions\80000010
HKLM, %TabletPC_Path%\ButtonActions\80000010,"ActionName",,"@tabbtn.dll,-10016"
HKLM, %TabletPC_Path%\ButtonActions\80000011
HKLM, %TabletPC_Path%\ButtonActions\80000011,"ActionName",,"@tabbtn.dll,-10017"
HKLM, %TabletPC_Path%\ButtonActions\80000012
HKLM, %TabletPC_Path%\ButtonActions\80000012,"ActionName",,"@tabbtn.dll,-10018"
HKLM, %TabletPC_Path%\ButtonActions\80000013
HKLM, %TabletPC_Path%\ButtonActions\80000013,"ActionName",,"@tabbtn.dll,-10019"
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\SecondaryLandscape
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryLandscape,"OrientationMode",0x00010001,00000002
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryLandscape,"DefaultOrientationSeq",0x00010001,0
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryPortrait
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryPortrait,"OrientationMode",0x00010001,00000001
;HKLM, %TabletPC_Path%\DisplayOrientations\SecondaryPortrait,"DefaultOrientationSeq",0x00010001,0

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

;
;Button bitmap definitions.
;#define UP_KEY		0x04
;#define DOWN_KEY	0x20
;#define LEFT_KEY	0x08
;#define RIGHT_KEY	0x10
;#define FUNC_KEY	0x40
;#define ENTER_KEY	0x02
;#define ESC_KEY	0x01
;#define HOT1_KEY	0x80
;#define HOT2_KEY	0x0800
;#define DOCKP_KEY	0x0400
;#define DOCKL_KEY	0x0200
          
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;HOT2_KEY               0x0800    IDS_BUTTONNAME_HOT2_KEY 4021     "HotKey-2 Button"
;
;HOT2_KEY: change the Orientation
;
HKLM, %TabletPC_Path%\TabletButtons\1
HKLM, %TabletPC_Path%\TabletButtons\1,"ButtonName",,"@MCTab.mco,-4021"
HKLM, %TabletPC_Path%\TabletButtons\1,"ButtonID",0x00010001,0x00000800
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000199
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fd
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000261
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c5
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"DefAction",0x00010001,0x80000006
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000006

;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\2
HKLM, %TabletPC_Path%\TabletButtons\2,"ButtonName",,"@MCTab.mco,-4211"
HKLM, %TabletPC_Path%\TabletButtons\2,"ButtonID",0x00010001,0x000000C0
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000001a1
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryLandscape,"DefActionData",,"%WindowsJournal%\Journal.exe"
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000205
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\PrimaryPortrait,"DefActionData",,"%WindowsJournal%\Journal.exe"
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000269
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryLandscape,"DefActionData",,"%WindowsJournal%\Journal.exe"
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002cd
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\2\SecondaryPortrait,"DefActionData",,"%WindowsJournal%\Journal.exe"

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + HOT2_KEY          0x840     IDS_BUTTONNAME_FN_HOT2_KEY 4212      "Fn + HotKey-2 Button"
;                               
;for Fn + HOT2_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\3
HKLM, %TabletPC_Path%\TabletButtons\3,"ButtonName",,"@MCTab.mco,-4212"
HKLM, %TabletPC_Path%\TabletButtons\3,"ButtonID",0x00010001,0x00000840
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000001a2
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"DefAction",0x00010001,0x80000003
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000206
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"DefAction",0x00010001,0x80000003
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000026a
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"DefAction",0x00010001,0x80000003
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002ce
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"DefAction",0x00010001,0x80000003

;
;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;ESC_KEY                0x01      IDS_BUTTONNAME_ESC   4200           "Esc Button"
;
;for ESC_KEY send virtual code   1B,00,00,00 when logged VK_ESC, 00,00 , 00 key
;                                1B,00,00,00 when at SAS screen <- same as above
;
HKLM, %TabletPC_Path%\TabletButtons\4
HKLM, %TabletPC_Path%\TabletButtons\4,"ButtonName",,"@MCTab.mco,-4200"
HKLM, %TabletPC_Path%\TabletButtons\4,"ButtonID",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000191
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f5
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"DefActionData",0x00000001,0x1B,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000259
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"DefActionData",0x00000001,0x1B,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002bd
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"DefActionData",0x00000001,0x1B,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"WinLogonActionData",0x00000001,0x1B,00,00,00
;

;
;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\5
HKLM, %TabletPC_Path%\TabletButtons\5,"ButtonName",,"@MCTab.mco,-4100"
HKLM, %TabletPC_Path%\TabletButtons\5,"ButtonID",0x00010001,0x00000002
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000197
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"DefActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fb
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025f
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c3
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\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\6
HKLM, %TabletPC_Path%\TabletButtons\6,"ButtonName",,"@MCTab.mco,-4001"
HKLM, %TabletPC_Path%\TabletButtons\6,"ButtonID",0x00010001,0x00000004
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000193
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;UP become LEFT in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f7
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;UP become DOWN in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025b
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;UP become RIGHT in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002bf
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\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\7
HKLM, %TabletPC_Path%\TabletButtons\7,"ButtonName",,"@MCTab.mco,-4004"
HKLM, %TabletPC_Path%\TabletButtons\7,"ButtonID",0x00010001,0x00000008
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000194
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Left become DOWN in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f8
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Left become RIGHT in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025d
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Left become UP in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c0
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\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\8
HKLM, %TabletPC_Path%\TabletButtons\8,"ButtonName",,"@MCTab.mco,-4008"
HKLM, %TabletPC_Path%\TabletButtons\8,"ButtonID",0x00010001,0x00000010
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000195
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Right becomes UP in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f9
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Right become Left in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025c
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Right  become DOWN in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c1
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\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\9
HKLM, %TabletPC_Path%\TabletButtons\9,"ButtonName",,"@MCTab.mco,-4002"
HKLM, %TabletPC_Path%\TabletButtons\9,"ButtonID",0x00010001,0x00000020
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000196
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Down become Right in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fa
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\PrimaryPortrait,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Down become UP in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025e
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Down become Left in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c2
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\9\SecondaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00


;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + ESC_KEY           0x41     IDS_BUTTONNAME_ESC    4210		"Fn + Esc Button"
;
;for Fn + ESC_KEY send virtual code   1B,00,00,00 when logged VK_ESC, 00,00 , 00 key
;
HKLM, %TabletPC_Path%\TabletButtons\10
HKLM, %TabletPC_Path%\TabletButtons\10,"ButtonName",,"@MCTab.mco,-4210"
HKLM, %TabletPC_Path%\TabletButtons\10,"ButtonID",0x00010001,0x00000041
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019b
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"DefActionData",0x00000001,0x1B,04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"WinLogonActionData",0x00000001,0x1B,04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001ff
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"DefActionData",0x00000001,0x1B,0x04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"WinLogonActionData",0x00000001,0x1B,04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000263
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"DefActionData",0x00000001,0x1B,0x04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"WinLogonActionData",0x00000001,0x1B,04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c7
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"DefActionData",0x00000001,0x1B,0x04,00,00
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"WinLogonActionData",0x00000001,0x1B,04,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\11
HKLM, %TabletPC_Path%\TabletButtons\11,"ButtonName",,"@MCTab.mco,-4110"
HKLM, %TabletPC_Path%\TabletButtons\11,"ButtonID",0x00010001,0x00000042
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019c
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryLandscape,"WinLogonActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000200
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\PrimaryPortrait,"WinLogonActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000264
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryLandscape,"WinLogonActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c8
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"DefActionData",0x00000001,0x5B,08,00,00
HKLM, %TabletPC_Path%\TabletButtons\11\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\11\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\12
HKLM, %TabletPC_Path%\TabletButtons\12,"ButtonName",,"@MCTab.mco,-4011"
HKLM, %TabletPC_Path%\TabletButtons\12,"ButtonID",0x00010001,0x00000044
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019d
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryLandscape,"WinLogonActionData",0x00000001,0x21,0x08,00,00

;UP become LEFT in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\PrimaryPortrait,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;UP become DOWN in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000265
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryLandscape,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;UP become RIGHT in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c9
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"DefActionData",0x00000001,0x09,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\12\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\12\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\13
HKLM, %TabletPC_Path%\TabletButtons\13,"ButtonName",,"@MCTab.mco,-4014"
HKLM, %TabletPC_Path%\TabletButtons\13,"ButtonID",0x00010001,0x00000048
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019e
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryLandscape,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;Left become DOWN in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000202
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\PrimaryPortrait,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;Left become RIGHT in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000267
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"DefActionData",0x00000001,0x09,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryLandscape,"WinLogonActionData",0x00000001,0x09,0x00,00,00
;
;Left become UP in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002ca
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\13\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\13\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\14
HKLM, %TabletPC_Path%\TabletButtons\14,"ButtonName",,"@MCTab.mco,-4018"
HKLM, %TabletPC_Path%\TabletButtons\14,"ButtonID",0x00010001,0x00000050
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019f
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"DefActionData",0x00000001,0x09,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryLandscape,"WinLogonActionData",0x00000001,0x09,00,00,00
;
;Right becomes UP in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000203
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\PrimaryPortrait,"WinLogonActionData",0x00000001,0x21,0x08,00,00
;
;Right become Left in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000266
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryLandscape,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;Right  become DOWN in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002cb
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\14\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\14\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\15
HKLM, %TabletPC_Path%\TabletButtons\15,"ButtonName",,"@MCTab.mco,-4012"
HKLM, %TabletPC_Path%\TabletButtons\15,"ButtonID",0x00010001,0x00000060
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000001a0
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryLandscape,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;Down become Right in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000204
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"DefActionData",0x00000001,0x09,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\PrimaryPortrait,"WinLogonActionData",0x00000001,0x09,00,00,00
;
;Down become UP in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000268
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryLandscape,"WinLogonActionData",0x00000001,0x21,0x08,00,00
;
;Down become Left in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002cc
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %TabletPC_Path%\TabletButtons\15\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\15\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\16
HKLM, %TabletPC_Path%\TabletButtons\16,"ButtonName",,"@MCTab.mco,-4040"
HKLM, %TabletPC_Path%\TabletButtons\16,"ButtonID",0x00010001,0x00000200
HKLM, %TabletPC_Path%\TabletButtons\16,"NoUI",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryLandscape,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fc
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\PrimaryPortrait,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000260
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryLandscape,"WinLogonActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c4
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"DefActionData",0x00010001,0
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\16\SecondaryPortrait,"WinLogonActionData",0x00010001,0

;Hardware button name   ButtonID  Resource Name        Resource ID
;DOCKP_KEY              0x400     IDS_BUTTONNAME_SCHIGH_KEY  4080
;Dock Portrait
HKLM, %TabletPC_Path%\TabletButtons\17
HKLM, %TabletPC_Path%\TabletButtons\17,"ButtonName",,"@MCTab.mco,-4080"
HKLM, %TabletPC_Path%\TabletButtons\17,"ButtonID",0x00010001,0x00000400
HKLM, %TabletPC_Path%\TabletButtons\17,"NoUI",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryLandscape,"WinLogonActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fc
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\PrimaryPortrait,"WinLogonActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000260
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryLandscape,"WinLogonActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c4
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\17\SecondaryPortrait,"WinLogonActionData",0x00010001,3

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

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

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

;Mic Rotation Keys.
HKLM, %Dashboard_Path%, "MicMode",,"A"
HKLM, %Dashboard_Path%, "MicOrientation",0x00010001,0
HKLM, %Dashboard_Path%\MicLandscape, "Spacing",0x00010001,28
HKLM, %Dashboard_Path%\MicLandscape, "Angle",0x00010001,0
HKLM, %Dashboard_Path%\MicLandscape, "Range",0x00010001,30
HKLM, %Dashboard_Path%\MicPortrait, "Spacing",0x00010001,17
HKLM, %Dashboard_Path%\MicPortrait, "Angle",0x00010001,0
HKLM, %Dashboard_Path%\MicPortrait, "Range",0x00010001,30

[MCButton32.AddReg]
;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,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\dblaunch.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\dblaunch.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fc
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\dblaunch.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\dblaunch.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000260
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\dblaunch.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\dblaunch.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c4
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\dblaunch.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\dblaunch.exe"

[MCButton64.AddReg]
;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,0x0000012c
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\dblaunch64.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\dblaunch64.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fc
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\dblaunch64.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\dblaunch64.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000260
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\dblaunch64.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\dblaunch64.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c4
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\dblaunch64.exe"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\dblaunch64.exe"

[Strings]
;----------------------------------------------------------
MCO= "Motion Computing Inc."
DiskDescription="Motion Computing Button Driver Disk"
ACPI\MotionTabletPCButtons="Motion Computing Tablet PC Buttons"
MCButton.SVCDESC="Motion Computing Tablet PC Buttons Rev.P2 HID Driver"
TabletPC_Path="SYSTEM\CurrentControlSet\Control\TabletPC"
Environment_Path="SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
Dashboard_Path="Software\Motion Computing\Motion Dashboard"
Disk1        = "Motion Computing Inc. Installation Disk #1 (Motion Button Driver)"

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: web5, load: 0.72