Firstborn/Library/PackageCache/com.unity.inputsystem@1.5.1/Samples~/CustomDeviceUsages
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00
..
.sample.json updated to the latest editor 2023-05-07 17:43:11 -05:00
.sample.json.meta updated to the latest editor 2023-05-07 17:43:11 -05:00
CustomDeviceUsages.cs updated to the latest editor 2023-05-07 17:43:11 -05:00
CustomDeviceUsages.cs.meta updated to the latest editor 2023-05-07 17:43:11 -05:00
README.md updated to the latest editor 2023-05-07 17:43:11 -05:00
README.md.meta updated to the latest editor 2023-05-07 17:43:11 -05:00
TwoPlayerControls.inputactions updated to the latest editor 2023-05-07 17:43:11 -05:00
TwoPlayerControls.inputactions.meta updated to the latest editor 2023-05-07 17:43:11 -05: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).