ObjectDataFormat.DeviceType Property (Microsoft.DirectX.DirectInput)

Device type that describes the object. It is a combination of the following flags describing the object type (axis, button, and so forth) and containing the object-instance number in the middle 16 bits. When requesting a data format, the instance portion must be set to DIDFT_ANYINSTANCE to indicate that any instance is permissible, or to DidftMakeinstance(n) to restrict the request to instance n. See the examples under Remarks.

Definition

Visual Basic Public Property DeviceType As Integer
C# public int DeviceType { get; set; }
C++ public:
property int DeviceType {
        int get();
        void set(int value);
}
JScript public function get DeviceType() : int
public function set DeviceType(int);

Property Value

System.Int32

This property is read/write.