Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Input_Library v2.00 Component Reference
|
|
[ TDIDeviceObjectInstance::Type ]
[ next: Usage ]
[ prev: Size ]
public:
__property dword Type = { read=FGetType, write=FSetType, default=0 };
TDIDEVICEOBJECTINSTANCE::TYPE
[ component property ]
- Description
The Type property is unusual, in that it defines flags indicating the object type and it also identifies the object instance number in the middle 16 bits.
The object instance number can be extracted using the DIDFT_GETINSTANCE macro:
DIDFT_GETINSTANCE(n) LOWORD((n) >> 8)
where n is one of the TDIDeviceObjectInstance::Type flag values.
The described effect applies when the flag is set.
- Flags
DIDFT_ABSAXIS
Enumerate any object with an absolute axis.
DIDFT_ALL
Enumerate all objects.
DIDFT_AXIS
Enumerate any object with an absolute or relative axis.
DIDFT_BUTTON
Enumerate any object with push or toggle buttons.
DIDFT_COLLECTION
Enumerate HID link collections.
DIDFT_ENUMCOLLECTION(n)
Enumerate objects that belong to HID link collection number n.
DIDFT_FFACTUATOR
Enumerate objects to which force-feedback may be applied.
DIDFT_FFEFFECTTRIGGER
Enumerate objects that can trigger force-feedback effects.
DIDFT_NOCOLLECTION
Enumerate objects that do not belong to any HID link collection.
Objects falling into this category are those that have TDIDeviceObjectInstance::CollectionNumber = 0.
DIDFT_NODATA
Enumerate objects that do not generate data.
DIDFT_OUTPUT
Enumerate objects to which data can be sent using TDx_InputDevice::SendDeviceData().
DIDFT_POV
Enumerate point-of-view controllers.
DIDFT_PSHBUTTON
Enumerate push buttons.
Push buttons is reported as down when pressed, and up when released.
DIDFT_RELAXIS
Enumerate objects with a relative axis..
DIDFT_TGLBUTTON
Enumerate objects that are toggle buttons.
Toggle buttons are reported down when pressed, and remain down until re-pressed..
DIDFT_VENDORDEFINED
Enumerate objects of a type defined by the device manufacturer.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|