Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/project/ModJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,18 @@ 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,
/**
* The priority of this keybind compared to other keybinds with the same input. Lower number means higher priority.
*/
priority?: number,
default: SettingDefaultValue<string | string[]>,
}
/**
Expand Down