InputProviderSite Class
NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Input
The object which input providers use to report input to the input manager.
public class InputProviderSite : IDisposable
Properties
InputManager
public InputManager InputManager { get; }
Returns the input manager that this site is attached to.
IsDisposed
public bool IsDisposed { get; }
Returns true if we are disposed.
Methods
Dispose()
public void Dispose()
Unregisters this input provider.
Dispose(bool disposing)
protected virtual void Dispose(bool disposing)
Unregisters this input provider and releases its resources.
ReportInput(InputDevice device, InputReport inputReport)
public bool ReportInput(InputDevice device, InputReport inputReport)
Reports input to the input manager.
Returns bool — Whether or not any event generated as a consequence of this event was handled.