We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7336bf5 commit 0607948Copy full SHA for 0607948
1 file changed
Packages/com.unity.inputsystem/InputSystem/Plugins/Android/AndroidGameController.cs
@@ -133,15 +133,16 @@ public static AndroidDeviceCapabilities FromJson(string json)
133
134
public override string ToString()
135
{
136
+ var motionAxesString = motionAxes == null ? "<null>" : string.Join(",", motionAxes);
137
var entries = new[]
138
- $"deviceDescriptor: {deviceDescriptor}",
139
- $"productId: {productId}",
140
- $"vendorId: {vendorId}",
141
- $"isVirtual: {isVirtual}",
142
- $"motionAxes: {(motionAxes == null ? "<null>" : String.Join(",", motionAxes.Select(i => i.ToString()).ToArray()))}",
143
- $"inputSources: {inputSources}",
144
- $"vibratorCount: {vibratorCount}"
+ $"deviceDescriptor = {deviceDescriptor}",
+ $"productId = {productId}",
+ $"vendorId = {vendorId}",
+ $"isVirtual = {isVirtual}",
+ $"motionAxes = {motionAxesString}",
+ $"inputSources = {inputSources}",
145
+ $"vibratorCount = {vibratorCount}"
146
};
147
148
return string.Join(", ", entries);
0 commit comments