Skip to content

Commit 5934891

Browse files
committed
Merge branch 'develop' into bugfix/XRA-675-PoseControl-isTracked-false-bug
# Conflicts: # Packages/com.unity.inputsystem/CHANGELOG.md
2 parents 25ef5ff + e492059 commit 5934891

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3232
- Fixed an incorrect ArraysHelper.HaveDuplicateReferences implementation that didn't use its arguments right [ISXB-1792] (https://github.com/Unity-Technologies/InputSystem/pull/2376)
3333
- Fixed `InputAction.IsPressed`, `WasPressedThisFrame`, and `WasReleasedThisFrame` using a `ButtonControl`'s `pressPoint` when a binding also had an explicit `PressInteraction` with its own `pressPoint`, which could make those APIs disagree with the interaction's press and release behavior. Action-level press APIs now follow the interaction threshold when both are set explicitly.
3434
- Fixed `IndexOutOfRangeException` in `InputDeviceBuilder` when connecting an HID gamepad whose report descriptor declares a hat switch with Report Size 8 (e.g. ESP32-BLE-Gamepad). The HID layer now anchors the hat's directional sub-controls to the hat's own byte instead of letting the layout system auto-allocate a fresh byte for each [UUM-143659](https://jira.unity3d.com/browse/UUM-143659).
35+
- Fixed Input Debugger window's incorrect name. It is now called 'Input Debugger' instead of 'Input Debug' [UUM-137124](https://jira.unity3d.com/browse/UUM-137124).
3536
- Fixed `PoseControl.isTracked` always returning false when read through non-optimized code paths (e.g. Input Debugger) due to `sizeInBits = 8` causing the value to be normalized as `1/255` instead of `1.0`.
3637

3738
### Changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public static void CreateOrShow()
5050
{
5151
s_Instance = GetWindow<InputDebuggerWindow>();
5252
s_Instance.Show();
53-
s_Instance.titleContent = new GUIContent("Input Debug");
5453
}
5554
else
5655
{
@@ -82,6 +81,11 @@ public static void Disable()
8281
}
8382
}
8483

84+
private void OnEnable()
85+
{
86+
titleContent = new GUIContent("Input Debugger");
87+
}
88+
8589
private void OnDeviceChange(InputDevice device, InputDeviceChange change)
8690
{
8791
// Update tree if devices are added or removed.

0 commit comments

Comments
 (0)