-
Notifications
You must be signed in to change notification settings - Fork 5k
/
Copy pathkbdgr.h
58 lines (54 loc) · 2.15 KB
/
kbdgr.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/****************************** Module Header ******************************\
* Module Name: KBDGR.H
*
* keyboard layout header for German
*
* Copyright (c) 1985-2000, Microsoft Corporation
*
* Various defines for use by keyboard input code.
*
* History:
*
* created by KBDTOOL v3.11 Thu Aug 24 18:10:19 2000
*
\***************************************************************************/
/*
* kbd type should be controlled by cl command-line argument
*/
#define KBD_TYPE 4
/*
* Include the basis of all keyboard table values
*/
#include "kbd.h"
#include <dontuse.h>
/***************************************************************************\
* The table below defines the virtual keys for various keyboard types where
* the keyboard differ from the US keyboard.
*
* _EQ() : all keyboard types have the same virtual key for this scancode
* _NE() : different virtual keys for this scancode, depending on kbd type
*
* +------+ +----------+----------+----------+----------+----------+----------+
* | Scan | | kbd | kbd | kbd | kbd | kbd | kbd |
* | code | | type 1 | type 2 | type 3 | type 4 | type 5 | type 6 |
\****+-------+_+----------+----------+----------+----------+----------+----------+*/
#undef T29
#define T29 _EQ( OEM_5 )
#undef T0C
#define T0C _EQ( OEM_4 )
#undef T0D
#define T0D _EQ( OEM_6 )
#undef T15
#define T15 _EQ( 'Z' )
#undef T1A
#define T1A _EQ( OEM_1 )
#undef T1B
#define T1B _EQ( OEM_PLUS )
#undef T2B
#define T2B _EQ( OEM_2 )
#undef T27
#define T27 _EQ( OEM_3 )
#undef T2C
#define T2C _EQ( 'Y' )
#undef T35
#define T35 _EQ( OEM_MINUS )