A
Virtual Key Names

This appendix lists all the supported virtual key names.

Standard Virtual Key Names

Key Function           Virtual Key Name             Key Function             Virtual Key Name

0 - 9                         VK_0 - VK_9                     Keypad 0 - 9               VK_NUMPAD0 - 9
A - Z                        VK_A - VK_Z                    Keypad Add (+)          VK_ADD
Alt (right)                 VK_RALT                          Keypad Divide (/)       VK_DIVIDE
Apps                         VK_APPS                           Keypad Decimal (.)     VK_DECIMAL
Apostrophe               VK_APOSTROPHE            Keypad Multiply (*)   VK_MULTIPLY
Backspace                 VK_BACK                          Keypad Subtract (-)     VK_SUBTRACT
Break                        VK_BREAK                       Num Lock                   VK_NUMLOCK
Clear                         VK_CLEAR                        Off (` ¬ |) 102 key kbd VK_OFF  
Comma                     VK_COMMA                     Page Down                  VK_NEXT
Compose Character   VK_COMPOSE                  Page Up                      VK_PRIOR
Control (left)            VK_CONTROL                  Paste                            VK_PASTE
Control (right)          VK_RCONTROL                Pause                           VK_PAUSE
Copy                        VK_COPY                          Period                         VK_PERIOD
Cursor Down            VK_DOWN                        Print                            VK_PRINT
Cursor Left               VK_LEFT                           Print Screen                 VK_SNAPSHOT
Cursor Right             VK_RIGHT                        Quote (back)               VK_BACKQUOTE
Cursor Up                 VK_UP                               Return                         VK_RETURN
Data Talk                  VK_DATATALK               Scroll Lock                 VK_SCROLL
Delete                       VK_DELETE                     Select                          VK_SELECT
End                          VK_END                            Semicolon (; :)            VK_SEMICOLON
Equal                        VK_EQUAL                       Separator                     VK_SEPARATOR
Escape                      VK_ESCAPE                      Setup                           VK_SETUP
Euro Sign                 VK_EUROSIGN                 Shift (right)                 VK_RSHIFT
Execute                    VK_EXECUTE                   Slash (backward)         VK_BACKSLASH
Exit Emulator           VK_EXIT                           Slash (forward)           VK_SLASH
F1 - F12                   VK_F1 - VK_F12               Spacebar                     VK_SPACE
Help                         VK_HELP                          Square Bracket (left)   VK_LBRACKET
Hold Screen              VK_HOLDSCREEN           Square Bracket (right) VK_RBRACKET
Home                       VK_HOME                         Tab                             VK_TAB
Hyphen                    VK_HYPHEN                     Windows (left)            VK_LWIN
Insert                        VK_INSERT                       Windows (right)          VK_RWIN

DEC VT500 Virtual Key Names

Key Function           Virtual Key Name             Key Function           Virtual Key Name

Back Tab                  VT_CSIZ                            Insert                        VT_INSERT
Break                        VT_BREAK                        Keypad 0 - 9            VT_PAD0 - 9
Backspace                 VT_BACKSPACE               Keypad Comma        VT_COMMA
Compose Character   VT_COMPOSE                   Keypad Decimal       VT_PADDECIMAL
Cursor Down            VT_DOWN                         Keypad Minus          VT_MINUS
Cursor Left               VT_LEFT                           Next Page                 VT_NEXT
Cursor Right             VT_RIGHT                         PF1 - PF4                 VT_PF1 - VT_PF4
Cursor Up                 VT_UP                               Previous Page           VT_PREV
Datatalk                    VT_DATATALK                Print                         VT_PRINT
Delete                       VT_DELETE                      Remove                    VT_REMOVE
Do (F16)                  VT_DO                               Return                      VT_RETURN
Enter                        VT_ENTER                        Scroll Down             VT_PANDOWN
Escape                      VT_ESCAPE                      Scroll Left                VT_PANLEFT
F6 - F14                   VT_F6 - VT_F14                Scroll Right              VT_PANRIGHT
F17 - F20                 VT_F17 - VT_F20              Scroll Up                  VT_PANUP
Find                          VT_FIND                           Select                        VT_SELECT
Help (F15)                VT_HELP                           Setup                        VT_SETUP
Hold Screen              VT_HOLD                          Tab                           VT_TAB

DG 410/412 Virtual Key Names

Key Function           Virtual Key Name             Key Function           Virtual Key Name

C1 - C4                     DG_C1 - DG_C4                Home                       DG_HOME
Cursor Type             DG_CURSOR                     Keypad Comma        DG_COMMA
Cursor Down            DG_DOWN                        Keypad Enter           DG_ENTER
Cursor Left               DG_LEFT                           Keypad Minus          DG_MINUS
Cursor Right             DG_RIGHT                        Local Print                DG_LOCALPRINT
Cursor Up                 DG_UP                               New Line                  DG_NEWLINE
Erase Line                DG_ERASELINE               Normal/Compressed DG_SPACING
Erase Page                DG_ERASEPAGE              Print                         DG_PRINT
F1 - F15                   DG_F1 - DG_F15               Scroll Rate                DG_SCROLLRATE
Hold                         DG_HOLD

HP 700-92/96 Virtual Key Names

Key Function           Virtual Key Name             Key Function           Virtual Key Name

Backspace                 HP_BACKSPACE               Insert Wrap               HP_INSERTWRAP
Clear Display            HP_CLEARMEM               Menu                        HP_MENU
Clear Line                 HP_CLEARLINE                Next Page                 HP_NEXTPAGE
Cursor Down            HP_DOWN                         Previous Page           HP_PREVPAGE
Cursor Left               HP_LEFT                           Print                         HP_PRINT
Cursor Right             HP_RIGHT                         Return                      HP_RETURN
Cursor Up                 HP_UP                                Scroll Down             HP_ROLLDOWN
Delete                       HP_DELETE                      Scroll Up                  HP_ROLLUP
Delete Character       HP_DELETECHAR            Select                        HP_SELECT
Delete Line               HP_DELETELINE             Tab                           HP_TAB
Delete Wrap              HP_DELETEWRAP            Tab Shifted               HP_BACKTAB
Enter                        HP_SEND                           User System              HP_SYSTEM
Escape                      HP_ESCAPE
F1 - F8                     HP_F1 - HP_F8                  Mode Sel. Keys        HP_MODES
Home Cursor            HP_HOMEUP                     User Keys Mode       HP_USER
Home Cursor Shift    HP_HOMEDOWN              User Key Def. Menu HP_FKEYDEFS
Insert Character        HP_INSERTMODE            Soft Reset                 HP_SOFTRESET
Insert Line                HP_INSERTLINE               Hard Reset                HP_HARDRESET

IBM 3270 Virtual Key Names

Key Function           Virtual Key Name             Key Function           Virtual Key Name

Attention                  IB_ATTN                           Home                       IB_HOME
Back Tab                  IB_BACKTAB                    M. Slot Reader Start  IB_MSRATTRIB
Backspace                 IB_BACKSPACE                M. Slot Reader Send IB_OPIDRDR
Clear                         IB_CLEAR                         Mono Case               IB_MONO
Cursor Down            IB_DOWN                          Next Word                IB_NEXTWORD
Cursor Left               IB_LEFT                            Num Lock                IB_NUMLOCK
Cursor Right             IB_RIGHT                          PA1 - PA3                IB_PA1 - IB_PA3
Cursor Select            IB_CURSORSEL                Pause                        IB_PAUSE
Cursor Up                 IB_UP                                 Play Keystrokes        IB_PLAY
Delete Character       IB_DELCHAR                    Previous Word          IB_PREVWORD
Delete Word             IB_DELWORD                   Print Screen              IB_PRINT
Duplicate                  IB_DUP                              Quit                          IB_QUIT
Enter                        IB_ENTER                         Record Keystrokes    IB_RECORD
Erase End Of Field   IB_ERASEEOF                   Reset                         IB_RESET
Erase Input               IB_ERASEINPUT               Return                      IB_RETURN
F1 - F24                   IB_F1 - IB_F24                  Rule Display             IB_RULE
Field Mark                IB_FIELDMARK                System Request         IB_SYSREQ
Selectable Field Tab  IB_FIELDTAB                   Tab                           IB_TAB
Insert Mode              IB_INSERT                       

IBM 5250 Virtual Key Names

Key Function           Virtual Key Name             Key Function           Virtual Key Name

Attention                  AS_ATTN                          Field Plus                  AS_FIELDPLUS
Back Tab                  AS_BACKTAB                   Help                         AS_HELP
Backspace                 AS_BACKSPACE               Home                       AS_HOME
Clear                         AS_CLEAR                        Insert Mode              AS_INSERT
Cursor Down            AS_DOWN                         Monochrome            AS_MONO
Cursor Left               AS_LEFT                           New Line                  AS_NEWLINE
Cursor Right             AS_RIGHT                         PA1 - PA3                AS_PA1 - AS_PA3
Cursor Fast Left        AS_FASTLEFT                  Pause                        AS_PAUSE
Cursor Fast Right      AS_FASTRIGHT                Play Keystrokes        AS_PLAY
Cursor Select            AS_CURSORSEL               Print Local                AS_PRINTLOCAL
Cursor Up                 AS_UP                                Print                         AS_PRINT
Delete Character       AS_DELCHAR                   Quit                          AS_QUIT
Duplicate                  AS_DUP                             Record Keystrokes    AS_RECORD
Enter                        AS_ENTER                        Reset                         AS_RESET
Erase End Of Field   AS_ERASEEOF                  Roll Down                AS_ROLLDOWN
Erase Input               AS_ERASEINPUT              Roll Up                     AS_ROLLUP
F1 - F24                   AS_F1 - AS_F24                Rule Display             AS_RULE
Field Exit                  AS_FIELDEXIT                 System Request         AS_SYSREQ
Field Mark                AS_FIELDMARK               Tab                           AS_TAB
Field Minus              AS_FIELDMINUS              Test                          AS_TEST

IBM 5250 Word Processing Mode

Key Function        Virtual Key Name            Key Function           Virtual Key Name

Begin Bold             AS_WP_BOLD                 Top of Page              AS_WP_TOP_PAGE
Begin Underline     AS_WP_UNDERLINE      End of Page              AS_WP_END_PAGE
Word Underline     AS_WP_WORD_UNDER  Start New Page          AS_WP_NEW_PAGE
End Attribute         AS_WP_END_ATTR        Insert Carrier Return AS_WP_RETURN
Centre Text            AS_WP_CENTRE             Insert Stop Code       AS_WP_STOP_CODE
Half-Index Up        AS_WP_HI_UP                 Find Stop Code         AS_WP_FIND_STOP
Half-Index Down   AS_WP_HI_DOWN          Required Page End   AS_WP_REQD_PAGE
Next Text Column  AS_WP_NEXT_COL        Required Space         AS_WP_REQD_SPACE
Beginning of Line  AS_WP_BEG_LINE         Required Tab            AS_WP_REQD_TAB
End of Line            AS_WP_END_LINE         Symbols Command   AS_WP_SYMBOLS

SCO Console Virtual Key Names

Key Function           Virtual Key Name        Key Function             Virtual Key Name

Backspace                 SC_BACKSPACE          F1 - F12                      SC_F1 - SC_F21
Cursor Down            SC_DOWN                    F1 - F12 + Shift          SC_S_F1 - SC_S_F12
Cursor Left               SC_LEFT                       F1 - F12 + Ctrl            SC_C_F1 - SC_C_F12
Cursor Right             SC_RIGHT                    F1 - F12 + Ctrl + Shift SC_CS_F1 - SC_CS_F12
Cursor Up                 SC_UP                           Home                          SC_HOME
Delete                       SC_DELETE                 Insert                          SC_INSERT
Delete + Shift            SC_S_DELETE             Page Down                 SC_PAGEDOWN
Delete + Ctrl + Shift  SC_CS_DELETE           Page Down + Shift      SC_S_PAGEDOWN
End                          SC_END                        Page Up                      SC_PAGEUP
End + Shift               SC_S_END                    Return                         SC_RETURN
Enter                        SC_ENTER                    Tab                             SC_TAB
Escape                      SC_ESCAPE                  Tab + Shift                  SC_S_TAB

TA6530 Virtual Key Names

Key Function           Virtual Key Name             Key Function           Virtual Key Name

Backspace                 TA_BACKSPACE               Keypad Comma        TA_PADCOMMA
Back Tab                  TA_BACKTAB                   Keypad Decimal       TA_PADDECIMAL
Break                        TA_BREAK                        Keypad Enter           TA_ENTER
Character Delete       TA_CHARDEL                   Keypad Minus          TA_PADMINUS
Character Insert        TA_CHARINS                    Line Delete               TA_LINEDEL
Cursor Down            TA_DOWN                         Line Insert                TA_LINEINS
Cursor Left               TA_LEFT                           Num Lock                TA_NUMLOCK
Cursor Right             TA_RIGHT                         Page Down               TA_PAGEDOWN
Cursor Up                 TA_UP                               Page Up                    TA_PAGEUP
Delete                       TA_DEL                             Print Screen              TA_PRTSCR
End                          TA_END                            Return                      TA_RETURN
Erase Line                TA_ERASELINE                Roll Down                TA_ROLLDOWN
Erase Page                TA_ERASEPAGE               Roll Up                     TA_ROLLUP
Escape                      TA_ESC                             Tab                           TA_TAB
F1 - F16                   TA_F1 - TA_F16                Tab Clear                  TA_TABCLEAR
Home                       TA_HOME                         Tab Clear All            TA_TABCLRALL
Keypad 0 - 9            TA_PAD0 - TA_PAD9       Tab Set                     TA_TABSET

TVI 955 Virtual Key Names

Key Function           Virtual Key Name             Key Function           Virtual Key Name

Back Tab                  TV_BACKTAB                   F0 - F22                   TV_F0 - TV_F22
Backspace                 TV_BACKSP                      Go To                       TV_GOTO
Break                        TV_BREAK                        Keypad 00                TV_PAD00
Clear Entry               TV_CLRENTRY                 Line Feed                 TV_LINEFEED
Clear Space               TV_CLRSPACE                  Misc. Functions        TV_M0 - TV_M9
Cursor Down            TV_DOWN                         No Scroll                  TV_NOSCROLL
Cursor Left               TV_LEFT                           Print                         TV_PRINT
Cursor Right             TV_RIGHT                         Reset                         TV_RESET
Cursor Up                 TV_UP                               Return                      TV_RETURN
Delete                       TV_DELETE                      Status                        TV_STATUS
Enter                        TV_ENTER                        Tab                           TV_TAB
Escape                      TV_ESCAPE

Wyse Virtual Key Names

Key Function           Virtual Key Name             Key Function           Virtual Key Name

Backspace                 WY_BACKSPACE              Delete                       WY_DELCHAR
Cursor Down            WY_DOWN                        Delete shifted            WY_DELLINE
Cursor Left               WY_LEFT                          End                          WY_CLRLINE
Cursor Right             WY_RIGHT                        End shifted               WY_CLRSCRN
Cursor Up                 WY_UP                              Insert                        WY_INSCHAR
Delete                       WY_DELETE                     Insert shifted             WY_INSLINE
Del Key                    WY_DELKEY                    Insert shifted             WY_REPLACE
End                          WY_END                           Print shifted              WY_SEND
Enter                        WY_ENTER                       Alt + A                     WY_CHARSET
Escape                      WY_ESC                           
F1 - F16                   WY_F1 - WY_F16
Function                   WY_FUNCT                      
Home                       WY_HOME                        Notes:
Insert                        WY_INSERT                      To obtain the virtual key names for shifted
Keypad 5                  WY_KP5                            functions of the keys listed at left, substitute
Page Down               WY_PAGEDOWN              WY_ with WY_S_.
Page Up                    WY_PAGEUP                     The virtual key names listed above are
Print                         WY_PRINT                        alternative names that can be used.
Return                      WY_RETURN
Tab                           WY_TAB