このページよりHTCViveTrackerProfile.csをダウンロード
Unityのプロジェクトに入れ、
Edit > Project Settings > XR Plug-in Management > OpenXR > Interaction Profiles の「+」を押し HTC Vive Tracker Profile をInteraction Profilesに追加。
SteamVRのトラッカーの管理で役割を設定
Input Actions AssetにActionをバインド
Tracked Pose Driver (Input System)のReferenceに上記アクションを設定
Input Actions Assetはスクリプトから有効にする必要必要があるので、
inputActionAsset.Enable();
をどこかで呼び出す。
Quest LinkでViveTrackerを使う
steamvr.vrsettingsの中の
"steamvr" : {}の中に以下を追加
"activateMultipleDrivers" : true, "forcedDriver" : "null",
参考
↓ InputActionについて nekojara.city