untangle-puzzlegame/Library/PackageCache/com.unity.inputsystem@e2c83221d2dc/Samples~/CustomDeviceUsages
2025-04-17 17:33:08 -04:00
..
.sample.json first commit 2025-04-17 17:33:08 -04:00
CustomDeviceUsages.cs first commit 2025-04-17 17:33:08 -04:00
CustomDeviceUsages.cs.meta first commit 2025-04-17 17:33:08 -04:00
README.md first commit 2025-04-17 17:33:08 -04:00
README.md.meta first commit 2025-04-17 17:33:08 -04:00
TwoPlayerControls.inputactions first commit 2025-04-17 17:33:08 -04:00
TwoPlayerControls.inputactions.meta first commit 2025-04-17 17:33:08 -04: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).