From 7b2d435dbf42c371c30fa0d19b4906098df4a36e Mon Sep 17 00:00:00 2001 From: Jasmine <52604018+hiimjasmine00@users.noreply.github.com> Date: Tue, 17 Feb 2026 07:23:52 -0500 Subject: [PATCH 1/2] Add keybind category and migrate-from --- src/project/ModJson.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/project/ModJson.ts b/src/project/ModJson.ts index 86ce46b..529f2af 100644 --- a/src/project/ModJson.ts +++ b/src/project/ModJson.ts @@ -359,6 +359,14 @@ export interface ColorAlphaSetting extends ValueSetting { } export interface KeybindSetting extends ValueSetting { type: "keybind", + /** + * The category of the keybind, which controls where it appears in the keybind editor. + */ + category?: "universal" | "gameplay" | "editor", + /** + * The original Custom Keybinds ID this keybind is migrating from. + */ + "migrate-from"?: string, default: SettingDefaultValue, } /** From 310d4c19a27161d8d7607136933c65da1f799f20 Mon Sep 17 00:00:00 2001 From: Jasmine <52604018+hiimjasmine00@users.noreply.github.com> Date: Wed, 18 Feb 2026 10:16:59 -0500 Subject: [PATCH 2/2] priority --- src/project/ModJson.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/project/ModJson.ts b/src/project/ModJson.ts index 529f2af..28a7a5b 100644 --- a/src/project/ModJson.ts +++ b/src/project/ModJson.ts @@ -367,6 +367,10 @@ export interface KeybindSetting extends ValueSetting { * The original Custom Keybinds ID this keybind is migrating from. */ "migrate-from"?: string, + /** + * The priority of this keybind compared to other keybinds with the same input. Lower number means higher priority. + */ + priority?: number, default: SettingDefaultValue, } /**