arenos-nexus/Arenos Nexus/Library/PackageCache/com.unity.inputsystem@be6c4fd0abf5/Samples~/CustomDeviceUsages
Daniel 2e704cae70 init
Init Commit Unity
2025-09-25 22:01:28 +02:00
..
.sample.json init 2025-09-25 22:01:28 +02:00
CustomDeviceUsages.cs init 2025-09-25 22:01:28 +02:00
CustomDeviceUsages.cs.meta init 2025-09-25 22:01:28 +02:00
README.md init 2025-09-25 22:01:28 +02:00
README.md.meta init 2025-09-25 22:01:28 +02:00
TwoPlayerControls.inputactions init 2025-09-25 22:01:28 +02:00
TwoPlayerControls.inputactions.meta init 2025-09-25 22:01:28 +02:00

This sample shows how to tag devices with custom "usages" and how to bind actions specifically to devices with only those usages.

This is useful if you have the same type of device that appears in multiple different roles that you want to distinguish when binding to the device. For example, when a device may appear in both the left and the right hand or may appear held in different orientations (say, horizontal vs vertical).