Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
027de1fc
Commit
027de1fc
authored
Oct 08, 2002
by
Vojtech Pavlik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change PC-keyboard mappings to follow MS Keyboards - a de facto
standard for extended keys.
parent
f7061541
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
12 deletions
+13
-12
drivers/char/keyboard.c
drivers/char/keyboard.c
+7
-7
drivers/input/keyboard/atkbd.c
drivers/input/keyboard/atkbd.c
+5
-5
include/linux/input.h
include/linux/input.h
+1
-0
No files found.
drivers/char/keyboard.c
View file @
027de1fc
...
@@ -917,14 +917,14 @@ static unsigned short x86_keycodes[256] =
...
@@ -917,14 +917,14 @@ static unsigned short x86_keycodes[256] =
64
,
65
,
66
,
67
,
68
,
69
,
70
,
71
,
72
,
73
,
74
,
75
,
76
,
77
,
78
,
79
,
64
,
65
,
66
,
67
,
68
,
69
,
70
,
71
,
72
,
73
,
74
,
75
,
76
,
77
,
78
,
79
,
80
,
81
,
82
,
83
,
43
,
85
,
86
,
87
,
88
,
115
,
119
,
120
,
121
,
375
,
123
,
90
,
80
,
81
,
82
,
83
,
43
,
85
,
86
,
87
,
88
,
115
,
119
,
120
,
121
,
375
,
123
,
90
,
284
,
285
,
309
,
298
,
312
,
91
,
327
,
328
,
329
,
331
,
333
,
335
,
336
,
337
,
338
,
339
,
284
,
285
,
309
,
298
,
312
,
91
,
327
,
328
,
329
,
331
,
333
,
335
,
336
,
337
,
338
,
339
,
367
,
2
94
,
293
,
286
,
350
,
92
,
334
,
512
,
116
,
377
,
109
,
111
,
373
,
347
,
348
,
349
,
367
,
2
88
,
302
,
304
,
350
,
92
,
334
,
512
,
116
,
377
,
109
,
111
,
373
,
347
,
348
,
349
,
360
,
93
,
94
,
95
,
98
,
376
,
100
,
101
,
3
57
,
316
,
354
,
304
,
289
,
102
,
351
,
355
,
360
,
93
,
94
,
95
,
98
,
376
,
100
,
101
,
3
21
,
316
,
354
,
286
,
289
,
102
,
351
,
355
,
103
,
104
,
105
,
275
,
28
1
,
272
,
306
,
106
,
274
,
107
,
288
,
364
,
358
,
363
,
362
,
361
,
103
,
104
,
105
,
275
,
28
7
,
279
,
306
,
106
,
274
,
107
,
294
,
364
,
358
,
363
,
362
,
361
,
291
,
108
,
381
,
2
90
,
287
,
292
,
279
,
305
,
280
,
99
,
112
,
257
,
258
,
113
,
270
,
114
,
291
,
108
,
381
,
2
81
,
290
,
272
,
292
,
305
,
280
,
99
,
112
,
257
,
258
,
359
,
270
,
114
,
118
,
117
,
125
,
374
,
379
,
115
,
112
,
125
,
121
,
123
,
264
,
265
,
266
,
267
,
268
,
269
,
118
,
117
,
125
,
374
,
379
,
115
,
112
,
125
,
121
,
123
,
264
,
265
,
266
,
267
,
268
,
269
,
271
,
273
,
276
,
277
,
278
,
282
,
283
,
295
,
296
,
297
,
299
,
300
,
301
,
302
,
303
,
307
,
271
,
273
,
276
,
277
,
278
,
282
,
283
,
295
,
296
,
297
,
299
,
300
,
301
,
293
,
303
,
307
,
308
,
310
,
313
,
314
,
315
,
317
,
318
,
319
,
320
,
3
21
,
322
,
323
,
324
,
325
,
326
,
330
,
308
,
310
,
313
,
314
,
315
,
317
,
318
,
319
,
320
,
3
57
,
322
,
323
,
324
,
325
,
326
,
330
,
332
,
340
,
3
41
,
342
,
343
,
344
,
345
,
346
,
356
,
359
,
365
,
368
,
369
,
370
,
371
,
372
};
332
,
340
,
3
65
,
342
,
343
,
344
,
345
,
346
,
356
,
113
,
341
,
368
,
369
,
370
,
371
,
372
};
#ifdef CONFIG_MAC_EMUMOUSEBTN
#ifdef CONFIG_MAC_EMUMOUSEBTN
extern
int
mac_hid_mouse_emulate_buttons
(
int
,
int
,
int
);
extern
int
mac_hid_mouse_emulate_buttons
(
int
,
int
,
int
);
...
...
drivers/input/keyboard/atkbd.c
View file @
027de1fc
...
@@ -55,11 +55,11 @@ static unsigned char atkbd_set2_keycode[512] = {
...
@@ -55,11 +55,11 @@ static unsigned char atkbd_set2_keycode[512] = {
252
,
253
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
252
,
253
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
254
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
255
,
254
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
255
,
0
,
0
,
92
,
90
,
85
,
0
,
137
,
0
,
0
,
0
,
0
,
91
,
89
,
144
,
115
,
0
,
0
,
0
,
92
,
90
,
85
,
0
,
137
,
0
,
0
,
0
,
0
,
91
,
89
,
144
,
115
,
0
,
136
,
100
,
255
,
0
,
97
,
149
,
164
,
0
,
156
,
0
,
0
,
140
,
115
,
0
,
0
,
125
,
217
,
100
,
255
,
0
,
97
,
165
,
164
,
0
,
156
,
0
,
0
,
140
,
115
,
0
,
0
,
125
,
0
,
150
,
0
,
154
,
152
,
163
,
151
,
126
,
112
,
166
,
0
,
140
,
0
,
147
,
0
,
127
,
173
,
114
,
0
,
113
,
152
,
163
,
151
,
126
,
128
,
166
,
0
,
140
,
0
,
147
,
0
,
127
,
159
,
167
,
1
39
,
160
,
163
,
0
,
0
,
116
,
158
,
0
,
150
,
165
,
0
,
0
,
0
,
142
,
159
,
167
,
1
15
,
160
,
164
,
0
,
0
,
116
,
158
,
0
,
150
,
166
,
0
,
0
,
0
,
142
,
157
,
0
,
114
,
166
,
168
,
0
,
0
,
0
,
155
,
0
,
98
,
113
,
0
,
1
48
,
0
,
138
,
157
,
0
,
114
,
166
,
168
,
0
,
0
,
0
,
155
,
0
,
98
,
113
,
0
,
1
63
,
0
,
138
,
0
,
0
,
0
,
0
,
0
,
0
,
153
,
140
,
0
,
255
,
96
,
0
,
0
,
0
,
143
,
0
,
226
,
0
,
0
,
0
,
0
,
0
,
153
,
140
,
0
,
255
,
96
,
0
,
0
,
0
,
143
,
0
,
133
,
0
,
116
,
0
,
143
,
0
,
174
,
133
,
0
,
107
,
0
,
105
,
102
,
0
,
0
,
112
,
133
,
0
,
116
,
0
,
143
,
0
,
174
,
133
,
0
,
107
,
0
,
105
,
102
,
0
,
0
,
112
,
110
,
111
,
108
,
112
,
106
,
103
,
0
,
119
,
0
,
118
,
109
,
0
,
99
,
104
,
119
110
,
111
,
108
,
112
,
106
,
103
,
0
,
119
,
0
,
118
,
109
,
0
,
99
,
104
,
119
};
};
...
...
include/linux/input.h
View file @
027de1fc
...
@@ -332,6 +332,7 @@ struct input_absinfo {
...
@@ -332,6 +332,7 @@ struct input_absinfo {
#define KEY_CANCEL 223
#define KEY_CANCEL 223
#define KEY_BRIGHTNESSDOWN 224
#define KEY_BRIGHTNESSDOWN 224
#define KEY_BRIGHTNESSUP 225
#define KEY_BRIGHTNESSUP 225
#define KEY_MEDIA 226
#define KEY_UNKNOWN 240
#define KEY_UNKNOWN 240
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment