Skip to content
Version 2.32.0
↓ Get the launcher

IHotkeys.MigrateSavedBinding method

One-time move of a binding the player SAVED for actionId: if it equals from, it becomes to — or “unbound” when another declared action already holds to. Suggested defaults are never saved, so changing a default needs no migration. Call it before declaring the action, and remember (in your own config) that you ran it.

public SavedBindingMigration MigrateSavedBinding(string actionId, KeyBinding from, KeyBinding to)
parameter description
actionId The action id, as passed to DeclareAction.
from The old chord.
to The new chord.