Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - ;!file: alphakey.eho http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
;!File: alphakey.eho

                           _twKBoard() Key Codes

  These code are found in the header file TWINKEY.CH which may be used to
  replace the Nantucket INKEY.CH header file.

 ----------------------------------------------------------------------------

      Alpha Keys

                    Lower Case                      Shift

           Key  #define        Code        Key  #define        Code

            a | K_A       |    97         | A | K_SH_A    |    65
            b | K_B       |    98         | B | K_SH_B    |    66
            c | K_C       |    99         | C | K_SH_C    |    67
            d | K_D       |    100        | D | K_SH_D    |    68
            e | K_E       |    101        | E | K_SH_E    |    69
            f | K_F       |    102        | F | K_SH_F    |    70
            g | K_G       |    103        | G | K_SH_G    |    71
            h | K_H       |    104        | H | K_SH_H    |    72
            i | K_I       |    105        | I | K_SH_I    |    73
            j | K_J       |    106        | J | K_SH_J    |    74
            k | K_K       |    107        | K | K_SH_K    |    75
            l | K_L       |    108        | L | K_SH_L    |    76
            m | K_M       |    109        | M | K_SH_M    |    77
            n | K_N       |    110        | N | K_SH_N    |    78
            o | K_O       |    111        | O | K_SH_O    |    79
            p | K_P       |    112        | P | K_SH_P    |    80
            q | K_Q       |    113        | Q | K_SH_Q    |    81
            r | K_R       |    114        | R | K_SH_R    |    82
            s | K_S       |    115        | S | K_SH_S    |    83
            t | K_T       |    116        | T | K_SH_T    |    84
            u | K_U       |    117        | U | K_SH_U    |    85
            v | K_V       |    118        | V | K_SH_V    |    86
            w | K_W       |    119        | W | K_SH_W    |    87
            x | K_X       |    120        | X | K_SH_X    |    88
            y | K_Y       |    121        | Y | K_SH_Y    |    89
            z | K_Z       |    122        | Z | K_SH_Z    |    90
            [ | K_LF_BRKT |    91         | { | K_LF_BRACE|    123
            ] | K_RT_BRKT |    93         | } | K_RT_BRACE|    125
            \ | K_BK_SLASH|    92         | | | K_V_BAR   |    124
            ; | K_SEMI    |    59         | : | K_COLON   |    58
            ' | K_APPOS   |    39         | " | K_QUOTE   |    34
            , | K_COMMA   |    44         | < | K_LS_THAN |    60
            . | K_PERIOD  |    46         | > | K_GT_THAN |    62
            / | K_SLASH   |    47         | ? | K_QUESTION|    63
 ----------------------------------------------------------------------------

      Control Alpha Keys

                        Key                #define            Code

               Ctrl-A, Home              | K_CTRL_A       |    1
               Ctrl-B, Ctrl-Rightarrow   | K_CTRL_B       |    2
               Ctrl-C, PgDn, Ctrl-ScLock | K_CTRL_C       |    3
               Ctrl-D, Rightarrow        | K_CTRL_D       |    4
               Ctrl-E, Uparrow           | K_CTRL_E       |    5
               Ctrl-F, End               | K_CTRL_F       |    6
               Ctrl-G, Del               | K_CTRL_G       |    7
               Ctrl-H, Backspace         | K_CTRL_H       |    8
               Ctrl-I, Tab               | K_CTRL_I       |    9
               Ctrl-J                    | K_CTRL_J       |    10
               Ctrl-K                    | K_CTRL_K       |    11
               Ctrl-L                    | K_CTRL_L       |    12
               Ctrl-M, Return            | K_CTRL_M       |    13
               Ctrl-N                    | K_CTRL_N       |    14
               Ctrl-O                    | K_CTRL_O       |    15
               Ctrl-P                    | K_CTRL_P       |    16
               Ctrl-Q                    | K_CTRL_Q       |    17
               Ctrl-R, PgUp              | K_CTRL_R       |    18
               Ctrl-S, Leftarrow         | K_CTRL_S       |    19
               Ctrl-T                    | K_CTRL_T       |    20
               Ctrl-U                    | K_CTRL_U       |    21
               Ctrl-V, Ins               | K_CTRL_V       |    22
               Ctrl-W, Ctrl-End          | K_CTRL_W       |    23
               Ctrl-X, Dnarrow           | K_CTRL_X       |    24
               Ctrl-Y                    | K_CTRL_Y       |    25
               Ctrl-Z, Ctrl-Leftarrow    | K_CTRL_Z       |    26
               Ctrl_Left Bracket         | K_CTRL_LF_BRKT |    27
               Ctrl_Right Bracket        | K_CTRL_RT_BRKT |    29
               Ctrl_Back Slash           | K_CTRL_BK_SLASH|    28
 ----------------------------------------------------------------------------

      Alternate Alpha Keys

         Key        #define     Code      Key        #define     Code

        Alt-A     | K_ALT_A |   286    | Alt-N     | K_ALT_N |   305
        Alt-B     | K_ALT_B |   304    | Alt-O     | K_ALT_O |   280
        Alt-C     | K_ALT_C |   302    | Alt-P     | K_ALT_P |   281
        Alt-D     | K_ALT_D |   288    | Alt-Q     | K_ALT_Q |   272
        Alt-E     | K_ALT_E |   274    | Alt-R     | K_ALT_R |   275
        Alt-F     | K_ALT_F |   289    | Alt-S     | K_ALT_S |   287
        Alt-G     | K_ALT_G |   290    | Alt-T     | K_ALT_T |   276
        Alt-H     | K_ALT_H |   291    | Alt-U     | K_ALT_U |   278
        Alt-I     | K_ALT_I |   279    | Alt-V     | K_ALT_V |   303
        Alt-J     | K_ALT_J |   292    | Alt-W     | K_ALT_W |   273
        Alt-K     | K_ALT_K |   293    | Alt-X     | K_ALT_X |   301
        Alt-L     | K_ALT_L |   294    | Alt-Y     | K_ALT_Y |   277
        Alt-M     | K_ALT_M |   306    | Alt-Z     | K_ALT_Z |   300

                        Key           #define            Code

                 Alt_Left Bracket   | K_ALT_LF_BRKT  |   282
                 Alt_Right Bracket  | K_ALT_RT_BRKT  |   283
                 Alt_Back Slash     | K_ALT_BK_SLASH |   299
                 Alt_Semi Colon     | K_ALT_SEMI     |   295
                 Alt_Apostrophe     | K_ALT_APPOS    |   296
                 Alt_Comma          | K_ALT_COMMA    |   307
                 Alt_Period         | K_ALT_PERIOD   |   308
                 Alt_Slash          | K_ALT_SLASH    |   309
 ----------------------------------------------------------------------------


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson