[Version]
Signature   = "$WINDOWS NT$"
Class       = Extension
ClassGuid   = {e2f84ce7-8efa-411c-aa69-97454ca4cb57}
Provider    = %VendorName%
ExtensionId = {0a9a491b-cca0-4e1f-bfc3-07004b01c002}
DriverVer = 06/21/2006,10.0.22621.1
CatalogFile = PerceptionSimulationSixDofModels.cat
PnpLockdown = 1

[DestinationDirs]
DefaultDestDir = 13 ; 13=Package's DriverStore directory

[Manufacturer]
%VendorName% = PerceptionSimulationSixDofModelExtensions,NTamd64

[PerceptionSimulationSixDofModelExtensions.NTamd64]
; PnP uses this hardware id to match this INF to a device. See https://docs.microsoft.com/en-us/windows-hardware/drivers/install/inf-models-section
%Device.ExtensionDesc% = PerceptionSimulationSixDofModelExtension_Install, HID\PERCEPTIONSIMULATIONSIXDOF&Col02

[PerceptionSimulationSixDofModelExtension_Install.NT]

[PerceptionSimulationSixDofModelExtension_Install.NT.HW]
AddReg = PerceptionSimulationSixDofModelExtension_AddReg

[PerceptionSimulationSixDofModelExtension_AddReg]
; Path to the left and right handed GLB model files.
; These registry values are added to the hardware key.
HKR, "00FF_FF00_0002_Left", "GLBv2_ModelPath", %REG_EXPAND_SZ%, "%%SystemRoot%%\System32\PerceptionSimulationLeftHandModel.glb"
HKR, "00FF_FF00_0002_Right", "GLBv2_ModelPath", %REG_EXPAND_SZ%, "%%SystemRoot%%\System32\PerceptionSimulationRightHandModel.glb"

HKR, "00FF_FF00_0002_Left\HoldingPose", "Translation_X", , "-0.00634"
HKR, "00FF_FF00_0002_Left\HoldingPose", "Translation_Y", , "-0.02631"
HKR, "00FF_FF00_0002_Left\HoldingPose", "Translation_Z", , "0.03525"
HKR, "00FF_FF00_0002_Left\HoldingPose", "Orientation_X", , "0.2989183"
HKR, "00FF_FF00_0002_Left\HoldingPose", "Orientation_Y", , "0.1038283"
HKR, "00FF_FF00_0002_Left\HoldingPose", "Orientation_Z", , "-0.0327370"
HKR, "00FF_FF00_0002_Left\HoldingPose", "Orientation_W", , "0.9480484"
HKR, "00FF_FF00_0002_Left\PointingPose", "Translation_X", , "-0.02332"
HKR, "00FF_FF00_0002_Left\PointingPose", "Translation_Y", , "0.00000"
HKR, "00FF_FF00_0002_Left\PointingPose", "Translation_Z", , "-0.04159"
HKR, "00FF_FF00_0002_Left\PointingPose", "Orientation_X", , "0.0000000"
HKR, "00FF_FF00_0002_Left\PointingPose", "Orientation_Y", , "0.1088671"
HKR, "00FF_FF00_0002_Left\PointingPose", "Orientation_Z", , "0.0000000"
HKR, "00FF_FF00_0002_Left\PointingPose", "Orientation_W", , "0.9940563"

HKR, "00FF_FF00_0002_Right\HoldingPose", "Translation_X", , "0.00634"
HKR, "00FF_FF00_0002_Right\HoldingPose", "Translation_Y", , "-0.02631"
HKR, "00FF_FF00_0002_Right\HoldingPose", "Translation_Z", , "0.03525"
HKR, "00FF_FF00_0002_Right\HoldingPose", "Orientation_X", , "0.2989183"
HKR, "00FF_FF00_0002_Right\HoldingPose", "Orientation_Y", , "-0.1038283"
HKR, "00FF_FF00_0002_Right\HoldingPose", "Orientation_Z", , "0.0327370"
HKR, "00FF_FF00_0002_Right\HoldingPose", "Orientation_W", , "0.9480484"
HKR, "00FF_FF00_0002_Right\PointingPose", "Translation_X", , "0.02332"
HKR, "00FF_FF00_0002_Right\PointingPose", "Translation_Y", , "0.00000"
HKR, "00FF_FF00_0002_Right\PointingPose", "Translation_Z", , "-0.04159"
HKR, "00FF_FF00_0002_Right\PointingPose", "Orientation_X", , "0.0000000"
HKR, "00FF_FF00_0002_Right\PointingPose", "Orientation_Y", , "-0.1088671"
HKR, "00FF_FF00_0002_Right\PointingPose", "Orientation_Z", , "0.0000000"
HKR, "00FF_FF00_0002_Right\PointingPose", "Orientation_W", , "0.9940563"

; Set FILE_DEVICE_SECURE_OPEN characteristic
HKR,,DeviceCharacteristics,0x00010001,0x100 ; FLG_ADDREG_TYPE_DWORD, FILE_DEVICE_SECURE_OPEN
; System, Admin, UMDF, and DWM
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGW;;;BA)(A;;GRGW;;;UD)(A;;GRGW;;;S-1-5-90-0)"

[Strings]
VendorName = "Microsoft"
Device.ExtensionDesc = "Perception Simulation 6-DOF Controller Models"
REG_EXPAND_SZ = 0x00020000
