1 | /***********************************************************
|
---|
2 |
|
---|
3 | Copyright 1987, 1998 The Open Group
|
---|
4 |
|
---|
5 | Permission to use, copy, modify, distribute, and sell this software and its
|
---|
6 | documentation for any purpose is hereby granted without fee, provided that
|
---|
7 | the above copyright notice appear in all copies and that both that
|
---|
8 | copyright notice and this permission notice appear in supporting
|
---|
9 | documentation.
|
---|
10 |
|
---|
11 | The above copyright notice and this permission notice shall be included in
|
---|
12 | all copies or substantial portions of the Software.
|
---|
13 |
|
---|
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
---|
17 | OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
---|
18 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
---|
19 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
---|
20 |
|
---|
21 | Except as contained in this notice, the name of The Open Group shall not be
|
---|
22 | used in advertising or otherwise to promote the sale, use or other dealings
|
---|
23 | in this Software without prior written authorization from The Open Group.
|
---|
24 |
|
---|
25 |
|
---|
26 | Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
|
---|
27 |
|
---|
28 | All Rights Reserved
|
---|
29 |
|
---|
30 | Permission to use, copy, modify, and distribute this software and its
|
---|
31 | documentation for any purpose and without fee is hereby granted,
|
---|
32 | provided that the above copyright notice appear in all copies and that
|
---|
33 | both that copyright notice and this permission notice appear in
|
---|
34 | supporting documentation, and that the name of Digital not be
|
---|
35 | used in advertising or publicity pertaining to distribution of the
|
---|
36 | software without specific, written prior permission.
|
---|
37 |
|
---|
38 | DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
---|
39 | ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
---|
40 | DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
|
---|
41 | ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
---|
42 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
---|
43 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
---|
44 | SOFTWARE.
|
---|
45 |
|
---|
46 | ******************************************************************/
|
---|
47 |
|
---|
48 |
|
---|
49 | #define MIN_LK201_KEY 86
|
---|
50 | #define MAX_LK201_KEY 251
|
---|
51 | #define LK201_GLYPHS_PER_KEY 2
|
---|
52 |
|
---|
53 | #define KEY_F1 86
|
---|
54 | #define KEY_F2 87
|
---|
55 | #define KEY_F3 88
|
---|
56 | #define KEY_F4 89
|
---|
57 | #define KEY_F5 90
|
---|
58 | #define KEY_F6 100
|
---|
59 | #define KEY_F7 101
|
---|
60 | #define KEY_F8 102
|
---|
61 | #define KEY_F9 103
|
---|
62 | #define KEY_F10 104
|
---|
63 | #define KEY_F11 113
|
---|
64 | #define KEY_F12 114
|
---|
65 | #define KEY_F13 115
|
---|
66 | #define KEY_F14 116
|
---|
67 | #define KEY_HELP 124
|
---|
68 | #define KEY_MENU 125
|
---|
69 | #define KEY_F17 128
|
---|
70 | #define KEY_F18 129
|
---|
71 | #define KEY_F19 130
|
---|
72 | #define KEY_F20 131
|
---|
73 | #define KEY_FIND 138
|
---|
74 | #define KEY_INSERT_HERE 139
|
---|
75 | #define KEY_REMOVE 140
|
---|
76 | #define KEY_SELECT 141
|
---|
77 | #define KEY_PREV_SCREEN 142
|
---|
78 | #define KEY_NEXT_SCREEN 143
|
---|
79 | #define KEY_KP_0 146 /* key pad */
|
---|
80 | #define KEY_KP_PERIOD 148 /* key pad */
|
---|
81 | #define KEY_KP_ENTER 149 /* key pad */
|
---|
82 | #define KEY_KP_1 150 /* key pad */
|
---|
83 | #define KEY_KP_2 151 /* key pad */
|
---|
84 | #define KEY_KP_3 152 /* key pad */
|
---|
85 | #define KEY_KP_4 153 /* key pad */
|
---|
86 | #define KEY_KP_5 154 /* key pad */
|
---|
87 | #define KEY_KP_6 155 /* key pad */
|
---|
88 | #define KEY_KP_COMMA 156 /* key pad */
|
---|
89 | #define KEY_KP_7 157 /* key pad */
|
---|
90 | #define KEY_KP_8 158 /* key pad */
|
---|
91 | #define KEY_KP_9 159 /* key pad */
|
---|
92 | #define KEY_KP_HYPHEN 160
|
---|
93 | #define KEY_KP_PF1 161
|
---|
94 | #define KEY_KP_PF2 162
|
---|
95 | #define KEY_KP_PF3 163
|
---|
96 | #define KEY_KP_PF4 164
|
---|
97 | #define KEY_LEFT 167
|
---|
98 | #define KEY_RIGHT 168
|
---|
99 | #define KEY_DOWN 169
|
---|
100 | #define KEY_UP 170
|
---|
101 | #define KEY_SHIFT 174
|
---|
102 | #define KEY_CTRL 175
|
---|
103 | #define KEY_LOCK 176
|
---|
104 | #define KEY_COMPOSE 177
|
---|
105 | #define KEY_APPLE 177
|
---|
106 | #define KEY_META 177
|
---|
107 | #define KEY_DELETE 188
|
---|
108 | #define KEY_RETURN 189
|
---|
109 | #define KEY_TAB 190
|
---|
110 | #define KEY_TILDE 191
|
---|
111 | #define KEY_TR_1 192 /* Top Row */
|
---|
112 | #define KEY_Q 193
|
---|
113 | #define KEY_A 194
|
---|
114 | #define KEY_Z 195
|
---|
115 | #define KEY_TR_2 197
|
---|
116 | #define KEY_W 198
|
---|
117 | #define KEY_S 199
|
---|
118 | #define KEY_X 200
|
---|
119 | #define KEY_LANGLE_RANGLE 201 /* xxx */
|
---|
120 | #define KEY_TR_3 203
|
---|
121 | #define KEY_E 204
|
---|
122 | #define KEY_D 205
|
---|
123 | #define KEY_C 206
|
---|
124 | #define KEY_TR_4 208
|
---|
125 | #define KEY_R 209
|
---|
126 | #define KEY_F 210
|
---|
127 | #define KEY_V 211
|
---|
128 | #define KEY_SPACE 212
|
---|
129 | #define KEY_TR_5 214
|
---|
130 | #define KEY_T 215
|
---|
131 | #define KEY_G 216
|
---|
132 | #define KEY_B 217
|
---|
133 | #define KEY_TR_6 219
|
---|
134 | #define KEY_Y 220
|
---|
135 | #define KEY_H 221
|
---|
136 | #define KEY_N 222
|
---|
137 | #define KEY_TR_7 224
|
---|
138 | #define KEY_U 225
|
---|
139 | #define KEY_J 226
|
---|
140 | #define KEY_M 227
|
---|
141 | #define KEY_TR_8 229
|
---|
142 | #define KEY_I 230
|
---|
143 | #define KEY_K 231
|
---|
144 | #define KEY_COMMA 232 /* xxx */
|
---|
145 | #define KEY_TR_9 234
|
---|
146 | #define KEY_O 235
|
---|
147 | #define KEY_L 236
|
---|
148 | #define KEY_PERIOD 237 /* xxx */
|
---|
149 | #define KEY_TR_0 239
|
---|
150 | #define KEY_P 240
|
---|
151 | #define KEY_SEMICOLON 242 /* xxx */
|
---|
152 | #define KEY_QMARK 243
|
---|
153 | #define KEY_PLUS 245 /* xxx */
|
---|
154 | #define KEY_RBRACE 246
|
---|
155 | #define KEY_VBAR 247 /* xxx */
|
---|
156 | #define KEY_UBAR 249 /* xxx */
|
---|
157 | #define KEY_LBRACE 250
|
---|
158 | #define KEY_QUOTE 251
|
---|