InputManager Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Manages all of the input systems.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT. . :: . .DispatcherObject
Microsoft.SPOT.Input..::..InputManager
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public NotInheritable Class InputManager _
Inherits DispatcherObject
public sealed class InputManager : DispatcherObject
public ref class InputManager sealed : public DispatcherObject
[<Sealed>]
type InputManager =
class
inherit DispatcherObject
end
public final class InputManager extends DispatcherObject
The InputManager type exposes the following members.
Properties
Name | Description | |
---|---|---|
ButtonDevice | Gets the button device used by the InputManager. | |
CurrentInputManager | Gets the current InputManager object associated with a thread. | |
GenericDevice | ||
InputProviders | Gets the collection of input providers that are registered with the current input manager. | |
MostRecentInputDevice | Gets or sets the input device that is associated with the most recent input event. | |
TouchDevice | Gets the touch or stylus input device that is used by the InputManager. |
Top
Methods
Name | Description | |
---|---|---|
CheckAccess | Determines whether the calling thread has access to the current DispatcherObject object. (Inherited from DispatcherObject.) | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ProcessInput | Processes the specified input synchronously. | |
RegisterInputProvider | Registers an input source with the input manager. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
VerifyAccess | Determines whether the calling thread has access to the current DispatcherObject object. (Inherited from DispatcherObject.) |
Top
Fields
Name | Description | |
---|---|---|
Dispatcher | Contains the Dispatcher object that the current DispatcherObject object is associated with. (Inherited from DispatcherObject.) | |
InputDeviceEvents | Contains the device events for an input device. | |
InputReportEvent | Specifies the bubbling-routed event that occurs when the input manager receives an input report from an InputProviderSite object. | |
PreviewInputReportEvent | Specifies the tunneling-routed event that occurs when the input manager receives an input report from an InputProviderSite object. |
Top
Remarks
The input staging area processes raw input into WPF events. Canceling the PreProcessInput event will remove the input event from the staging area. The PostProcessInput event exposes the staging area as a stack and enables items to be popped off or pushed on to the top of the staging area. A filter is any code routine that listens for the PreProcessInput event or the PostProcessInput event. A monitor is any code routine that listens for the PreNotifyInput event or the PostNotifyInput event. Note that filters can modify the input staging area, whereas monitors cannot.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.