MCButtonVst.inf Driver File Contents (ButtonDriver_v4300.zip)

; Motion Computing J3400 Button Driver (XP, Vista 32- and 64-bit)
; Copyright (c) Motion Computing, Inc. All rights reserved

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

[ControlFlags]
ExcludeFromSelect=*

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

MCButton_Inst64.Copy        =12  ;LDID_DRIVERS
SupportFiles64.Copy         =11  ;Support files go in System32
DELFILES64                  =11	 ;for deleting DLLs and EXE
DELSYSFILE64                =12	 ;for deleting SYS file

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


; ---------------------------------------------------------
; Devices Section for Vista 32-bit
[Motion.NTx86]
%ACPI\MotionTabletPCButtons%  =MCButton_Inst,ACPI\MCO0104

; Devices Section for Vista 64-bit
[Motion.NTamd64]
%ACPI\MotionTabletPCButtons%  =MCButton_Inst64,ACPI\MCO0104


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

[MCButton_Inst.Copy]
MCButton32.sys

[SupportFiles.Copy]
MCTab.mco
mclauncher.exe
mcprelaunch.exe
dblaunch.exe
mclaunch.dll

[DELSYSFILE]
MCButton32.sys

[DELFILES]
MCTab.mco
mclauncher.exe
mcprelaunch.exe
dblaunch.exe
mclaunch.dll

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

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

[MCButtonEventLogInst]
AddReg                      =MCButtonEventLogAddReg

[MCButtonEventLogAddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\MCButton32.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%\MCButton32.sys
LoadOrderGroup = Extended Base

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

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

[MCOInst.CopyFiles]
mcoinst2.dll

[MCOInst.DelFiles]
mcoinst2.dll

;----------------------------------------------------------
; Install Section for Vista 64-bit
[MCButton_Inst64.NTamd64]
CopyFiles                   =MCButton_Inst64.Copy, SupportFiles64.Copy
DelFiles                    =DELSYSFILE64, DELFILES64

[MCButton_Inst64.Copy]
MCButton64.sys

[SupportFiles64.Copy]
MCTab.mco
mclauncher.exe
mcprelaunch.exe
dblaunch.exe

[DELSYSFILE64]
MCButton64.sys

[DELFILES64]
MCTab.mco
mclauncher.exe
mcprelaunch.exe
dblaunch.exe

[MCButton_Inst64.NTamd64.HW]
DelReg                      =MCButton_Inst.NT.DelReg
AddReg                      =MCButton_Inst.NT.AddReg

[MCButton_Inst64.NTamd64.Services]
AddService                  =MCButton64,0x00000002,MCButtonServiceInst64,MCButtonEventLogInst64

[MCButtonEventLogInst64]
AddReg                      =MCButtonEventLogAddReg64

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

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

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

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

[SourceDisksFiles]
MCButton32.sys=1
MCButton64.sys=1
MCTab.mco=1
mclauncher.exe=1
mcprelaunch.exe=1
mcoinst2.dll=1
dblaunch.exe=1
mclaunch.dll=1


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

[MCButton_Inst.NT.AddReg]
HKLM, %TabletPC_Path%
HKLM, %TabletPC_Path%\ButtonActions
HKLM, %TabletPC_Path%\ButtonActions\80000000
HKLM, %TabletPC_Path%\ButtonActions\80000000,"ActionName",,"@tabbtn.dll,-10000"
HKLM, %TabletPC_Path%\ButtonActions\80000001
HKLM, %TabletPC_Path%\ButtonActions\80000001,"ActionName",,"@tabbtn.dll,-10001"
HKLM, %TabletPC_Path%\ButtonActions\80000002
HKLM, %TabletPC_Path%\ButtonActions\80000002,"ActionName",,"@tabbtn.dll,-10002"
HKLM, %TabletPC_Path%\ButtonActions\80000003
HKLM, %TabletPC_Path%\ButtonActions\80000003,"ActionName",,"@tabbtn.dll,-10003"
HKLM, %TabletPC_Path%\ButtonActions\80000004
HKLM, %TabletPC_Path%\ButtonActions\80000004,"ActionName",,"@tabbtn.dll,-10004"
HKLM, %TabletPC_Path%\ButtonActions\80000005
HKLM, %TabletPC_Path%\ButtonActions\80000005,"ActionName",,"@tabbtn.dll,-10005"
HKLM, %TabletPC_Path%\ButtonActions\80000006
HKLM, %TabletPC_Path%\ButtonActions\80000006,"ActionName",,"@tabbtn.dll,-10006"
HKLM, %TabletPC_Path%\ButtonActions\80000007
HKLM, %TabletPC_Path%\ButtonActions\80000007,"ActionName",,"@tabbtn.dll,-10007"
HKLM, %TabletPC_Path%\ButtonActions\80000008
HKLM, %TabletPC_Path%\ButtonActions\80000008,"ActionName",,"@tabbtn.dll,-10008"
HKLM, %TabletPC_Path%\ButtonActions\80000009
HKLM, %TabletPC_Path%\ButtonActions\80000009,"ActionName",,"@tabbtn.dll,-10009"
HKLM, %TabletPC_Path%\ButtonActions\8000000A
HKLM, %TabletPC_Path%\ButtonActions\8000000A,"ActionName",,"@tabbtn.dll,-10010"
HKLM, %TabletPC_Path%\ButtonActions\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%\TabletButtons
HKLM, %TabletPC_Path%\TabletButtons,"NumButtons",0x00010001,11
HKLM, %TabletPC_Path%\TabletButtons,"ImageDLL",,"MCTab.mco"
HKLM, %TabletPC_Path%\TabletButtons,"PressAndHoldTimeout",0x00010001,0x000002ee

;
;Button bitmap definitions.
;HOT1_KEY	0x80
;HOT2_KEY	0x800
;UP_KEY		0x04
;DOWN_KEY	0x20
;LEFT_KEY	0x08
;RIGHT_KEY	0x10
;ENTER_KEY	0x02
;ESC_KEY	0x01
;DOCKP_KEY	0x0400
;DOCKL_KEY	0x0200
;CAM_KEY	0x4000

;Hardware button name   ButtonID  Resource Name        ResourceID  This will be displayed in Control Panel    
;CAM_KEY                0x4000    IDS_BUTTONNAME_CAM   4307     "Camera Button"
;
;CAM_KEY: Launch Camera, Voice Recorder
;
HKLM, %TabletPC_Path%\TabletButtons\0
HKLM, %TabletPC_Path%\TabletButtons\0,"ButtonName",,"@MCTab.mco,-4307"
HKLM, %TabletPC_Path%\TabletButtons\0,"ButtonID",0x00010001,0x0000400
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000101
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcprelaunch.exe -Camera"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefHoldAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"DefHoldActionData",,"%SystemRoot%\system32\mcprelaunch.exe -VoiceRecorder"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryLandscape,"WinLogonAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000121
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcprelaunch.exe -Camera"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrai,"DefHoldAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrai,"DefHoldActionData",,"%SystemRoot%\system32\mcprelaunch.exe -VoiceRecorder"
HKLM, %TabletPC_Path%\TabletButtons\0\PrimaryPortrai,"WinLogonAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000141
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcprelaunch.exe -Camera"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"DefHoldAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"DefHoldActionData",,"%SystemRoot%\system32\mcprelaunch.exe -VoiceRecorder"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryLandscape,"WinLogonAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000161
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcprelaunch.exe -Camera"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"DefHoldAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"DefHoldActionData",,"%SystemRoot%\system32\mcprelaunch.exe -VoiceRecorder"
HKLM, %TabletPC_Path%\TabletButtons\0\SecondaryPortrait,"WinLogonAction",0x00010001,0x8000000e

;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: Launch QuickNav, StickyNotes
;
HKLM, %TabletPC_Path%\TabletButtons\1
HKLM, %TabletPC_Path%\TabletButtons\1,"ButtonName",,"@MCTab.mco,-4021"
HKLM, %TabletPC_Path%\TabletButtons\1,"ButtonID",0x00010001,0x00000040
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000103
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcprelaunch.exe -QuickNav"
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"DefHoldAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"DefHoldActionData",,"%SystemRoot%\system32\StikyNot.exe"
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryLandscape,"WinLogonAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000123
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcprelaunch.exe -QuickNav"
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"DefHoldAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"DefHoldActionData",,"%SystemRoot%\system32\StikyNot.exe"
HKLM, %TabletPC_Path%\TabletButtons\1\PrimaryPortrait,"WinLogonAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000143
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"DefActionData",,"%SystemRoot%\system32\mcprelaunch.exe -QuickNav"
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"DefHoldAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"DefHoldActionData",,"%SystemRoot%\system32\StikyNot.exe"
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryLandscape,"WinLogonAction",0x00010001,0x8000000e
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000163
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"DefAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"DefActionData",,"%SystemRoot%\system32\mcprelaunch.exe -QuickNav"
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"DefHoldAction",0x00010001,0x80000000
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"DefHoldActionData",,"%SystemRoot%\system32\StikyNot.exe"
HKLM, %TabletPC_Path%\TabletButtons\1\SecondaryPortrait,"WinLogonAction",0x00010001,0x8000000e

;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, Journal.

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

;
;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\3
HKLM, %TabletPC_Path%\TabletButtons\3,"ButtonName",,"@MCTab.mco,-4200"
HKLM, %TabletPC_Path%\TabletButtons\3,"ButtonID",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000104
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000124
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\3\PrimaryPortrait,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000144
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryLandscape,"WinLogonActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000164
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"DefActionData",0x00000001,0x1B,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\3\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\3\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\4
HKLM, %TabletPC_Path%\TabletButtons\4,"ButtonName",,"@MCTab.mco,-4100"
HKLM, %TabletPC_Path%\TabletButtons\4,"ButtonID",0x00010001,0x00000002
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000109
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"DefActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000129
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\PrimaryPortrait,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000149
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryLandscape,"WinLogonActionData",0x00000001,0x0D,00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000169
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"DefActionData",0x00000001,0x0D,0x00,00,00
HKLM, %TabletPC_Path%\TabletButtons\4\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\4\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\5
HKLM, %TabletPC_Path%\TabletButtons\5,"ButtonName",,"@MCTab.mco,-4001"
HKLM, %TabletPC_Path%\TabletButtons\5,"ButtonID",0x00010001,0x00000004
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000107
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;UP become LEFT in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000127
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\PrimaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;UP become DOWN in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000147
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;UP become RIGHT in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000167
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\5\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\5\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\6
HKLM, %TabletPC_Path%\TabletButtons\6,"ButtonName",,"@MCTab.mco,-4004"
HKLM, %TabletPC_Path%\TabletButtons\6,"ButtonID",0x00010001,0x00000008
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000105
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Left becomes DOWN in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000125
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\PrimaryPortrait,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Left becomes RIGHT in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000145
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Left becomes UP in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000165
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\6\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\6\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\7
HKLM, %TabletPC_Path%\TabletButtons\7,"ButtonName",,"@MCTab.mco,-4008"
HKLM, %TabletPC_Path%\TabletButtons\7,"ButtonID",0x00010001,0x00000010
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000106
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryLandscape,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Right becomes UP in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000126
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\PrimaryPortrait,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Right becomes Left in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000146
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryLandscape,"WinLogonActionData",0x00000001,0x25,0x08,00,00
;
;Right becomes DOWN in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000166
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\7\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\7\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\8
HKLM, %TabletPC_Path%\TabletButtons\8,"ButtonName",,"@MCTab.mco,-4002"
HKLM, %TabletPC_Path%\TabletButtons\8,"ButtonID",0x00010001,0x00000020
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000108
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"DefActionData",0x00000001,0x28,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryLandscape,"WinLogonActionData",0x00000001,0x28,0x08,00,00
;
;Down becomes Right in PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"ImageID",0x00010001,0x00000211
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000128
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"DefActionData",0x00000001,0x27,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\PrimaryPortrait,"WinLogonActionData",0x00000001,0x27,0x08,00,00
;
;Down becomes UP in SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"ImageID",0x00010001,0x00000221
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000148
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"DefActionData",0x00000001,0x26,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryLandscape,"WinLogonActionData",0x00000001,0x26,0x08,00,00
;
;Down becomes Left in SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"ImageID",0x00010001,0x00000231
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000168
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"DefAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"DefActionData",0x00000001,0x25,0x08,00,00
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"WinLogonAction",0x00010001,0x80000001
HKLM, %TabletPC_Path%\TabletButtons\8\SecondaryPortrait,"WinLogonActionData",0x00000001,0x25,0x08,00,00


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

;Hardware button name   ButtonID  Resource Name        Resource ID
;DOCKP_KEY              0x400     IDS_BUTTONNAME_SCLOW_KEY 4040
;Dock Portrait
HKLM, %TabletPC_Path%\TabletButtons\10
HKLM, %TabletPC_Path%\TabletButtons\10,"ButtonName",,"@MCTab.mco,-4040"
HKLM, %TabletPC_Path%\TabletButtons\10,"ButtonID",0x00010001,0x00000100
HKLM, %TabletPC_Path%\TabletButtons\10,"NoUI",0x00010001,0x00000001
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"ImageIDDetail",0x00010001,0x00000101
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryLandscape,"WinLogonActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"ImageIDDetail",0x00010001,0x00000101
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\10\PrimaryPortrait,"WinLogonActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"ImageIDDetail",0x00010001,0x00000101
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryLandscape,"WinLogonActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"ImageID",0x00010001,0x00000201
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"ImageIDDetail",0x00010001,0x00000101
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"DefAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"DefActionData",0x00010001,3
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"WinLogonAction",0x00010001,0x8000000b
HKLM, %TabletPC_Path%\TabletButtons\10\SecondaryPortrait,"WinLogonActionData",0x00010001,3


;MCLaunch Keys.
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

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

;Mic Rotation Keys.
HKLM, %Dashboard_Path%, "MicMode",,"M"
HKLM, %Dashboard_Path%, "MicOrientation",0x00010001,0

;App launcher paths
HKLM, %Dashboard_Path%, "QuickNavApp",,"%%ProgramFiles%%\Fortune Fountain Ltd\DialKeys\DialKeys.exe"
HKLM, %Dashboard_Path%, "QuickNavAppParams",,""
HKLM, %Dashboard_Path%, "QuickNavHotkey",0x00010001,0
HKLM, %Dashboard_Path%, "VoiceRecorderApp",,"%%ProgramFiles%%\Fortune Fountain Ltd\DialKeys\Dlklet\DialKeysVoiceJournal\DialKeysVoiceRecorder.exe"
HKLM, %Dashboard_Path%, "VoiceRecorderAppParams",,""
HKLM, %Dashboard_Path%, "VoiceRecorderHotkey",0x00010001,0x1153 ;Ctl-S


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

How To Update Drivers Manually

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

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

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

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

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

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

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

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

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

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

server: web1, load: 1.40