Vixen
02b45cc4
csharp
public static class InputInteractionFactory

Turns the interaction names in a .vxinput into interactions.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

A table, for the same reason InputProcessorFactory has one, and with the same name(arg=value) syntax. Unlike a processor, every call builds a new instance: an interaction carries the clock of the binding it belongs to.

Methods (3)

  • public static void Register(string name, Func<ProcessorArguments, IInputInteraction> factory)

    Adds an interaction this build understands.

  • public static bool IsKnown(string name)

    Whether a name is one this build has.

  • public static IReadOnlyList<IInputInteraction> Parse(string? text, Action<string>? unknown = null)

    Reads an interaction list.

Used by (1)

  • InputBindingVixen.Input