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_InputDevice ]
[ next: TDx_InputEffect ]
[ prev: TDx_Input ]
class TDx_InputDevice : public TComponent
class PACKAGE TDx_InputDevice : public TComponent
class type : Interface
TDX_INPUTDEVICE
[ component ]
- Description
The TDx_InputDevice component wraps the DirectX IDirectInputDevice7 interface used for acquiring and releasing input device access, managing the behaviour, properties and information related to the device, creating, saving, loading and playing force feedback effects and invoking a device's control panel.
TDx_InputDevice also supports additional force feedback effects and polled device support.
To create a IDirectInputDevice7 interface, use the TDx_InputDevice::Create() method and to destroy the interface, use the TDx_InputDevice::Destroy() method. You could also use TDx_Input::CreateDevice() for creating the device, but it will not trigger the TDx_InputDevice::OnCreate() event.
Use the TDx_InputDevice::OnCreate() event and TDx_InputDevice::OnDestroy() events to simplify the creation and destruction of dependent objects.
Once created, call any of the TDx_InputDevice methods and handle any error results using the TDx_InputDevice::OnError() event and the TDx_InputDevice::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.
|
|