mctabbtn.inf Driver File Contents (LS800-ButtonDrivers.zip)

; MCTabBtn.INF
; Copyright (c) Motion Computing, Inc. All rights reserved

[version]
signature="$WINDOWS NT$"
Provider=%MCO%
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Class=HIDClass
DriverVer=04/15/2005,3.1.1.7
CatalogFile=TabOEM.cat

[SourceDisksNames]
1=%DiskDescription%,"",,

[SourceDisksFiles]
MSTabBtn.sys=1
mctab.dll=1
mclaunch.dll=1
mcres.exe=1
mcrotate.exe=1
mcoinst.dll=1

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir              =11     ;LDID_SYS
MSTabBtnInst.NT.Copy        =12     ;LDID_DRIVERS
DLLFiles.CopyList           =11     ;for copying mctab.dll to winnt\system32
DELFILES		    =11	    ;for deleting DLLs and EXE
DELSYSFILE		    =12	    ;for deleting SYS file


; Drivers
;----------------------------------------------------------
[Manufacturer]
%MCO%=MCO

[MCO]
%ACPI\MSTabletPCButtons%    =MSTabBtnInst,*MCO0101

[MSTabBtnInst.NT.HW]
AddReg                      =MSTabBtnInst.NT.AddReg


[MSTabBtnInst.NT.CoInstallers]
AddReg                      =MCOInst.AddReg
CopyFiles                   =MCOInst.CopyFiles

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

[MCOInst.CopyFiles]
MCOInst.DLL,,,0x10 


[MSTabBtnInst.NT.AddReg]
HKLM, %Control_Path%\TabletPC
HKLM, %Control_Path%\TabletPC\ButtonActions
HKLM, %Control_Path%\TabletPC\ButtonActions\80000000
HKLM, %Control_Path%\TabletPC\ButtonActions\80000000,"ActionName",,"@tabbtn.dll,-10000"
HKLM, %Control_Path%\TabletPC\ButtonActions\80000001
HKLM, %Control_Path%\TabletPC\ButtonActions\80000001,"ActionName",,"@tabbtn.dll,-10001"
HKLM, %Control_Path%\TabletPC\ButtonActions\80000002
HKLM, %Control_Path%\TabletPC\ButtonActions\80000002,"ActionName",,"@tabbtn.dll,-10002"
HKLM, %Control_Path%\TabletPC\ButtonActions\80000003
HKLM, %Control_Path%\TabletPC\ButtonActions\80000003,"ActionName",,"@tabbtn.dll,-10003"
HKLM, %Control_Path%\TabletPC\ButtonActions\80000004
HKLM, %Control_Path%\TabletPC\ButtonActions\80000004,"ActionName",,"@tabbtn.dll,-10004"
HKLM, %Control_Path%\TabletPC\ButtonActions\80000005
HKLM, %Control_Path%\TabletPC\ButtonActions\80000005,"ActionName",,"@tabbtn.dll,-10005"
HKLM, %Control_Path%\TabletPC\ButtonActions\80000006
HKLM, %Control_Path%\TabletPC\ButtonActions\80000006,"ActionName",,"@tabbtn.dll,-10006"
HKLM, %Control_Path%\TabletPC\ButtonActions\80000007
HKLM, %Control_Path%\TabletPC\ButtonActions\80000007,"ActionName",,"@tabbtn.dll,-10007"
HKLM, %Control_Path%\TabletPC\ButtonActions\80000008
HKLM, %Control_Path%\TabletPC\ButtonActions\80000008,"ActionName",,"@tabbtn.dll,-10008"
HKLM, %Control_Path%\TabletPC\ButtonActions\80000009
HKLM, %Control_Path%\TabletPC\ButtonActions\80000009,"ActionName",,"@tabbtn.dll,-10009"
HKLM, %Control_Path%\TabletPC\ButtonActions\8000000A
HKLM, %Control_Path%\TabletPC\ButtonActions\8000000A,"ActionName",,"@tabbtn.dll,-10010"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010001
HKLM, %Control_Path%\TabletPC\ButtonActions\80010001,"ActionName",,"@tabbtn.dll,-11001"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010002
HKLM, %Control_Path%\TabletPC\ButtonActions\80010002,"ActionName",,"@tabbtn.dll,-11002"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010003
HKLM, %Control_Path%\TabletPC\ButtonActions\80010003,"ActionName",,"@tabbtn.dll,-11003"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010004
HKLM, %Control_Path%\TabletPC\ButtonActions\80010004,"ActionName",,"@tabbtn.dll,-11004"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010005
HKLM, %Control_Path%\TabletPC\ButtonActions\80010005,"ActionName",,"@tabbtn.dll,-11005"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010006
HKLM, %Control_Path%\TabletPC\ButtonActions\80010006,"ActionName",,"@tabbtn.dll,-11006"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010007
HKLM, %Control_Path%\TabletPC\ButtonActions\80010007,"ActionName",,"@tabbtn.dll,-11007"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010008
HKLM, %Control_Path%\TabletPC\ButtonActions\80010008,"ActionName",,"@tabbtn.dll,-11008"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010009
HKLM, %Control_Path%\TabletPC\ButtonActions\80010009,"ActionName",,"@tabbtn.dll,-11009"
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000A
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000A,"ActionName",,"@tabbtn.dll,-11010"
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000B
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000B,"ActionName",,"@tabbtn.dll,-11011"
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000C
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000C,"ActionName",,"@tabbtn.dll,-11012"
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000D
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000D,"ActionName",,"@tabbtn.dll,-11013"
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000E
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000E,"ActionName",,"@tabbtn.dll,-11014"
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000F
HKLM, %Control_Path%\TabletPC\ButtonActions\8001000F,"ActionName",,"@tabbtn.dll,-11015"
HKLM, %Control_Path%\TabletPC\ButtonActions\80010010
HKLM, %Control_Path%\TabletPC\ButtonActions\80010010,"ActionName",,"@tabbtn.dll,-11016"
HKLM, %Control_Path%\TabletPC\DisplayOrientations
HKLM, %Control_Path%\TabletPC\DisplayOrientations\PrimaryLandscape
;
;set "DefaultOrientationSeq" to Zero (0) if you don't want to switch to it
;
HKLM, %Control_Path%\TabletPC\DisplayOrientations\PrimaryLandscape,"OrientationMode",0x00010001,00000000
HKLM, %Control_Path%\TabletPC\DisplayOrientations\PrimaryLandscape,"DefaultOrientationSeq",0x00010001,1
HKLM, %Control_Path%\TabletPC\DisplayOrientations\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\DisplayOrientations\PrimaryPortrait,"OrientationMode",0x00010001,00000001
HKLM, %Control_Path%\TabletPC\DisplayOrientations\PrimaryPortrait,"DefaultOrientationSeq",0x00010001,2
HKLM, %Control_Path%\TabletPC\DisplayOrientations\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\DisplayOrientations\SecondaryLandscape,"OrientationMode",0x00010001,00000002
HKLM, %Control_Path%\TabletPC\DisplayOrientations\SecondaryLandscape,"DefaultOrientationSeq",0x00010001,3
HKLM, %Control_Path%\TabletPC\DisplayOrientations\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\DisplayOrientations\SecondaryPortrait,"OrientationMode",0x00010001,00000003
HKLM, %Control_Path%\TabletPC\DisplayOrientations\SecondaryPortrait,"DefaultOrientationSeq",0x00010001,4
HKLM, %Control_Path%\TabletPC\TabletButtons
HKLM, %Control_Path%\TabletPC\TabletButtons,"NumButtons",0x00010001,0x00000012
HKLM, %Control_Path%\TabletPC\TabletButtons,"FnKeyButton",0x00010001,0x00000040
HKLM, %Control_Path%\TabletPC\TabletButtons,"ImageDLL",,"mctab.dll"

;
;These defination are for your help
;Put ButtonID below here 
;#define UP_KEY		0x04
;#define DOWN_KEY	0x20
;#define LEFT_KEY	0x08
;#define RIGHT_KEY	0x10
;#define FUNC_KEY	0x40
;#define HOT2_KEY	0x0800
;#define SCLOW_KEY	0x0200
;#define SCHIGH_KEY	0x0400
;#define ENTER_KEY	0x02
;#define ESC_KEY	0x01
;#define SAS_KEY	0x0100
;#define HOT1_KEY	0x80                                                                             

;
;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;ESC_KEY                     0x01     IDS_BUTTONNAME_ESC_KEY    4200           "Esc Key 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, %Control_Path%\TabletPC\TabletButtons\0
HKLM, %Control_Path%\TabletPC\TabletButtons\0,"ButtonName",,"@mctab.dll,-4200"
HKLM, %Control_Path%\TabletPC\TabletButtons\0,"ButtonID",0x00010001,0x00000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0,"NoUI",0x00010001,0x00000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000191
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryLandscape,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f5
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryPortrait,"DefActionData",0x00000001,0x1B,0x00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0\PrimaryPortrait,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000259
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryLandscape,"DefActionData",0x00000001,0x1B,0x00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002bd
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryPortrait,"DefActionData",0x00000001,0x1B,0x00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\0\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\0\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_KEY    4100           "Enter Key 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, %Control_Path%\TabletPC\TabletButtons\1
HKLM, %Control_Path%\TabletPC\TabletButtons\1,"ButtonName",,"@mctab.dll,-4100"
HKLM, %Control_Path%\TabletPC\TabletButtons\1,"ButtonID",0x00010001,0x00000002
HKLM, %Control_Path%\TabletPC\TabletButtons\1,"NoUI",0x00010001,0x00000001
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019a
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryLandscape,"DefActionData",0x00000001,0x0D,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fe
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\1\PrimaryPortrait,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000262
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryLandscape,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c6
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\1\SecondaryPortrait,"WinLogonActionData",0x00000001,0x0D,00,00,00

;
;secondary Landscape is oppsite of Primary landscape 
;so UP becomes down,left becomes right  and vice versa
;so just change the button ID
;

;
;Hardware button name      ButtonID      Resource Name        ResourceID  This will be displayed in Control Panel    
;UP_KEY                     0x04      IDS_BUTTONNAME_UP_KEY    4001           "Up Key Button"
;for 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, %Control_Path%\TabletPC\TabletButtons\2
HKLM, %Control_Path%\TabletPC\TabletButtons\2,"ButtonName",,"@mctab.dll,-4001"
HKLM, %Control_Path%\TabletPC\TabletButtons\2,"ButtonID",0x00010001,0x00000004
HKLM, %Control_Path%\TabletPC\TabletButtons\2,"NoUI",0x00010001,0x00000001
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000193
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;UP become RIGHT in PrimaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f7
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\2\PrimaryPortrait,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;UP become DOWN in SecondaryLandscape
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025b
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;UP become LEFT in SecondaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002bf
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\2\SecondaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00

;
;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;LEFT_KEY                     0x08      IDS_BUTTONNAME_LEFT_KEY    4004        "Left Key Button"
;                               
;for 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, %Control_Path%\TabletPC\TabletButtons\3
HKLM, %Control_Path%\TabletPC\TabletButtons\3,"ButtonName",,"@mctab.dll,-4004"
HKLM, %Control_Path%\TabletPC\TabletButtons\3,"ButtonID",0x00010001,0x00000008
HKLM, %Control_Path%\TabletPC\TabletButtons\3,"NoUI",0x00010001,0x00000001
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000194
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Left become UP in PrimaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f8
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\3\PrimaryPortrait,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Left become RIGHT in SecondaryLandscape
;
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025c
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Left become DOWN in SecondaryPortrait
;
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c0
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\3\SecondaryPortrait,"WinLogonActionData",0x00000001,0x28,0x08,00,00

;
;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;RIGHT_KEY                     0x10      IDS_BUTTONNAME_RIGHT_KEY    4008   
;                               
;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, %Control_Path%\TabletPC\TabletButtons\4
HKLM, %Control_Path%\TabletPC\TabletButtons\4,"ButtonName",,"@mctab.dll,-4008"
HKLM, %Control_Path%\TabletPC\TabletButtons\4,"ButtonID",0x00010001,0x00000010
HKLM, %Control_Path%\TabletPC\TabletButtons\4,"NoUI",0x00010001,0x00000001
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000195
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Right becomes DOWN in PrimaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001f9
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\4\PrimaryPortrait,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Right become Left in SecondaryLandscape
;
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025d
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Right  become UP in SecondaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c1
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\4\SecondaryPortrait,"WinLogonActionData",0x00000001,0x26,0x08,00,00

;
;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;DOWN_KEY                     0x20      IDS_BUTTONNAME_DOWN_KEY    4002           "Down Key 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, %Control_Path%\TabletPC\TabletButtons\5
HKLM, %Control_Path%\TabletPC\TabletButtons\5,"ButtonName",,"@mctab.dll,-4002"
HKLM, %Control_Path%\TabletPC\TabletButtons\5,"ButtonID",0x00010001,0x00000020
HKLM, %Control_Path%\TabletPC\TabletButtons\5,"NoUI",0x00010001,0x00000001
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000196
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Down become Left  in PrimaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fa
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\5\PrimaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Down become UP  in SecondaryLandscape
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000025e
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Down become Right in SecondaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c2
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\5\SecondaryPortrait,"WinLogonActionData",0x00000001,0x27,0x08,00,00

;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;SAS_KEY                     0x0100      IDS_BUTTONNAME_DOWN_KEY    4400
;
;for SAS_KEY send virtual code   2E,06,00,00 when logged VK_DELETE, CTRL+ALT,00 , 00 key
;                                2E,06,00,00 when at SAS screen <- same as above
;
;HKLM, %Control_Path%\TabletPC\TabletButtons\6
;HKLM, %Control_Path%\TabletPC\TabletButtons\6,"ButtonName",,"@mctab.dll,-4400"
;HKLM, %Control_Path%\TabletPC\TabletButtons\6,"ButtonID",0x00010001,0x00000100
;HKLM, %Control_Path%\TabletPC\TabletButtons\6,"NoUI",0x00010001,0x00000001
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019a
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"DefAction",0x00010001,0x80000001
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"DefActionData",0x00000001,0x2E,06,00,00
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"WinLogonActionData",0x00000001,0x2E,06,00,00
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fe
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"DefAction",0x00010001,0x80000001
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"DefActionData",0x00000001,0x2E,0x06,00,00
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"WinLogonActionData",0x00000001,0x2E,06,00,00
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000262
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"DefAction",0x00010001,0x80000001
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"DefActionData",0x00000001,0x2E,0x06,00,00
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"WinLogonActionData",0x00000001,0x2E,06,00,00
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c6
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"DefAction",0x00010001,0x80000001
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"DefActionData",0x00000001,0x2E,0x06,00,00
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
;HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"WinLogonActionData",0x00000001,0x2E,06,00,00


;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, %Control_Path%\TabletPC\TabletButtons\7
HKLM, %Control_Path%\TabletPC\TabletButtons\7,"ButtonName",,"@mctab.dll,-4020"
HKLM, %Control_Path%\TabletPC\TabletButtons\7,"ButtonID",0x00010001,0x00000080
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000001fc
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\7\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000260
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c4
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\dashboard.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\7\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\7\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, %Control_Path%\TabletPC\TabletButtons\8
HKLM, %Control_Path%\TabletPC\TabletButtons\8,"ButtonName",,"@mctab.dll,-4021"
HKLM, %Control_Path%\TabletPC\TabletButtons\8,"ButtonID",0x00010001,0x00000800
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcrotate.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcrotate.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryPortrait,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000198
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcrotate.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\8\PrimaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcrotate.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000198
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcrotate.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryLandscape,"WinLogonActionData",,"%SystemRoot%\system32\mcrotate.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryPortrait,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000198
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcrotate.exe"
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\8\SecondaryPortrait,"WinLogonActionData",,"%SystemRoot%\system32\mcrotate.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, %Control_Path%\TabletPC\TabletButtons\9
HKLM, %Control_Path%\TabletPC\TabletButtons\9,"ButtonName",,"@mctab.dll,-4212"
HKLM, %Control_Path%\TabletPC\TabletButtons\9,"ButtonID",0x00010001,0x00000840
HKLM, %Control_Path%\TabletPC\TabletButtons\9\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\9\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\9\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000001a2
HKLM, %Control_Path%\TabletPC\TabletButtons\9\PrimaryLandscape,"DefAction",0x00010001,0x80000003
;
;Down become Left  in PrimaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\9\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\9\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\9\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000206
HKLM, %Control_Path%\TabletPC\TabletButtons\9\PrimaryPortrait,"DefAction",0x00010001,0x80000003
;
;Down become UP  in SecondaryLandscape
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\9\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\9\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\9\SecondaryLandscape,"ImageIDDetail",0x00010001,0x0000026a
HKLM, %Control_Path%\TabletPC\TabletButtons\9\SecondaryLandscape,"DefAction",0x00010001,0x80000003
;
;Down become Right in SecondaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\9\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\9\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\9\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002ce
HKLM, %Control_Path%\TabletPC\TabletButtons\9\SecondaryPortrait,"DefAction",0x00010001,0x80000003

;
;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, %Control_Path%\TabletPC\TabletButtons\10
HKLM, %Control_Path%\TabletPC\TabletButtons\10,"ButtonName",,"@mctab.dll,-4211"
HKLM, %Control_Path%\TabletPC\TabletButtons\10,"ButtonID",0x00010001,0x000000C0
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000001a1
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryLandscape,"DefActionData",,"%WindowsJournal%\Journal.exe"
;
;Down become Left  in PrimaryPortrait
;
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000205
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\10\PrimaryPortrait,"DefActionData",,"%WindowsJournal%\Journal.exe"
;
;Down become UP  in SecondaryLandscape
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000269
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryLandscape,"DefActionData",,"%WindowsJournal%\Journal.exe"
;
;Down become Right in SecondaryPortrait
;
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002cd
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %Control_Path%\TabletPC\TabletButtons\10\SecondaryPortrait,"DefActionData",,"%WindowsJournal%\Journal.exe"

;
;now make entries for Fn + key.This is the secondary action defined by motion button spec v.0.81
;

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


;secondary Landscape is oppsite of Primary landscape 
;so UP becomes down,left becomes right  and vice versa
;so just change the button ID
;

;
;Hardware button name      ButtonID      Resource Name        ResourceID  This will be displayed in Control Panel    
;Fn + UP_KEY                 0x44      IDS_BUTTONNAME_UP_KEY    4011           "Fn + Up Key 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, %Control_Path%\TabletPC\TabletButtons\13
HKLM, %Control_Path%\TabletPC\TabletButtons\13,"ButtonName",,"@mctab.dll,-4011"
HKLM, %Control_Path%\TabletPC\TabletButtons\13,"ButtonID",0x00010001,0x00000044
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019d
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryLandscape,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryLandscape,"WinLogonActionData",0x00000001,0x21,0x08,00,00

;UP become RIGHT in PrimaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000201
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryPortrait,"DefActionData",0x00000001,0x09,0x00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\13\PrimaryPortrait,"WinLogonActionData",0x00000001,0x09,0x00,00,00
;
;UP become DOWN in SecondaryLandscape
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000265
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryLandscape,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryLandscape,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;UP become LEFT in SecondaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002c9
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryPortrait,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\13\SecondaryPortrait,"WinLogonActionData",0x00000001,0x09,0x01,00,00

;
;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;Fn + LEFT_KEY                 0x48      IDS_BUTTONNAME_LEFT_KEY    4014        "Fn + Left Key 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, %Control_Path%\TabletPC\TabletButtons\14
HKLM, %Control_Path%\TabletPC\TabletButtons\14,"ButtonName",,"@mctab.dll,-4014"
HKLM, %Control_Path%\TabletPC\TabletButtons\14,"ButtonID",0x00010001,0x00000048
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019e
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryLandscape,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryLandscape,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;Left become UP in PrimaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000202
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryPortrait,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\14\PrimaryPortrait,"WinLogonActionData",0x00000001,0x21,0x08,00,00
;
;Left become RIGHT in SecondaryLandscape
;
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000266
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryLandscape,"DefActionData",0x00000001,0x09,0x00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryLandscape,"WinLogonActionData",0x00000001,0x09,0x00,00,00
;
;Left become DOWN in SecondaryPortrait
;
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002ca
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryPortrait,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\14\SecondaryPortrait,"WinLogonActionData",0x00000001,0x22,0x08,00,00

;
;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;Fn + RIGHT_KEY                     0x50      IDS_BUTTONNAME_RIGHT_KEY    4018   "Fn + Right Key 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, %Control_Path%\TabletPC\TabletButtons\15
HKLM, %Control_Path%\TabletPC\TabletButtons\15,"ButtonName",,"@mctab.dll,-4018"
HKLM, %Control_Path%\TabletPC\TabletButtons\15,"ButtonID",0x00010001,0x00000050
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryLandscape,"ImageIDDetail",0x00010001,0x0000019f
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryLandscape,"DefActionData",0x00000001,0x09,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryLandscape,"WinLogonActionData",0x00000001,0x09,00,00,00
;
;Right becomes DOWN in PrimaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000203
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryPortrait,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\15\PrimaryPortrait,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;Right become Left in SecondaryLandscape
;
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000267
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryLandscape,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryLandscape,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;Right  become UP in SecondaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002cb
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryPortrait,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\15\SecondaryPortrait,"WinLogonActionData",0x00000001,0x21,0x08,00,00

;
;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;Fn + DOWN_KEY                0x60      IDS_BUTTONNAME_DOWN_KEY    4012           "Fn + Down Key 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, %Control_Path%\TabletPC\TabletButtons\16
HKLM, %Control_Path%\TabletPC\TabletButtons\16,"ButtonName",,"@mctab.dll,-4012"
HKLM, %Control_Path%\TabletPC\TabletButtons\16,"ButtonID",0x00010001,0x00000060
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000001a0
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryLandscape,"DefActionData",0x00000001,0x22,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryLandscape,"WinLogonActionData",0x00000001,0x22,0x08,00,00
;
;Down become Left  in PrimaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000204
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryPortrait,"DefActionData",0x00000001,0x09,0x01,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\16\PrimaryPortrait,"WinLogonActionData",0x00000001,0x09,0x01,00,00
;
;Down become UP  in SecondaryLandscape
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000268
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryLandscape,"DefActionData",0x00000001,0x21,0x08,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryLandscape,"WinLogonActionData",0x00000001,0x21,0x08,00,00
;
;Down become Right in SecondaryPortrait
;                
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000002cc
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryPortrait,"DefActionData",0x00000001,0x09,00,00,00
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\16\SecondaryPortrait,"WinLogonActionData",0x00000001,0x09,00,00,00

;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;SCLOW_KEY                   0x0200      IDS_BUTTONNAME_SCLOW_KEY    4040 
;
;Screen Rotate Low ->Launch(RotateScreen,2) (NULL)
;
HKLM, %Control_Path%\TabletPC\TabletButtons\17
HKLM, %Control_Path%\TabletPC\TabletButtons\17,"ButtonName",,"@mctab.dll,-4040"
HKLM, %Control_Path%\TabletPC\TabletButtons\17,"ButtonID",0x00010001,0x00000200
HKLM, %Control_Path%\TabletPC\TabletButtons\17,"NoUI",0x00010001,0x00000001
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000000c9
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryLandscape,"DefActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryLandscape,"WinLogonActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000000c8
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryPortrait,"DefActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\17\PrimaryPortrait,"WinLogonActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryLandscape,"ImageIDDetail",0x00010001,0x000000c9
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryLandscape,"DefActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryLandscape,"WinLogonActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000000dc
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryPortrait,"DefActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\17\SecondaryPortrait,"WinLogonActionData",0x00000001,00

;Hardware button name       ButtonID      Resource Name           ResourceID  This will be displayed in Control Panel    
;SCHIGH_KEY                  0x0400      IDS_BUTTONNAME_SCHIGH_KEY    4080     
;
;Screen Rotate High ->Launch(RotateScreen,1) (NULL)
;
HKLM, %Control_Path%\TabletPC\TabletButtons\6
HKLM, %Control_Path%\TabletPC\TabletButtons\6,"ButtonName",,"@mctab.dll,-4080"
HKLM, %Control_Path%\TabletPC\TabletButtons\6,"ButtonID",0x00010001,0x00000400
HKLM, %Control_Path%\TabletPC\TabletButtons\6,"NoUI",0x00010001,0x00000001
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"ImageID",0x00010001,0x0000012c
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"ImageIDDetail",0x00010001,0x000000c9
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"DefActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryLandscape,"WinLogonActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"ImageID",0x00010001,0x0000012d
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"ImageIDDetail",0x00010001,0x000000c8
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"DefActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\6\PrimaryPortrait,"WinLogonActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"ImageID",0x00010001,0x0000012e
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"ImageIDDetail",0x00010001,0x000000c9
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"DefActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryLandscape,"WinLogonActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"ImageID",0x00010001,0x0000012f
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"ImageIDDetail",0x00010001,0x000000dc
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"DefActionData",0x00000001,00
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %Control_Path%\TabletPC\TabletButtons\6\SecondaryPortrait,"WinLogonActionData",0x00000001,00

;Environment var for Journal
HKLM, %Control_Path%\Session Manager\Environment,"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, Software\Motion Computing\Motion Dashboard, "MicMode",,"A"
HKLM, Software\Motion Computing\Motion Dashboard, "MicOrientation",0x00010001,0
HKLM, Software\Motion Computing\Motion Dashboard\MicLandscape, "Spacing",0x00010001,28
HKLM, Software\Motion Computing\Motion Dashboard\MicLandscape, "Angle",0x00010001,0
HKLM, Software\Motion Computing\Motion Dashboard\MicLandscape, "Range",0x00010001,30
HKLM, Software\Motion Computing\Motion Dashboard\MicPortrait, "Spacing",0x00010001,17
HKLM, Software\Motion Computing\Motion Dashboard\MicPortrait, "Angle",0x00010001,0
HKLM, Software\Motion Computing\Motion Dashboard\MicPortrait, "Range",0x00010001,30


[MSTabBtnInst.NT]
CopyFiles                   =MSTabBtnInst.NT.Copy, DLLFiles.CopyList
DelFiles                    =DELSYSFILE, DELFILES

[MSTabBtnInst.NT.Copy]
MSTabBtn.sys

[DLLFiles.CopyList]
mctab.dll
mclaunch.dll
mcres.exe
mcrotate.exe
mcoinst.dll

[DELSYSFILE]
MSTabBtn.sys

[DELFILES]
mctab.dll
mclaunch.dll
mcres.exe
mcrotate.exe
mcoinst.dll

[MSTabBtnInst.NT.Services]
AddService                  =MSTabBtn,0x00000002,MSTabBtnServiceInst,MSTabBtnEventLogInst

[MSTabBtnEventLogInst]
AddReg                      =MSTabBtnEventLogAddReg

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

; -------------- Tablet PC Buttons Driver install section
[MSTabBtnServiceInst]
DisplayName    = %MSTabBtn.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ;
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\MSTabBtn.sys
LoadOrderGroup = Extended Base

; User readable strings
;----------------------------------------------------------
[Strings]
MCO= "Motion Computing Inc."
DiskDescription="Motion Computing Button Driver Disk"
ACPI\MSTabletPCButtons="Motion Computing Tablet PC Buttons"
MSTabBtn.SVCDESC="Motion Computing Tablet PC Buttons HID Driver"
Control_Path="SYSTEM\CurrentControlSet\Control"
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: ftp, load: 1.87