Scripting API
Scripting API
RebindOptions
Record in Abyss.Core, from Abyss.Core.
What GameCode.Rebind listens for.
public record RebindOptionsProperties
Default
public static RebindOptions Default { get; }Escape or Start cancels, the binding's own device alone is heard, and every mouse button.
Cancel
public IReadOnlyList<BindingSource> Cancel { get; init; }What cancels it, leaving the binding as it was: Escape and a gamepad's Start.
AnyDevice
public bool AnyDevice { get; init; }Whether whatever device is used is bound: false hears the device the binding reads now alone — the keyboard and mouse for a key, a gamepad for a button — so a menu with a column for each keeps them apart.
Mouse
public MouseButtons Mouse { get; init; }The mouse buttons heard; a game whose menu is clicked through may leave the left one out.
