Jingyi Jia b4cbb439d9 first commit %!s(int64=2) %!d(string=hai) anos
..
.sample.json b4cbb439d9 first commit %!s(int64=2) %!d(string=hai) anos
.sample.json.meta b4cbb439d9 first commit %!s(int64=2) %!d(string=hai) anos
CustomDeviceUsages.cs b4cbb439d9 first commit %!s(int64=2) %!d(string=hai) anos
CustomDeviceUsages.cs.meta b4cbb439d9 first commit %!s(int64=2) %!d(string=hai) anos
README.md b4cbb439d9 first commit %!s(int64=2) %!d(string=hai) anos
README.md.meta b4cbb439d9 first commit %!s(int64=2) %!d(string=hai) anos
TwoPlayerControls.inputactions b4cbb439d9 first commit %!s(int64=2) %!d(string=hai) anos
TwoPlayerControls.inputactions.meta b4cbb439d9 first commit %!s(int64=2) %!d(string=hai) anos

README.md

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).