InputDevice Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents a device for input.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT. . :: . .DispatcherObject
Microsoft.SPOT.Input..::..InputDevice
Microsoft.SPOT.Input. . :: . .ButtonDevice
Microsoft.SPOT.Input. . :: . .GenericDevice
Microsoft.SPOT.Input. . :: . .TouchDevice
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public MustInherit Class InputDevice _
Inherits DispatcherObject
public abstract class InputDevice : DispatcherObject
public ref class InputDevice abstract : public DispatcherObject
[<AbstractClass>]
type InputDevice =
class
inherit DispatcherObject
end
public abstract class InputDevice extends DispatcherObject
The InputDevice type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InputDevice | Initializes a new instance of the InputDevice class. |
Top
Properties
Name | Description | |
---|---|---|
DeviceType | Gets the device type. | |
Target | When overridden in a derived class, this property gets the display element that receives input from the current input device. |
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.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.) |
Top
Remarks
Each InputDevice object represents a specific input device. For example, if there are two mice (pointing devices), there will be two InputDevice objects — one object for each mouse.
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.