Class InputProviderSite
The object which input providers use to report input to the input manager.
Implements
Inherited Members
Namespace: nanoFramework.UI.Input
Assembly: nanoFramework.Graphics.dll
Syntax
public class InputProviderSite : IDisposable
Properties
InputManager
Returns the input manager that this site is attached to.
Declaration
public InputManager InputManager { get; }
Property Value
Type | Description |
---|---|
InputManager |
IsDisposed
Returns true if we are disposed.
Declaration
public bool IsDisposed { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
Dispose()
Unregisters this input provider.
Declaration
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
ReportInput(InputDevice, InputReport)
Reports input to the input manager.
Declaration
public bool ReportInput(InputDevice device, InputReport inputReport)
Parameters
Type | Name | Description |
---|---|---|
InputDevice | device | |
InputReport | inputReport |
Returns
Type | Description |
---|---|
bool | Whether or not any event generated as a consequence of this event was handled. |