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

    [ TDx_Input_Library::TDIKeyboardState ]     [ next: TDIMouseState ]     [ prev: TDIJoyState2 ]

    class TDIKeyboardState : public TComponent
    class PACKAGE TDIKeyboardState : public TComponent

    class type : Wrapper


    -= Go to the TDIKeyboardState description =-    TDIKEYBOARDSTATE   [ component ]

    • Description

      • The TDIKeyboardState component is used to retrieve data from a TDx_InputDevice in the form of a 256 byte array.

        This component is used with the TDx_InputDevice::GetDeviceState() method to obtain current device information, and with the TDx_InputDevice::SetDataFormat() method to set the devices data format.

        The available key constants are:

        On main keyboard area

        DIK_ESCAPE
        DIK_1 "1" key on the main keyboard area pressed, DIK_NUMPAD1 is the "1" key on the numeric keypad
        DIK_2
        DIK_3
        DIK_4
        DIK_5
        DIK_6
        DIK_7
        DIK_8
        DIK_9
        DIK_0
        DIK_MINUS "-" key on main area, use DIK_SUBTRACT for numeric Keypad "-"
        DIK_EQUALS
        DIK_BACK BACKSPACE key
        DIK_TAB
        DIK_Q
        DIK_W
        DIK_E
        DIK_R
        DIK_T
        DIK_Y
        DIK_U
        DIK_I
        DIK_O
        DIK_P
        DIK_LBRACKET "[" key
        DIK_RBRACKET "]" key
        DIK_RETURN ENTER key on main keyboard area
        DIK_LCONTROL Left CTRL key
        DIK_A
        DIK_S
        DIK_D
        DIK_F
        DIK_G
        DIK_H
        DIK_J
        DIK_K
        DIK_L
        DIK_SEMICOLON
        DIK_APOSTROPHE
        DIK_GRAVE "`" key
        DIK_LSHIFT Left SHIFT key
        DIK_BACKSLASH
        DIK_Z
        DIK_X
        DIK_C
        DIK_V
        DIK_B
        DIK_N
        DIK_M
        DIK_COMMA
        DIK_PERIOD On main keyboard area, use DIK_DECIMAL for keypad "."
        DIK_SLASH Forward slash on main keyboard area
        DIK_RSHIFT Right SHIFT key
        DIK_MULTIPLY "*" key on numeric keypad
        DIK_LMENU Left ALT key
        DIK_RMENU Right ALT key
        DIK_SPACE SPACEBAR
        DIK_CAPITAL CAPS LOCK key
        DIK_RCONTROL Right CTRL key
        DIK_LWIN Left Windows key
        DIK_RWIN Right Windows key

        Function keys

        DIK_F1
        DIK_F2
        DIK_F3
        DIK_F4
        DIK_F5
        DIK_F6
        DIK_F7
        DIK_F8
        DIK_F9
        DIK_F10
        DIK_F11
        DIK_F12
        DIK_F13
        DIK_F14
        DIK_F15
        DIK_SCROLL SCROLL LOCK
        DIK_PAUSE

        Edit and Navigation keys

        DIK_INSERT
        DIK_DELETE
        DIK_HOME
        DIK_END
        DIK_PRIOR PAGE UP
        DIK_NEXT PAGE DOWN
        DIK_UP UP ARROW
        DIK_LEFT LEFT ARROW
        DIK_RIGHT RIGHT ARROW
        DIK_DOWN DOWN ARROW

        Numeric Keypad values

        DIK_NUMLOCK
        DIK_NUMPAD7
        DIK_NUMPAD8
        DIK_NUMPAD9
        DIK_SUBTRACT "-" on numeric keypad
        DIK_NUMPAD4
        DIK_NUMPAD5
        DIK_NUMPAD6
        DIK_ADD "+" on numeric keypad
        DIK_NUMPAD1
        DIK_NUMPAD2
        DIK_NUMPAD3
        DIK_NUMPAD0
        DIK_DECIMAL "." on numeric keypad
        DIK_NUMPADENTER
        DIK_DIVIDE Forward slash on numeric keypad

        Japanese Keyboard definitions, do not use for standard keyboards

        DIK_KANA
        DIK_CONVERT
        DIK_NOCONVERT
        DIK_YEN
        DIK_NUMPADEQUALS numeric keypad EQUALS (NEC PC98 only)
        DIK_CIRCUMFLEX
        DIK_AT
        DIK_COLON
        DIK_UNDERLINE
        DIK_KANJI
        DIK_STOP
        DIK_AX
        DIK_UNLABELED
        DIK_NUMPADCOMMA COMMA on NEC PC98 numeric keypad only

        Other keys

        DIK_SYSRQ
        DIK_APPS Application key



    • Properties
    • Methods
    • Events
    • SeeAlso
    • 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.