summaryrefslogtreecommitdiff
path: root/packages/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/tosa_map.patch
blob: feca9706142bb444da0d2d94c99e838c6a2e72bb (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- linux/drivers/char/tosa_keymap.c~tosa_map.patch
+++ linux/drivers/char/tosa_keymap.c
@@ -6,348 +6,88 @@
 #include <linux/keyboard.h>
 #include <linux/kd.h>
 
-u_short plain_map[] = {
+u_short plain_map[NR_KEYS] = {
 	0xf200,	0xfb61,	0xfb62,	0xfb63,	0xfb64,	0xfb65,	0xfb66,	0xfb67,
 	0xfb68,	0xfb69,	0xfb6a,	0xfb6b,	0xfb6c,	0xfb6d,	0xfb6e,	0xfb6f,
 	0xfb70,	0xfb71,	0xfb72,	0xfb73,	0xfb74,	0xfb75,	0xfb76,	0xfb77,
-	0xfb78,	0xfb79,	0xfb7a,	0xf700,	0xf201,	0xf101,	0xf703,	0xf008,
-	0xf208,	0xf200,	0xf01b,	0xf601,	0xf603,	0xf600,	0xf602,	0xf201,
+	0xfb78,	0xfb79,	0xfb7a,	0xf700,	0xf201,	0xf101,	0xf200,	0xf008,
+	0xf07c,	0xf200,	0xf01b,	0xf601,	0xf603,	0xf600,	0xf602,	0xf201,
 	0xf200,	0xf031,	0xf032,	0xf033,	0xf034,	0xf035,	0xf036,	0xf037,
-	0xf038,	0xf039,	0xf030,	0xf02d,	0xf05e,	0xf05c,	0xf05b,	0xf040,
-	0xf702,	0xf703,	0xf702,	0xf02b,	0xfa00,	0xf040,	0xf03f,	0xf02c,
-	0xf02e,	0xf009,	0xf104,	0xf105,	0xf106,	0xf02f,	0xf027,	0xf301,
-	0xf302,	0xf303,	0xf304,	0xf305,	0xf306,	0xf307,	0xf308,	0xf309,
-	0xf300,	0xf07f,	0xf30d,	0xf30c,	0xf200,	0xf30b,	0xf30a,	0xf30e,
-	0xf702,	0xf703,	0xf01b,	0xf020,	0xf020,	0xf310,	0xf200,	0xf03b,
-	0xf03a,	0xf05d,	0xf02c,	0xf02e,	0xf02f,	0xf05f,	0xf200,	0xf700,
-	0xf114,	0xf117,	0xf118,	0xf119,	0xf701,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf702,	0xf200,	0xf200,
-	0xf702,	0xf703,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
+	0xf038,	0xf039,	0xf030,	0xfbe4,	0xfbfc,	0xfbf6,	0xfbc4,	0xfbdc,
+	0xfbd6,	0xfbdf,	0xf02d,	0xf02b,	0xfa00,	0xf040,	0xf03f,	0xf02c,
+	0xf02e,	0xf009,	0xf104,	0xf105,	0xf106,	0xf02f,	0xf027,	0xf03b,
+	0xf022,	0xf03a,	0xf023,	0xf024,	0xf025,	0xf05f,	0xf026,	0xf02a,
+	0xf028,	0xf07f,	0xf109,	0xf03d,	0xf029,	0xf07e,	0xf03c,	0xf03e,
+	0xf702,	0xf703,	0xf200,	0xf020,	0xf020,	0xf200,	0xf021,	0xf200,
+	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf700,
+	0xf702,	0xf702,	0xf703,	0xf703,	0xf701,	0xf200,	0xf200,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
 };
 
-u_short shift_map[] = {
+u_short shift_map[NR_KEYS] = {
 	0xf200,	0xfb41,	0xfb42,	0xfb43,	0xfb44,	0xfb45,	0xfb46,	0xfb47,
 	0xfb48,	0xfb49,	0xfb4a,	0xfb4b,	0xfb4c,	0xfb4d,	0xfb4e,	0xfb4f,
 	0xfb50,	0xfb51,	0xfb52,	0xfb53,	0xfb54,	0xfb55,	0xfb56,	0xfb57,
-	0xfb58,	0xfb59,	0xfb5a,	0xf700,	0xf201,	0xf101,	0xf702,	0xf008,
-	0xf208,	0xf200,	0xf01b,	0xf601,	0xf603,	0xf600,	0xf602,	0xf201,
-	0xf200,	0xf021,	0xf022,	0xf023,	0xf024,	0xf025,	0xf026,	0xf027,
-	0xf028,	0xf029,	0xf07e,	0xf03d,	0xf07e,	0xf07c,	0xf07b,	0xf060,
-	0xf702,	0xf703,	0xf702,	0xf02b,	0xfa00,	0xf040,	0xf03f,	0xf03b,
-	0xf03a,	0xf009,	0xf104,	0xf105,	0xf106,	0xf03f,	0xf022,	0xf301,
-	0xf302,	0xf303,	0xf304,	0xf305,	0xf306,	0xf307,	0xf308,	0xf309,
-	0xf300,	0xf07f,	0xf30d,	0xf30c,	0xf200,	0xf30b,	0xf30a,	0xf30e,
-	0xf702,	0xf703,	0xf01b,	0xf020,	0xf020,	0xf310,	0xf200,	0xf02b,
-	0xf02a,	0xf07d,	0xf03c,	0xf03e,	0xf03f,	0xf05f,	0xf200,	0xf700,
-	0xf114,	0xf117,	0xf20b,	0xf20a,	0xf701,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf702,	0xf200,	0xf200,
-	0xf702,	0xf703,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
+	0xfb58,	0xfb59,	0xfb5a,	0xf700,	0xf201,	0xf101,	0xf200,	0xf008,
+	0xf07c,	0xf200,	0xf01b,	0xf601,	0xf603,	0xf600,	0xf602,	0xf201,
+	0xf200,	0xf031,	0xf032,	0xf033,	0xf034,	0xf035,	0xf036,	0xf037,
+	0xf038,	0xf039,	0xf030,	0xfbe4,	0xfbfc,	0xfbf6,	0xfbc4,	0xfbdc,
+	0xfbd6,	0xfbdf,	0xf02d,	0xf02b,	0xfa00,	0xf040,	0xf03f,	0xf02c,
+	0xf02e,	0xf009,	0xf104,	0xf105,	0xf106,	0xf02f,	0xf027,	0xf03b,
+	0xf022,	0xf03a,	0xf023,	0xf024,	0xf025,	0xf05f,	0xf026,	0xf02a,
+	0xf028,	0xf07f,	0xf109,	0xf03d,	0xf029,	0xf07e,	0xf03c,	0xf03e,
+	0xf702,	0xf703,	0xf200,	0xf020,	0xf020,	0xf200,	0xf021,	0xf200,
+	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf700,
+	0xf702,	0xf702,	0xf703,	0xf703,	0xf701,	0xf200,	0xf200,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
 };
 
-u_short ctrl_map[] = {
+u_short ctrl_map[NR_KEYS] = {
 	0xf200,	0xf001,	0xf002,	0xf003,	0xf004,	0xf005,	0xf006,	0xf007,
 	0xf008,	0xf009,	0xf00a,	0xf00b,	0xf00c,	0xf00d,	0xf00e,	0xf00f,
 	0xf010,	0xf011,	0xf012,	0xf013,	0xf014,	0xf015,	0xf016,	0xf017,
 	0xf018,	0xf019,	0xf01a,	0xf700,	0xf201,	0xf101,	0xf200,	0xf008,
-	0xf208,	0xf200,	0xf01b,	0xf601,	0xf603,	0xf600,	0xf602,	0xf201,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf702,	0xf703,	0xf702,	0xf02b,	0xfa00,	0xf040,	0xf03f,	0xf200,
-	0xf200,	0xf009,	0xf104,	0xf105,	0xf106,	0xf200,	0xf200,	0xf301,
-	0xf302,	0xf303,	0xf304,	0xf305,	0xf306,	0xf307,	0xf308,	0xf309,
-	0xf300,	0xf07f,	0xf30d,	0xf30c,	0xf200,	0xf30b,	0xf30a,	0xf30e,
-	0xf702,	0xf703,	0xf01b,	0xf020,	0xf000,	0xf310,	0xf200,	0xf200,
+	0xf07c,	0xf200,	0xf01b,	0xf601,	0xf603,	0xf600,	0xf602,	0xf201,
+	0xf200,	0xf031,	0xf032,	0xf033,	0xf034,	0xf035,	0xf036,	0xf037,
+	0xf038,	0xf039,	0xf030,	0xfbe4,	0xfbfc,	0xfbf6,	0xfbc4,	0xfbdc,
+	0xfbd6,	0xfbdf,	0xf02d,	0xf02b,	0xfa00,	0xf040,	0xf03f,	0xf02c,
+	0xf02e,	0xf009,	0xf104,	0xf105,	0xf106,	0xf02f,	0xf027,	0xf03b,
+	0xf022,	0xf03a,	0xf023,	0xf024,	0xf025,	0xf05f,	0xf026,	0xf02a,
+	0xf028,	0xf07f,	0xf109,	0xf03d,	0xf029,	0xf07e,	0xf03c,	0xf03e,
+	0xf702,	0xf703,	0xf200,	0xf000,	0xf000,	0xf200,	0xf021,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf700,
-	0xf114,	0xf117,	0xf118,	0xf119,	0xf701,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf702,	0xf200,	0xf200,
-	0xf702,	0xf703,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
+	0xf702,	0xf702,	0xf703,	0xf703,	0xf701,	0xf200,	0xf200,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
 };
 
-u_short shift_ctrl_map[] = {
+u_short shift_ctrl_map[NR_KEYS] = {
 	0xf200,	0xf001,	0xf002,	0xf003,	0xf004,	0xf005,	0xf006,	0xf007,
 	0xf008,	0xf009,	0xf00a,	0xf00b,	0xf00c,	0xf00d,	0xf00e,	0xf00f,
 	0xf010,	0xf011,	0xf012,	0xf013,	0xf014,	0xf015,	0xf016,	0xf017,
 	0xf018,	0xf019,	0xf01a,	0xf700,	0xf201,	0xf101,	0xf200,	0xf008,
-	0xf208,	0xf200,	0xf01b,	0xf601,	0xf603,	0xf600,	0xf602,	0xf201,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf702,	0xf703,	0xf702,	0xf02b,	0xfa00,	0xf040,	0xf03f,	0xf200,
-	0xf200,	0xf009,	0xf104,	0xf105,	0xf106,	0xf200,	0xf200,	0xf301,
-	0xf302,	0xf303,	0xf304,	0xf305,	0xf306,	0xf307,	0xf308,	0xf309,
-	0xf300,	0xf07f,	0xf30d,	0xf30c,	0xf200,	0xf30b,	0xf30a,	0xf30e,
-	0xf702,	0xf703,	0xf01b,	0xf020,	0xf020,	0xf310,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf700,
-	0xf114,	0xf117,	0xf118,	0xf119,	0xf701,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf702,	0xf200,	0xf200,
-	0xf702,	0xf703,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-};
-
-u_short alt_map[] = {
-	0xf200,	0xf021,	0xf02d,	0xf863,	0xf023,	0xf033,	0xf024,	0xf025,
-	0xf05f,	0xf038,	0xf026,	0xf02a,	0xf028,	0xf03d,	0xf02b,	0xf039,
-	0xf030,	0xf031,	0xf034,	0xf040,	0xf035,	0xf037,	0xf876,	0xf032,
-	0xf878,	0xf036,	0xf87a,	0xf700,	0xf201,	0xf101,	0xf200,	0xf07f,
-	0xf208,	0xf200,	0xf01b,	0xf601,	0xf603,	0xf600,	0xf602,	0xf07d,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf702,	0xf703,	0xf702,	0xf02b,	0xfa00,	0xf040,	0xf03f,	0xf029,
-	0xf03c,	0xf207,	0xf104,	0xf105,	0xf106,	0xf200,	0xf07e,	0xf301,
-	0xf302,	0xf303,	0xf304,	0xf305,	0xf306,	0xf307,	0xf308,	0xf309,
-	0xf300,	0xf07f,	0xf30d,	0xf30c,	0xf200,	0xf30b,	0xf30a,	0xf30e,
-	0xf702,	0xf703,	0xf01b,	0xf000,	0xf020,	0xf310,	0xf200,	0xf200,
+	0xf07c,	0xf200,	0xf01b,	0xf601,	0xf603,	0xf600,	0xf602,	0xf201,
+	0xf200,	0xf031,	0xf032,	0xf033,	0xf034,	0xf035,	0xf036,	0xf037,
+	0xf038,	0xf039,	0xf030,	0xfbe4,	0xfbfc,	0xfbf6,	0xfbc4,	0xfbdc,
+	0xfbd6,	0xfbdf,	0xf02d,	0xf02b,	0xfa00,	0xf040,	0xf03f,	0xf02c,
+	0xf02e,	0xf009,	0xf104,	0xf105,	0xf106,	0xf02f,	0xf027,	0xf03b,
+	0xf022,	0xf03a,	0xf023,	0xf024,	0xf025,	0xf05f,	0xf026,	0xf02a,
+	0xf028,	0xf07f,	0xf109,	0xf03d,	0xf029,	0xf07e,	0xf03c,	0xf03e,
+	0xf702,	0xf703,	0xf200,	0xf020,	0xf020,	0xf200,	0xf021,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf700,
-	0xf114,	0xf117,	0xf118,	0xf119,	0xf701,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf702,	0xf200,	0xf200,
-	0xf702,	0xf703,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
-	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
+	0xf702,	0xf702,	0xf703,	0xf703,	0xf701,	0xf200,	0xf200,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
 	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,	0xf200,
 };
 
 ushort *key_maps[MAX_NR_KEYMAPS] = {
 	plain_map, shift_map, 0, 0,
-	ctrl_map, shift_ctrl_map, 0, 0,
-	alt_map,	0
+	ctrl_map, shift_ctrl_map,	0
 };
 
-unsigned int keymap_count = 5;
+unsigned int keymap_count = 4;
 
 
 /*
--- linux/drivers/char/tosa_keymap.map~tosa_map.patch
+++ linux/drivers/char/tosa_keymap.map
@@ -8,9 +8,8 @@
 #  1 for [SHIFT]
 #  4 for [CTRL]                 , to symbol input for debug
 #  5 for [CTRL] [SHIFT]         , to symbol input for debug
-#  8 for [ALT]
 #
-keymaps 0,1,4,5,8
+keymaps 0,1,4,5
 #
 #  loadkeys --mktable iris_keymap.map
 #
@@ -20,60 +19,38 @@
 #
 #
 keycode 1 = a
-	alt keycode 1 = exclam
 keycode 2 = b
-	alt keycode 2 = minus
 keycode 3 = c
 keycode 4 = d
-	alt keycode 4 = numbersign
 keycode 5 = e
-	alt keycode 5 = three
 keycode 6 = f
-	alt keycode 6 = dollar
 keycode 7 = g
-	alt keycode 7 = percent
 keycode 8 = h
-	alt keycode 8 = underscore
 keycode 9 = i
-	alt keycode 9 = eight
 keycode 10 = j
-	alt keycode 10 = ampersand
 keycode 11 = k
-	alt keycode 11 = asterisk
 keycode 12 = l
-	alt keycode 12 = parenleft
 keycode 13 = m
-	alt keycode 13 = equal
 keycode 14 = n
-	alt keycode 14 = plus
 keycode 15 = o
-	alt keycode 15 = nine
 keycode 16 = p
-	alt keycode 16 = zero
 keycode 17 = q
-	alt keycode 17 = one
 keycode 18 = r
-	alt keycode 18 = four
 keycode 19 = s
-	alt keycode 19 = at
 keycode 20 = t
-	alt keycode 20 = five
 keycode 21 = u
-	alt keycode 21 = seven
 keycode 22 = v
 keycode 23 = w
-	alt keycode 23 = two
 keycode 24 = x
 keycode 25 = y
-	alt keycode 25 = six
 keycode 26 = z
 keycode 27 = Shift
 keycode 28 = Return
 keycode 29 = F2
-keycode 30 = Alt Control
+keycode 30 = 
 keycode 31 = BackSpace
-	alt keycode 31 = Delete
-keycode 32 = Num_Lock
+# for Debug , keycode 32(F3, Sym) --> Control
+keycode 32 = bar
 keycode 33 = 
 # (Cancel:34) F9 -> Escape
 keycode 34 = Escape
@@ -83,100 +60,84 @@
 keycode 38 = Right
 # (OK:39) F4 -> Return 
 keycode 39 = Return
-	alt keycode 39 = braceright
 keycode 40 = 
-keycode 41 = one              exclam
-keycode 42 = two	      quotedbl
-keycode 43 = three	      numbersign      
-keycode 44 = four           dollar          
-keycode 45 = five	    percent
-keycode 46 = six	    ampersand
-keycode 47 = seven	    apostrophe
-keycode 48 = eight	    parenleft
-keycode 49 = nine	    parenright
-keycode 50 = zero	    asciitilde      
-keycode 51 = minus            equal
-keycode 52 = asciicircum      asciitilde
-keycode 53 = backslash        bar
-keycode 54 = bracketleft      braceleft
-keycode 55 = at               grave
-keycode 56 = Control
-keycode 57 = Alt
-keycode 58 = Control
+keycode 41 = one
+keycode 42 = two
+keycode 43 = three
+keycode 44 = four
+keycode 45 = five
+keycode 46 = six
+keycode 47 = seven
+keycode 48 = eight
+keycode 49 = nine
+keycode 50 = zero
+keycode 51 = +adiaeresis
+keycode 52 = +udiaeresis
+keycode 53 = +odiaeresis
+keycode 54 = +Adiaeresis
+keycode 55 = +Udiaeresis
+keycode 56 = +Odiaeresis
+keycode 57 = +ssharp
+keycode 58 = minus
 keycode 59 = plus
 keycode 60 = Shift_Lock
 keycode 61 = at
 keycode 62 = question
-keycode 63 = comma semicolon
-	alt keycode 63 = parenright
-keycode 64 = period colon
-	alt keycode 64 = less
+keycode 63 = comma
+keycode 64 = period
 keycode 65 = Tab
-	alt keycode 65 = Caps_Lock
 keycode 66 = F5
 keycode 67 = F6
 keycode 68 = F7
-keycode 69 = slash question
-keycode 70 = apostrophe quotedbl
-	alt keycode 70 = asciitilde
-keycode 71 = KP_1
-keycode 72 = KP_2
-keycode 73 = KP_3
-keycode 74 = KP_4
-keycode 75 = KP_5
-keycode 76 = KP_6
-keycode 77 = KP_7
-keycode 78 = KP_8
-keycode 79 = KP_9
-keycode 80 = KP_0
+keycode 69 = slash
+keycode 70 = apostrophe
+keycode 71 = semicolon
+keycode 72 = quotedbl
+keycode 73 = colon
+keycode 74 = numbersign
+keycode 75 = dollar
+keycode 76 = percent
+# 2001/7/5 old keycode 77 = asciicircum
+keycode 77 = underscore
+keycode 78 = ampersand
+keycode 79 = asterisk
+keycode 80 = parenleft
 keycode 81 = Delete
-keycode 82 = KP_Divide
-keycode 83 = KP_Multiply     
-keycode 84 = 
-keycode 85 = KP_Subtract
-keycode 86 = KP_Add
-keycode 87 = KP_Enter        
+keycode 82 = F10
+keycode 83 = equal
+keycode 84 = parenright
+keycode 85 = asciitilde
+keycode 86 = less
+keycode 87 = greater
 # (Activity:88) -> Ctrl
 keycode 88 = Control
 # (Contacts:89) -> Alt
 keycode 89 = Alt
-keycode 90 = Escape
+keycode 90 = 
 # (select:91) F11 -> space
 keycode 91 = space
-	alt keycode 91 = nul
+	control keycode  91 = nul             
 keycode 92 = space
 	control keycode  92 = nul             
-keycode 93 = KP_Period
-keycode 94 =
-keycode 95 = semicolon        plus
-keycode 96 = colon            asterisk
-keycode 97 = bracketright     braceright
-keycode 98 = comma            less
-keycode 99 = period           greater
-keycode 100 = slash            question
-keycode 101 = underscore       underscore
+keycode 93 = 
+keycode 94 = exclam
+keycode 95 = 
+keycode 96 = 
+keycode 97 = 
+keycode 98 = 
+keycode 99 = 
+keycode 100 = 
+keycode 101 = 
 keycode 102 = 
 keycode 103 = Shift
-keycode 104 = Find
-keycode 105 = Select
-keycode 106 = Prior
-	shift   keycode 106 = Scroll_Backward 
-keycode 107 = Next
-	shift   keycode 107 = Scroll_Forward  
+keycode 104 = Control
+keycode 105 = Control
+keycode 106 = Alt
+keycode 107 = Alt
 keycode 108 = AltGr
 keycode 109 = 
 keycode 110 = 
 keycode 111 = 
-keycode 112 = 
-keycode 113 = 
-keycode 114 =
-keycode 115 = 
-keycode 116 = 
-keycode 117 = Control 
-keycode 118 = 
-keycode 119 = 
-keycode 120 = Control
-keycode 121 =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SLKEY_H,	SLKEY_M,	SLKEY_F2,	KEY_IGN,	SLKEY_UP,	
+KEY_IGN,	KEY_IGN,	KEY_IGN,	SLKEY_2ND,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,
+KEY_IGN,	SLKEY_F5,	SLKEY_F,	SLKEY_SYM,	SLKEY_QUOTEDBL,	SLKEY_MAIL,	SLKEY_LEFT,SLKEY_DOWN,	
+SLKEY_RIGHT,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,
+KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,
+KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN,	KEY_IGN
+};
 
 
 
@@ -334,7 +462,87 @@
 
 
 static unsigned char *state_to_keymap[STATE_NUMS_TOTAL] = {
-rawkeytable_table_NormalLower,rawkeytable_table_NormalUpper,rawkeytable_table_2ndLower,rawkeytable_table_2ndUpper,rawkeytable_table_2ndLower,rawkeytable_table_2ndUpper,rawkeytable_table_2ndLower,rawkeytable_table_2ndUpper,rawkeytable_table_2ndLower,rawkeytable_table_2ndUpper,rawkeytable_table_NormalLower,rawkeytable_table_NormalUpper,rawkeytable_table_2ndLower,rawkeytable_table_2ndUpper,rawkeytable_table_2ndLower,rawkeytable_table_2ndUpper,rawkeytable_table_2ndLower,rawkeytable_table_2ndUpper,rawkeytable_table_2ndLower,rawkeytable_table_2ndUpper,rawkeytable_table_NumlockLower,rawkeytable_table_NumlockUpper,rawkeytable_table_Num2ndLower,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndLower,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndLower,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndLower,rawkeytable_table_Num2ndUpper,rawkeytable_table_NumlockLower,rawkeytable_table_NumlockUpper,rawkeytable_table_Num2ndLower,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndLower,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndLower,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndLower,rawkeytable_table_Num2ndUpper,rawkeytable_table_NormalUpper,rawkeytable_table_NormalUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_NormalUpper,rawkeytable_table_NormalUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_2ndUpper,rawkeytable_table_NumlockUpper,rawkeytable_table_NumlockUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_NumlockUpper,rawkeytable_table_NumlockUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper,rawkeytable_table_Num2ndUpper};
+rawkeytable_table_NormalLower,	/*S0*/
+rawkeytable_table_NormalUpper,	/*S1*/
+rawkeytable_table_2ndLower,	/*S2*/
+rawkeytable_table_2ndUpper,	/*S3*/
+rawkeytable_table_2ndLower,	/*S4*/
+rawkeytable_table_2ndUpper,	/*S5*/
+rawkeytable_table_2ndLower,	/*S6*/
+rawkeytable_table_2ndUpper,	/*S7*/
+rawkeytable_table_2ndLower,	/*S8*/
+rawkeytable_table_2ndUpper,	/*S9*/
+rawkeytable_table_NormalLower,	/*S10*/
+rawkeytable_table_NormalUpper,	/*S11*/
+rawkeytable_table_2ndLower,	/*S12*/
+rawkeytable_table_2ndUpper,	/*S13*/
+rawkeytable_table_2ndLower,	/*S14*/
+rawkeytable_table_2ndUpper,	/*S15*/
+rawkeytable_table_2ndLower,	/*S16*/
+rawkeytable_table_2ndUpper,	/*S17*/
+rawkeytable_table_2ndLower,	/*S18*/
+rawkeytable_table_2ndUpper,	/*S19*/
+rawkeytable_table_NumlockLower,	/*S20*/
+rawkeytable_table_NumlockUpper,	/*S21*/
+rawkeytable_table_Num2ndLower,	/*S22*/
+rawkeytable_table_Num2ndUpper,	/*S23*/
+rawkeytable_table_Num2ndLower,	/*S24*/
+rawkeytable_table_Num2ndUpper,	/*S25*/
+rawkeytable_table_Num2ndLower,	/*S26*/
+rawkeytable_table_Num2ndUpper,	/*S27*/
+rawkeytable_table_Num2ndLower,	/*S28*/
+rawkeytable_table_Num2ndUpper,	/*S29*/
+rawkeytable_table_NumlockLower,	/*S30*/
+rawkeytable_table_NumlockUpper,	/*S31*/
+rawkeytable_table_Num2ndLower,	/*S32*/
+rawkeytable_table_Num2ndUpper,	/*S33*/
+rawkeytable_table_Num2ndLower,	/*S34*/
+rawkeytable_table_Num2ndUpper,	/*S35*/
+rawkeytable_table_Num2ndLower,	/*S36*/
+rawkeytable_table_Num2ndUpper,	/*S37*/
+rawkeytable_table_Num2ndLower,	/*S38*/
+rawkeytable_table_Num2ndUpper,	/*S39*/
+rawkeytable_table_NormalUpper,	/*S40*/
+rawkeytable_table_NormalUpper,	/*S41*/
+rawkeytable_table_2ndUpper,	/*S42*/
+rawkeytable_table_2ndUpper,	/*S43*/
+rawkeytable_table_2ndUpper,	/*S44*/
+rawkeytable_table_2ndUpper,	/*S45*/
+rawkeytable_table_2ndUpper,	/*S46*/
+rawkeytable_table_2ndUpper,	/*S47*/
+rawkeytable_table_2ndUpper,	/*S48*/
+rawkeytable_table_2ndUpper,	/*S49*/
+rawkeytable_table_NormalUpper,	/*S50*/
+rawkeytable_table_NormalUpper,	/*S51*/
+rawkeytable_table_2ndUpper,	/*S52*/
+rawkeytable_table_2ndUpper,	/*S53*/
+rawkeytable_table_2ndUpper,	/*S54*/
+rawkeytable_table_2ndUpper,	/*S55*/
+rawkeytable_table_2ndUpper,	/*S56*/
+rawkeytable_table_2ndUpper,	/*S57*/
+rawkeytable_table_2ndUpper,	/*S58*/
+rawkeytable_table_2ndUpper,	/*S59*/
+rawkeytable_table_NumlockUpper,	/*S60*/
+rawkeytable_table_NumlockUpper,	/*S61*/
+rawkeytable_table_Num2ndUpper,	/*S62*/
+rawkeytable_table_Num2ndUpper,	/*S63*/
+rawkeytable_table_Num2ndUpper,	/*S64*/
+rawkeytable_table_Num2ndUpper,	/*S65*/
+rawkeytable_table_Num2ndUpper,	/*S66*/
+rawkeytable_table_Num2ndUpper,	/*S67*/
+rawkeytable_table_Num2ndUpper,	/*S68*/
+rawkeytable_table_Num2ndUpper,	/*S69*/
+rawkeytable_table_NumlockUpper,	/*S70*/
+rawkeytable_table_NumlockUpper,	/*S71*/
+rawkeytable_table_Num2ndUpper,	/*S72*/
+rawkeytable_table_Num2ndUpper,	/*S73*/
+rawkeytable_table_Num2ndUpper,	/*S74*/
+rawkeytable_table_Num2ndUpper,	/*S75*/
+rawkeytable_table_Num2ndUpper,	/*S76*/
+rawkeytable_table_Num2ndUpper,	/*S77*/
+rawkeytable_table_Num2ndUpper,	/*S78*/
+rawkeytable_table_Num2ndUpper	/*S79*/
+};
 
 
 #endif /* ! __KEYTABLE_H_INCLUDED__ */