Annotation of ntddk/src/input/kbdgr/kbdgr.h, revision 1.1.1.1

1.1       root        1: /****************************** Module Header ******************************\
                      2: * Module Name: kbdgr.h
                      3: *
                      4: * Copyright (c) 1985-92, Microsoft Corporation
                      5: *
                      6: * Various defines for use by keyboard input code.
                      7: *
                      8: * History:
                      9: * 14-01-92 PamelaO      Created.
                     10: * 04/20/92 K.D.Chang    Modified.
                     11: \***************************************************************************/
                     12: 
                     13: /*
                     14:  * kbd type should be controlled by cl command-line argument
                     15:  */
                     16: #define KBD_TYPE 4
                     17: 
                     18: /*
                     19:  * Include the basis of all keyboard table values
                     20:  */
                     21: #include "kbd.h"
                     22: 
                     23: /***************************************************************************\
                     24: * The table below defines the virtual keys for various keyboard types where
                     25: * the German keyboard differ from the US keyboard.
                     26: *
                     27: * _EQ() : all keyboard types have the same virtual key for this scancode
                     28: * _NE() : different virtual keys for this scancode, depending on kbd type
                     29: *
                     30: *     +------+ +----------+----------+----------+----------+----------+----------+
                     31: *     | Scan | |    kbd   |    kbd   |    kbd   |    kbd   |    kbd   |    kbd   |
                     32: *     | code | |   type 1 |   type 2 |   type 3 |   type 4 |   type 5 |   type 6 |
                     33: \****+-------+_+----------+----------+----------+----------+----------+----------+*******/
                     34: 
                     35: #undef  T0C
                     36: #define T0C _EQ(                                      OEM_4                      )
                     37: #undef  T0D
                     38: #define T0D _EQ(                                      OEM_6                      )
                     39: #undef  T10
                     40: #define T10 _EQ(                                        'Q'                      )
                     41: #undef  T11
                     42: #define T11 _EQ(                                        'W'                      )
                     43: #undef  T15
                     44: #define T15 _EQ(                                        'Z'                      )
                     45: #undef  T1A
                     46: #define T1A _EQ(                                      OEM_1                      )
                     47: #undef  T1B
                     48: #define T1B _EQ(                                   OEM_PLUS                      )
                     49: #undef  T27
                     50: #define T27 _EQ(                                      OEM_3                      )
                     51: #undef  T28
                     52: #define T28 _EQ(                                      OEM_7                      )
                     53: #undef  T29
                     54: #define T29 _NE(     OEM_8,     OEM_5,     OEM_8,     OEM_5,     OEM_2,     OEM_5)
                     55: #undef  T2B
                     56: #define T2B _NE(   OEM_102,     OEM_2,   OEM_102,     OEM_2,   OEM_102,     OEM_2)
                     57: #undef  T2C
                     58: #define T2C _EQ(                                        'Y'                      )
                     59: #undef  T32
                     60: #define T32 _EQ(                                        'M'                      )
                     61: #undef  T33
                     62: #define T33 _EQ(                                  OEM_COMMA                      )
                     63: #undef  T34
                     64: #define T34 _EQ(                                 OEM_PERIOD                      )
                     65: #undef  T35
                     66: #define T35 _EQ(                                  OEM_MINUS                      )
                     67: #undef  T56
                     68: #define T56 _NE(   OEM_102,  ICO_HELP,   OEM_102,   OEM_102,        -1,   OEM_PA2)
                     69: #undef  T57
                     70: #define T57 _NE(       F11,    RETURN,       F11,       F11,        -1,      HELP)
                     71: #undef  T58
                     72: #define T58 _NE(       F12,      LEFT,       F12,       F12,        -1,        -1)
                     73: 
                     74: /***************************************************************************\
                     75: *
                     76: * Dead Key data
                     77: *
                     78: * Note: no tilde, cedilla, umlaut deadkey
                     79: \***************************************************************************/
                     80: 
                     81: // #define CIRCUMFLEX      '^' // 06/01/92 15:09
                     82: // #define GRAVE           0x60        // 06/01/92 15:09
                     83: // #define ACUTE           0xb4        // 06/01/92 15:09

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.