public IProcessingPluginChain AddInputDevicePlugin(IInputDevicePlugin plugin, IInputDevicePluginContext startingContext) { var inputDevices = InputDevices.ToList(); inputDevices.Add(new InputDevice(plugin, startingContext)); InputDevices = inputDevices; return(this); }
internal InputDevice(IInputDevicePlugin plugin, IInputDevicePluginContext context) { Plugin = plugin; Context = context; }
public static IInputDevicePluginContext GenerateInitialInputDevicePluginContext(IInputDevicePlugin inputDevicePlugin) { return(new InputDevicePluginContext(inputDevicePlugin.Configure())); }