Skip to content

Commit d919ab2

Browse files
NEW: keywords for InputSystem project settings window (#2329)
1 parent 0f225ca commit d919ab2

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ however, it has to be formatted properly to pass verification tests.
1919

2020
- Fixed the `Auto-Save` toggle button with some extra pixels to align the text in the window better.
2121

22-
2322
### Added
2423

24+
- Added `keywords` for InputSystem project settings window.
25+
2526
## [1.18.0] - 2026-01-14
2627

2728
### Changed

Packages/com.unity.inputsystem/InputSystem/Editor/Settings/InputSettingsProvider.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
////TODO: detect if new input backends are enabled and put UI in here to enable them if needed
1010

11-
////TODO: keywords (2019.1+)
1211
#pragma warning disable CS0414
1312
namespace UnityEngine.InputSystem.Editor
1413
{
@@ -23,6 +22,11 @@ internal class InputSettingsProvider : SettingsProvider, IDisposable
2322

2423
public const string kSettingsPath = InputSettingsPath.kSettingsRootPath + "/Settings";
2524

25+
private static readonly string[] kInputSettingsKeywords =
26+
{
27+
"Input", "Action", "Controls", "Gamepad", "Keyboard", "Mouse", "Touch"
28+
};
29+
2630
public static void Open()
2731
{
2832
SettingsService.OpenProjectSettings(kSettingsPath);
@@ -35,7 +39,8 @@ public static SettingsProvider CreateInputSettingsProvider()
3539
{
3640
// We put this in a child node called "Settings" when Project-wide Actions is enabled.
3741
// When not enabled it sits on the main package Settings node.
38-
label = "Settings"
42+
label = "Settings",
43+
keywords = kInputSettingsKeywords
3944
};
4045
}
4146

0 commit comments

Comments
 (0)