Dependencies

Your plugin may depend on objects, such as a reference to a tablet using the plugin or an instance of IDriver, and more.

About the order of Dependency Resolution

All dependencies will be fed shortly after instanciation, except for Tabletreference which will be fed last.

[TabletReference]
public TabletReference? _tablet { get; set; }

[Resolved]
public IDriver DriverInstance { get; set; }

[Resolved]
public ITimer Timer { get; set; }

[Resolved]
public IAbsolutePointer AbsolutePointer { get; set; }

[Resolved]
public IRelativePointer RelativePointer { get; set; }

[Resolved]
public IVirtualTablet? VirtualTablet { get; set; }

[Resolved]
public IVirtualScreen VirtualScreen { get; set; }

[Resolved]
public IVirtualKeyboard VirtualKeyboard { get; set; }

Developing for 0.5.x

SystemInterop is part of the OpenTabletDriver.Desktop.Interop namespace.

Developing for 0.6.x

SystemInterop is now DesktopInterop, and is still part of the OpenTabletDriver.Desktop.Interop namespace.