Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 578 Bytes

File metadata and controls

7 lines (5 loc) · 578 Bytes
uid input-system-device-usages

Device usages

Like any InputControl, a Device can have usages associated with it. You can query usages with the usages property, and useInputSystem.SetDeviceUsage() to set them. Usages can be arbitrary strings with arbitrary meanings. One common case where the Input System assigns Devices usages is the handedness of XR controllers, which are tagged with the "LeftHand" or "RightHand" usages.