VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

Development Tools Demo Applications Step-By-Step Tutorials Component Reference

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_Input_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDIObjectDataFormat::Type ]     [ prev: SizeAll ]

    public:

        __property dword Type[dword pArrayIndex] = { read=FGetType, write=FSetType };




    -= Go to the TDIObjectDataFormat description =-    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.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.