Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Input_Library v2.00 Component Reference
|
|
[ TDx_InputDevice::EnumObjects() ]
[ next: Escape() ]
[ prev: EnumEffectsInFile() ]
public:
virtual bool __fastcall EnumObjects( void* pReferenceData, dword pFlags );
TDX_INPUTDEVICE::ENUMOBJECTS()
[ component method ]
- Description
- Parameters
ReferenceData
The ReferenceData parameter defines context or reference data to be passed to the callback function each time it is called.
Flags
The Flags parameter defines flags indicating which object types are to be enumerated.
The described effect applies when the flag is set.
Objects matching any of the flags set will be enumerated unless DIDFT_FFACTUATOR or DIDFT_FFEFFECTTRIGGER is present, in which case enumeration is limited to objects matching all the set flags values.
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.
|
|