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::TDx_Input ]
[ next: TDx_InputDevice ]
[ prev: TDIRampForce ]
class TDx_Input : public TComponent
class PACKAGE TDx_Input : public TComponent
class type : Interface
TDX_INPUT
[ component ]
- Description
The TDx_Input component wraps the DirectX IDirectInput7 interface which enumerates, creates and retrieves the status of TDx_Input devices and can also be used to launch the Windows control panel.
To create an IDirectInput7 interface, use the TDx_Input::Create() method and to destroy the interface, use the TDx_Input::Destroy() method.
Use the TDx_Input::OnCreate() event and TDx_Input::OnDestroy() events to simplify the creation and destruction of dependent objects.
For example, in the TDx_Input::OnCreate() event, you could retrieve the TDx_Input interface's capabilities, create a dependant TDx_InputDevice, and so on. Then in the TDx_Input::OnDestroy() event, place code to destroy the same TDx_InputDevice and deallocate memory used to hold the capabilities (if required).
Once created, call any of the TDx_Input methods and handle any error results using the TDx_Input::OnError() event and the TDx_Input::ErrorValue property.
- Properties
- Methods
- Events
- Callbacks
- SeeAlso
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|