Show / Hide Table of Contents

    Class InputManager

    The InputManager class is responsible for coordinating all of the input system in nanoFramework.

    The input manager exists per Dispatcher

    Inheritance
    Object
    DispatcherObject
    InputManager
    Inherited Members
    DispatcherObject.CheckAccess()
    DispatcherObject.VerifyAccess()
    DispatcherObject.Dispatcher
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: nanoFramework.UI.Input
    Assembly: nanoFramework.Graphics.dll
    Syntax
    public sealed class InputManager : DispatcherObject

    Fields

    | Improve this Doc View Source

    InputDeviceEvents

    Declaration
    public InputManager.DeviceEvents[] InputDeviceEvents
    Field Value
    Type Description
    InputManager.DeviceEvents[]
    | Improve this Doc View Source

    InputReportEvent

    A routed event indicating that an input report arrived.

    Declaration
    public static readonly RoutedEvent InputReportEvent
    Field Value
    Type Description
    RoutedEvent
    | Improve this Doc View Source

    PreviewInputReportEvent

    A routed event indicating that an input report arrived.

    Declaration
    public static readonly RoutedEvent PreviewInputReportEvent
    Field Value
    Type Description
    RoutedEvent

    Properties

    | Improve this Doc View Source

    ButtonDevice

    Button Device

    Declaration
    public ButtonDevice ButtonDevice { get; }
    Property Value
    Type Description
    ButtonDevice
    | Improve this Doc View Source

    CurrentInputManager

    Return the input manager associated with the current context.

    Declaration
    public static InputManager CurrentInputManager { get; }
    Property Value
    Type Description
    InputManager
    Remarks

    This class will not be available in internet zone.

    | Improve this Doc View Source

    GenericDevice

    GenericDevice

    Declaration
    public GenericDevice GenericDevice { get; }
    Property Value
    Type Description
    GenericDevice
    | Improve this Doc View Source

    InputProviders

    Returns a collection of input providers registered with the input manager.

    Declaration
    public ICollection InputProviders { get; }
    Property Value
    Type Description
    ICollection
    | Improve this Doc View Source

    MostRecentInputDevice

    The MostRecentInputDevice represents the last input device to report an "interesting" user action. What exactly constitutes such an action is up to each device to implement.

    Declaration
    public InputDevice MostRecentInputDevice { get; set; }
    Property Value
    Type Description
    InputDevice
    | Improve this Doc View Source

    TouchDevice

    Touch Device

    Declaration
    public TouchDevice TouchDevice { get; }
    Property Value
    Type Description
    TouchDevice

    Methods

    | Improve this Doc View Source

    ProcessInput(InputEventArgs)

    Synchronously processes the specified input.

    Declaration
    public bool ProcessInput(InputEventArgs input)
    Parameters
    Type Name Description
    InputEventArgs input
    Returns
    Type Description
    Boolean

    Whether or not any event generated as a consequence of this event was handled.

    Remarks

    The specified input is processed by all of the filters and monitors, and is finally dispatched to the appropriate element as an input event.

    | Improve this Doc View Source

    RegisterInputProvider(Object)

    Registers an input provider with the input manager.

    Declaration
    public InputProviderSite RegisterInputProvider(object inputProvider)
    Parameters
    Type Name Description
    Object inputProvider

    The input provider to register.

    Returns
    Type Description
    InputProviderSite

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX