Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Input_Library v2.00 Component Reference
|
|
[ TDIObjectDataFormat::Type ]
[ prev: SizeAll ]
public:
__property dword Type[dword pArrayIndex] = { read=FGetType, write=FSetType };
TDIOBJECTDATAFORMAT::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.
Set the instance portion to DIDFT_ANYINSTANCE or DIDFT_MAKEINSTANCE(n) when requesting a data format to indicate either that any instance is permissible or to restrict the request to a specific instance.
The object instance number can be extracted using the DIDFT_GETINSTANCE macro:
DIDFT_GETINSTANCE(n) LOWORD((n) >> 8)
where n is one of the TDIObjectDataFormat::Type flag values.
The described effect applies when the flag is set.
- Flags
DIDFT_ABSAXIS
The object selected by TDx_Input::SetDataFormat() must be an absolute axis.
DIDFT_AXIS
The object selected by TDx_Input::SetDataFormat() must be an absolute or relative axis.
DIDFT_BUTTON
The object selected by TDx_Input::SetDataFormat() must be a push or toggle button.
DIDFT_FFACTUATOR
The object selected by TDx_Input::SetDataFormat() must contain a force feedback actuator so that it is possible to apply forces to the object.
DIDFT_FFEFFECTTRIGGER
The object selected by TDx_Input::SetDataFormat() must be a valid force feedback effect trigger.
DIDFT_POV
The object selected by TDx_Input::SetDataFormat() must be a point of view controller.
DIDFT_PSHBUTTON
The object selected by TDx_Input::SetDataFormat() must be a push button.
DIDFT_RELAXIS
The object selected by TDx_InputDevice::SetDataFormat() must be a relative axis.
DIDFT_TGLBUTTON
The object selected by TDx_InputDevice::SetDataFormat() must be a toggle button.
DIDFT_VENDORDEFINED
The object selected by TDx_InputDevice::SetDataFormat() must be manufacturer defined.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|