Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Input_Library v2.00 Component Reference
|
|
[ TDx_Input_Library::TDIDataFormat ]
[ next: TDIDevCaps ]
[ prev: TDICustomForce ]
class TDIDataFormat : public TComponent
class PACKAGE TDIDataFormat : public TComponent
class type : Wrapper
TDIDATAFORMAT
[ component ]
- Description
The TDIDataFormat component wraps the DirectX DIDATAFORMAT structure, which describes the data format of a particular input device.
Use this component with the TDx_InputDevice::SetDataFormat() method to create the data format for a specialized device. In most cases the predefined data formats for mice, joysticks and keyboards can be used instead of this component.
This component defines the data format for the device as a whole. For the data format of a device's individual controls, eg: the buttons, sliders, x-axis or y-axis of a joystick, etc., use the TDIObjectDataFormat component.
The data format must be set before a device can be acquired with TDx_InputDevice::Acquire(). Before a device can be used it must be aquired and while the device is acquired, the data format cannot be changed. It should only be neccessary to set the data format once.
- Properties
- Methods
- Events
- SeeAlso
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|