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

    [ TDIDeviceObjectInstance::Type ]     [ next: Usage ]     [ prev: Size ]

    public:

        __property dword Type = { read=FGetType, write=FSetType, default=0 };




    -= Go to the TDIDeviceObjectInstance description =-    TDIDEVICEOBJECTINSTANCE::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.

        The object instance number can be extracted using the DIDFT_GETINSTANCE macro:

        DIDFT_GETINSTANCE(n) LOWORD((n) >> 8)

        where n is one of the TDIDeviceObjectInstance::Type flag values.

        The described effect applies when the flag is set.
    • Flags

        DIDFT_ABSAXIS
        Enumerate any object with an absolute axis.

        DIDFT_ALL
        Enumerate all objects.

        DIDFT_AXIS
        Enumerate any object with an absolute or relative axis.

        DIDFT_BUTTON
        Enumerate any object with push or toggle buttons.

        DIDFT_COLLECTION
        Enumerate HID link collections.

        DIDFT_ENUMCOLLECTION(n)
        Enumerate objects that belong to HID link collection number n.

        DIDFT_FFACTUATOR
        Enumerate objects to which force-feedback may be applied.

        DIDFT_FFEFFECTTRIGGER
        Enumerate objects that can trigger force-feedback effects.

        DIDFT_NOCOLLECTION
        Enumerate objects that do not belong to any HID link collection.
        Objects falling into this category are those that have TDIDeviceObjectInstance::CollectionNumber = 0.

        DIDFT_NODATA
        Enumerate objects that do not generate data.

        DIDFT_OUTPUT
        Enumerate objects to which data can be sent using TDx_InputDevice::SendDeviceData().

        DIDFT_POV
        Enumerate point-of-view controllers.

        DIDFT_PSHBUTTON
        Enumerate push buttons.
        Push buttons is reported as down when pressed, and up when released.

        DIDFT_RELAXIS
        Enumerate objects with a relative axis..

        DIDFT_TGLBUTTON
        Enumerate objects that are toggle buttons.
        Toggle buttons are reported down when pressed, and remain down until re-pressed..

        DIDFT_VENDORDEFINED
        Enumerate objects of a type defined by the device manufacturer.

    • 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.