Skip to content

Commit b40bbd9

Browse files
committed
Show HID version in Input Debugger device window
Will help track down devices that might have a firmware version update that changes the button bit mapping structure while maintaining the same PID.
1 parent 70cf605 commit b40bbd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/Debugger/InputDeviceDebuggerWindow.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ internal void OnGUI()
132132
EditorGUILayout.LabelField("Product", m_Device.description.product);
133133
if (!string.IsNullOrEmpty(m_Device.description.manufacturer))
134134
EditorGUILayout.LabelField("Manufacturer", m_Device.description.manufacturer);
135+
if (!string.IsNullOrEmpty(m_Device.description.version))
136+
EditorGUILayout.LabelField("Version", m_Device.description.version);
135137
if (!string.IsNullOrEmpty(m_Device.description.serial))
136138
EditorGUILayout.LabelField("Serial Number", m_Device.description.serial);
137139
EditorGUILayout.LabelField("Device ID", m_DeviceIdString);

0 commit comments

Comments
 (0)