Date:2010-04-24 12:22:25 (10 years 2 months ago)
Author:Lars C.
Commit:e6a1e5ae5d664516fc3cefd69acf65d5886072a8
Message:Modify keymap for ben nanonote

Files: drivers/char/defkeymap.c_shipped (5 diffs)
drivers/char/defkeymap.map (5 diffs)

Change Details

drivers/char/defkeymap.c_shipped
99    0xf200, 0xf01b, 0xf031, 0xf032, 0xf033, 0xf034, 0xf035, 0xf036,
1010    0xf037, 0xf038, 0xf039, 0xf030, 0xf02d, 0xf03d, 0xf07f, 0xf009,
1111    0xfb71, 0xfb77, 0xfb65, 0xfb72, 0xfb74, 0xfb79, 0xfb75, 0xfb69,
12    0xfb6f, 0xfb70, 0xf05b, 0xf05d, 0xf201, 0xf702, 0xfb61, 0xfb73,
12    0xfb6f, 0xfb70, 0xf05b, 0xf05d, 0xf201, 0xf706, 0xfb61, 0xfb73,
1313    0xfb64, 0xfb66, 0xfb67, 0xfb68, 0xfb6a, 0xfb6b, 0xfb6c, 0xf03b,
1414    0xf027, 0xf060, 0xf700, 0xf05c, 0xfb7a, 0xfb78, 0xfb63, 0xfb76,
15    0xfb62, 0xfb6e, 0xfb6d, 0xf02c, 0xf02e, 0xf02f, 0xf700, 0xf30c,
15    0xfb62, 0xfb6e, 0xfb6d, 0xf02c, 0xf02e, 0xf02f, 0xf701, 0xf30c,
1616    0xf703, 0xf020, 0xf207, 0xf100, 0xf101, 0xf102, 0xf103, 0xf104,
1717    0xf105, 0xf106, 0xf107, 0xf108, 0xf109, 0xf208, 0xf209, 0xf307,
1818    0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301,
...... 
2222    0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116,
2323    0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d,
2424    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
25    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
26    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
27    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
28    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
29    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
30    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
31    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
32    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
33    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
34    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
35    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
36    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
37    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
38    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
39    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
40    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
2541};
2642
27u_short shift_map[NR_KEYS] = {
43static u_short shift_map[NR_KEYS] = {
2844    0xf200, 0xf01b, 0xf021, 0xf040, 0xf023, 0xf024, 0xf025, 0xf05e,
2945    0xf026, 0xf02a, 0xf028, 0xf029, 0xf05f, 0xf02b, 0xf07f, 0xf009,
3046    0xfb51, 0xfb57, 0xfb45, 0xfb52, 0xfb54, 0xfb59, 0xfb55, 0xfb49,
31    0xfb4f, 0xfb50, 0xf07b, 0xf07d, 0xf201, 0xf702, 0xfb41, 0xfb53,
47    0xfb4f, 0xfb50, 0xf07b, 0xf07d, 0xf201, 0xf706, 0xfb41, 0xfb53,
3248    0xfb44, 0xfb46, 0xfb47, 0xfb48, 0xfb4a, 0xfb4b, 0xfb4c, 0xf03a,
3349    0xf022, 0xf07e, 0xf700, 0xf07c, 0xfb5a, 0xfb58, 0xfb43, 0xfb56,
34    0xfb42, 0xfb4e, 0xfb4d, 0xf03c, 0xf03e, 0xf03f, 0xf700, 0xf30c,
50    0xfb42, 0xfb4e, 0xfb4d, 0xf03b, 0xf03a, 0xf03f, 0xf701, 0xf30c,
3551    0xf703, 0xf020, 0xf207, 0xf10a, 0xf10b, 0xf10c, 0xf10d, 0xf10e,
3652    0xf10f, 0xf110, 0xf111, 0xf112, 0xf113, 0xf213, 0xf203, 0xf307,
3753    0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301,
3854    0xf302, 0xf303, 0xf300, 0xf310, 0xf206, 0xf200, 0xf03e, 0xf10a,
3955    0xf10b, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
40    0xf30e, 0xf702, 0xf30d, 0xf200, 0xf701, 0xf205, 0xf114, 0xf603,
56    0xf30e, 0xf702, 0xf30d, 0xf01c, 0xf701, 0xf205, 0xf114, 0xf603,
4157    0xf20b, 0xf601, 0xf602, 0xf117, 0xf600, 0xf20a, 0xf115, 0xf116,
4258    0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d,
4359    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
60    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
61    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
62    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
63    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
64    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
65    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
66    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
67    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
68    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
69    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
70    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
71    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
72    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
73    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
74    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
75    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
4476};
4577
46u_short altgr_map[NR_KEYS] = {
78static u_short altgr_map[NR_KEYS] = {
4779    0xf200, 0xf200, 0xf200, 0xf040, 0xf200, 0xf024, 0xf200, 0xf200,
48    0xf07b, 0xf05b, 0xf05d, 0xf07d, 0xf05c, 0xf200, 0xf200, 0xf200,
49    0xfb71, 0xfb77, 0xf918, 0xfb72, 0xfb74, 0xfb79, 0xfb75, 0xfb69,
50    0xfb6f, 0xfb70, 0xf200, 0xf07e, 0xf201, 0xf702, 0xf914, 0xfb73,
51    0xf917, 0xf919, 0xfb67, 0xfb68, 0xfb6a, 0xfb6b, 0xfb6c, 0xf200,
52    0xf200, 0xf200, 0xf700, 0xf200, 0xfb7a, 0xfb78, 0xf916, 0xfb76,
53    0xf915, 0xfb6e, 0xfb6d, 0xf200, 0xf200, 0xf200, 0xf700, 0xf30c,
54    0xf703, 0xf200, 0xf207, 0xf50c, 0xf50d, 0xf50e, 0xf50f, 0xf510,
55    0xf511, 0xf512, 0xf513, 0xf514, 0xf515, 0xf208, 0xf202, 0xf911,
80    0xf07b, 0xf05b, 0xf05d, 0xf07d, 0xf05c, 0xf07e, 0xf008, 0xf200,
81    0xf021, 0xf040, 0xf023, 0xf024, 0xf025, 0xf05e, 0xf026, 0xf02a,
82    0xf028, 0xf029, 0xf200, 0xf07e, 0xf201, 0xf706, 0xf0b0, 0xf0a8,
83    0xf0a4, 0xf02d, 0xf05f, 0xf07b, 0xf05b, 0xf05d, 0xf07d, 0xf200,
84    0xf200, 0xf200, 0xf700, 0xf200, 0xf039, 0xf030, 0xf916, 0xfb76,
85    0xf915, 0xf03c, 0xf03e, 0xf027, 0xf022, 0xf200, 0xf701, 0xf30c,
86    0xf703, 0xf200, 0xf207, 0xf031, 0xf032, 0xf033, 0xf034, 0xf035,
87    0xf036, 0xf037, 0xf038, 0xf514, 0xf515, 0xf208, 0xf202, 0xf911,
5688    0xf912, 0xf913, 0xf30b, 0xf90e, 0xf90f, 0xf910, 0xf30a, 0xf90b,
5789    0xf90c, 0xf90d, 0xf90a, 0xf310, 0xf206, 0xf200, 0xf07c, 0xf516,
5890    0xf517, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
59    0xf30e, 0xf702, 0xf30d, 0xf200, 0xf701, 0xf205, 0xf114, 0xf603,
91    0xf30e, 0xf702, 0xf30d, 0xf01c, 0xf701, 0xf205, 0xf114, 0xf603,
6092    0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116,
6193    0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d,
6294    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
95    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
96    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
97    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
98    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
99    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
100    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
101    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
102    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
103    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
104    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
105    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
106    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
107    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
108    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
109    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
110    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
63111};
64112
65u_short ctrl_map[NR_KEYS] = {
113static u_short ctrl_map[NR_KEYS] = {
66114    0xf200, 0xf200, 0xf200, 0xf000, 0xf01b, 0xf01c, 0xf01d, 0xf01e,
67    0xf01f, 0xf07f, 0xf200, 0xf200, 0xf01f, 0xf200, 0xf008, 0xf200,
115    0xf01f, 0xf07f, 0xf200, 0xf200, 0xf01f, 0xf200, 0xf200, 0xf200,
68116    0xf011, 0xf017, 0xf005, 0xf012, 0xf014, 0xf019, 0xf015, 0xf009,
69    0xf00f, 0xf010, 0xf01b, 0xf01d, 0xf201, 0xf702, 0xf001, 0xf013,
117    0xf00f, 0xf010, 0xf01b, 0xf01d, 0xf201, 0xf706, 0xf001, 0xf013,
70118    0xf004, 0xf006, 0xf007, 0xf008, 0xf00a, 0xf00b, 0xf00c, 0xf200,
71119    0xf007, 0xf000, 0xf700, 0xf01c, 0xf01a, 0xf018, 0xf003, 0xf016,
72    0xf002, 0xf00e, 0xf00d, 0xf200, 0xf20e, 0xf07f, 0xf700, 0xf30c,
120    0xf002, 0xf00e, 0xf00d, 0xf200, 0xf20e, 0xf07f, 0xf701, 0xf30c,
73121    0xf703, 0xf000, 0xf207, 0xf100, 0xf101, 0xf102, 0xf103, 0xf104,
74122    0xf105, 0xf106, 0xf107, 0xf108, 0xf109, 0xf208, 0xf204, 0xf307,
75123    0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301,
...... 
79127    0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116,
80128    0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d,
81129    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
130    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
131    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
132    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
133    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
134    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
135    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
136    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
137    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
138    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
139    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
140    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
141    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
142    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
143    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
144    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
145    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
82146};
83147
84u_short shift_ctrl_map[NR_KEYS] = {
148static u_short shift_ctrl_map[NR_KEYS] = {
85149    0xf200, 0xf200, 0xf200, 0xf000, 0xf200, 0xf200, 0xf200, 0xf200,
86150    0xf200, 0xf200, 0xf200, 0xf200, 0xf01f, 0xf200, 0xf200, 0xf200,
87151    0xf011, 0xf017, 0xf005, 0xf012, 0xf014, 0xf019, 0xf015, 0xf009,
88    0xf00f, 0xf010, 0xf200, 0xf200, 0xf201, 0xf702, 0xf001, 0xf013,
152    0xf00f, 0xf010, 0xf200, 0xf200, 0xf201, 0xf706, 0xf001, 0xf013,
89153    0xf004, 0xf006, 0xf007, 0xf008, 0xf00a, 0xf00b, 0xf00c, 0xf200,
90154    0xf200, 0xf200, 0xf700, 0xf200, 0xf01a, 0xf018, 0xf003, 0xf016,
91    0xf002, 0xf00e, 0xf00d, 0xf200, 0xf200, 0xf200, 0xf700, 0xf30c,
155    0xf002, 0xf00e, 0xf00d, 0xf200, 0xf200, 0xf200, 0xf701, 0xf30c,
92156    0xf703, 0xf200, 0xf207, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
93157    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf208, 0xf200, 0xf307,
94158    0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301,
95159    0xf302, 0xf303, 0xf300, 0xf310, 0xf206, 0xf200, 0xf200, 0xf200,
96160    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
97    0xf30e, 0xf702, 0xf30d, 0xf200, 0xf701, 0xf205, 0xf114, 0xf603,
161    0xf30e, 0xf702, 0xf30d, 0xf01c, 0xf701, 0xf205, 0xf114, 0xf603,
98162    0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116,
99163    0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d,
100164    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
165    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
166    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
167    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
168    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
169    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
170    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
171    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
172    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
173    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
174    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
175    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
176    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
177    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
178    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
179    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
180    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
101181};
102182
103u_short alt_map[NR_KEYS] = {
183static u_short alt_map[NR_KEYS] = {
104184    0xf200, 0xf81b, 0xf831, 0xf832, 0xf833, 0xf834, 0xf835, 0xf836,
105185    0xf837, 0xf838, 0xf839, 0xf830, 0xf82d, 0xf83d, 0xf87f, 0xf809,
106186    0xf871, 0xf877, 0xf865, 0xf872, 0xf874, 0xf879, 0xf875, 0xf869,
107    0xf86f, 0xf870, 0xf85b, 0xf85d, 0xf80d, 0xf702, 0xf861, 0xf873,
187    0xf86f, 0xf870, 0xf85b, 0xf85d, 0xf80d, 0xf706, 0xf861, 0xf873,
108188    0xf864, 0xf866, 0xf867, 0xf868, 0xf86a, 0xf86b, 0xf86c, 0xf83b,
109189    0xf827, 0xf860, 0xf700, 0xf85c, 0xf87a, 0xf878, 0xf863, 0xf876,
110    0xf862, 0xf86e, 0xf86d, 0xf82c, 0xf82e, 0xf82f, 0xf700, 0xf30c,
190    0xf862, 0xf86e, 0xf86d, 0xf200, 0xf200, 0xf82f, 0xf701, 0xf30c,
111191    0xf703, 0xf820, 0xf207, 0xf500, 0xf501, 0xf502, 0xf503, 0xf504,
112192    0xf505, 0xf506, 0xf507, 0xf508, 0xf509, 0xf208, 0xf209, 0xf907,
113193    0xf908, 0xf909, 0xf30b, 0xf904, 0xf905, 0xf906, 0xf30a, 0xf901,
...... 
117197    0xf118, 0xf210, 0xf211, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116,
118198    0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d,
119199    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
200    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
201    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
202    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
203    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
204    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
205    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
206    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
207    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
208    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
209    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
210    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
211    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
212    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
213    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
214    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
215    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
120216};
121217
122u_short ctrl_alt_map[NR_KEYS] = {
218static u_short ctrl_alt_map[NR_KEYS] = {
123219    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
124220    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
125221    0xf811, 0xf817, 0xf805, 0xf812, 0xf814, 0xf819, 0xf815, 0xf809,
126    0xf80f, 0xf810, 0xf200, 0xf200, 0xf201, 0xf702, 0xf801, 0xf813,
222    0xf80f, 0xf810, 0xf200, 0xf200, 0xf201, 0xf706, 0xf801, 0xf813,
127223    0xf804, 0xf806, 0xf807, 0xf808, 0xf80a, 0xf80b, 0xf80c, 0xf200,
128224    0xf200, 0xf200, 0xf700, 0xf200, 0xf81a, 0xf818, 0xf803, 0xf816,
129    0xf802, 0xf80e, 0xf80d, 0xf200, 0xf200, 0xf200, 0xf700, 0xf30c,
225    0xf802, 0xf80e, 0xf80d, 0xf200, 0xf200, 0xf200, 0xf701, 0xf30c,
130226    0xf703, 0xf200, 0xf207, 0xf500, 0xf501, 0xf502, 0xf503, 0xf504,
131227    0xf505, 0xf506, 0xf507, 0xf508, 0xf509, 0xf208, 0xf200, 0xf307,
132228    0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301,
133229    0xf302, 0xf303, 0xf300, 0xf20c, 0xf206, 0xf200, 0xf200, 0xf50a,
134230    0xf50b, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
135    0xf30e, 0xf702, 0xf30d, 0xf200, 0xf701, 0xf205, 0xf114, 0xf603,
231    0xf30e, 0xf702, 0xf30d, 0xf01c, 0xf701, 0xf205, 0xf114, 0xf603,
136232    0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf20c,
137233    0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d,
138234    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
235    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
236    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
237    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
238    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
239    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
240    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
241    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
242    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
243    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
244    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
245    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
246    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
247    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
248    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
249    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
250    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
251};
252
253static u_short ctl_map[NR_KEYS] = {
254    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
255    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf033, 0xf200, 0xf200,
256    0xfb71, 0xfb77, 0xfb65, 0xfb72, 0xfb74, 0xfb79, 0xf037, 0xf038,
257    0xf039, 0xfb70, 0xf200, 0xf200, 0xf201, 0xf706, 0xfb61, 0xfb73,
258    0xfb64, 0xfb66, 0xfb67, 0xfb68, 0xf034, 0xf035, 0xf036, 0xf200,
259    0xf200, 0xf200, 0xf700, 0xf200, 0xfb7a, 0xfb78, 0xfb63, 0xfb76,
260    0xfb62, 0xf031, 0xf032, 0xf200, 0xf200, 0xf030, 0xf701, 0xf30c,
261    0xf703, 0xf200, 0xf207, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
262    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf208, 0xf200, 0xf307,
263    0xf308, 0xf309, 0xf30b, 0xf304, 0xf305, 0xf306, 0xf30a, 0xf301,
264    0xf302, 0xf303, 0xf300, 0xf310, 0xf206, 0xf200, 0xf200, 0xf200,
265    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
266    0xf30e, 0xf702, 0xf30d, 0xf01c, 0xf701, 0xf205, 0xf114, 0xf603,
267    0xf118, 0xf601, 0xf602, 0xf117, 0xf600, 0xf119, 0xf115, 0xf116,
268    0xf11a, 0xf10c, 0xf10d, 0xf11b, 0xf11c, 0xf110, 0xf311, 0xf11d,
269    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
270    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
271    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
272    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
273    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
274    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
275    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
276    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
277    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
278    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
279    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
280    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
281    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
282    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
283    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
284    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
285    0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200,
139286};
140287
141288ushort *key_maps[MAX_NR_KEYMAPS] = {
142    plain_map, shift_map, altgr_map, NULL,
143    ctrl_map, shift_ctrl_map, NULL, NULL,
144    alt_map, NULL, NULL, NULL,
145    ctrl_alt_map, NULL
289    plain_map, shift_map, altgr_map, 0,
290    ctrl_map, shift_ctrl_map, 0, 0,
291    alt_map, 0, 0, 0,
292    ctrl_alt_map, 0, 0, 0,
293    0, 0, 0, 0,
294    0, 0, 0, 0,
295    0, 0, 0, 0,
296    0, 0, 0, 0,
297    0, 0, 0, 0,
298    0, 0, 0, 0,
299    0, 0, 0, 0,
300    0, 0, 0, 0,
301    0, 0, 0, 0,
302    0, 0, 0, 0,
303    0, 0, 0, 0,
304    0, 0, 0, 0,
305    ctl_map, 0
146306};
147307
148unsigned int keymap_count = 7;
308unsigned int keymap_count = 8;
149309
150310/*
151311 * Philosophy: most people do not define more strings, but they who do
...... 
216376    func_buf + 135,
217377    func_buf + 140,
218378    func_buf + 145,
219    NULL,
220    NULL,
379    0,
380    0,
221381    func_buf + 149,
222    NULL,
382    0,
223383};
224384
225struct kbdiacruc accent_table[MAX_DIACR] = {
226    {'`', 'A', 0300}, {'`', 'a', 0340},
227    {'\'', 'A', 0301}, {'\'', 'a', 0341},
228    {'^', 'A', 0302}, {'^', 'a', 0342},
229    {'~', 'A', 0303}, {'~', 'a', 0343},
230    {'"', 'A', 0304}, {'"', 'a', 0344},
231    {'O', 'A', 0305}, {'o', 'a', 0345},
232    {'0', 'A', 0305}, {'0', 'a', 0345},
233    {'A', 'A', 0305}, {'a', 'a', 0345},
234    {'A', 'E', 0306}, {'a', 'e', 0346},
235    {',', 'C', 0307}, {',', 'c', 0347},
236    {'`', 'E', 0310}, {'`', 'e', 0350},
237    {'\'', 'E', 0311}, {'\'', 'e', 0351},
238    {'^', 'E', 0312}, {'^', 'e', 0352},
239    {'"', 'E', 0313}, {'"', 'e', 0353},
240    {'`', 'I', 0314}, {'`', 'i', 0354},
241    {'\'', 'I', 0315}, {'\'', 'i', 0355},
242    {'^', 'I', 0316}, {'^', 'i', 0356},
243    {'"', 'I', 0317}, {'"', 'i', 0357},
244    {'-', 'D', 0320}, {'-', 'd', 0360},
245    {'~', 'N', 0321}, {'~', 'n', 0361},
246    {'`', 'O', 0322}, {'`', 'o', 0362},
247    {'\'', 'O', 0323}, {'\'', 'o', 0363},
248    {'^', 'O', 0324}, {'^', 'o', 0364},
249    {'~', 'O', 0325}, {'~', 'o', 0365},
250    {'"', 'O', 0326}, {'"', 'o', 0366},
251    {'/', 'O', 0330}, {'/', 'o', 0370},
252    {'`', 'U', 0331}, {'`', 'u', 0371},
253    {'\'', 'U', 0332}, {'\'', 'u', 0372},
254    {'^', 'U', 0333}, {'^', 'u', 0373},
255    {'"', 'U', 0334}, {'"', 'u', 0374},
256    {'\'', 'Y', 0335}, {'\'', 'y', 0375},
257    {'T', 'H', 0336}, {'t', 'h', 0376},
258    {'s', 's', 0337}, {'"', 'y', 0377},
259    {'s', 'z', 0337}, {'i', 'j', 0377},
385struct kbdiacr accent_table[MAX_DIACR] = {
386    {'`', 'A', '\300'}, {'`', 'a', '\340'},
387    {'\'', 'A', '\301'}, {'\'', 'a', '\341'},
388    {'^', 'A', '\302'}, {'^', 'a', '\342'},
389    {'~', 'A', '\303'}, {'~', 'a', '\343'},
390    {'"', 'A', '\304'}, {'"', 'a', '\344'},
391    {'O', 'A', '\305'}, {'o', 'a', '\345'},
392    {'0', 'A', '\305'}, {'0', 'a', '\345'},
393    {'A', 'A', '\305'}, {'a', 'a', '\345'},
394    {'A', 'E', '\306'}, {'a', 'e', '\346'},
395    {',', 'C', '\307'}, {',', 'c', '\347'},
396    {'`', 'E', '\310'}, {'`', 'e', '\350'},
397    {'\'', 'E', '\311'}, {'\'', 'e', '\351'},
398    {'^', 'E', '\312'}, {'^', 'e', '\352'},
399    {'"', 'E', '\313'}, {'"', 'e', '\353'},
400    {'`', 'I', '\314'}, {'`', 'i', '\354'},
401    {'\'', 'I', '\315'}, {'\'', 'i', '\355'},
402    {'^', 'I', '\316'}, {'^', 'i', '\356'},
403    {'"', 'I', '\317'}, {'"', 'i', '\357'},
404    {'-', 'D', '\320'}, {'-', 'd', '\360'},
405    {'~', 'N', '\321'}, {'~', 'n', '\361'},
406    {'`', 'O', '\322'}, {'`', 'o', '\362'},
407    {'\'', 'O', '\323'}, {'\'', 'o', '\363'},
408    {'^', 'O', '\324'}, {'^', 'o', '\364'},
409    {'~', 'O', '\325'}, {'~', 'o', '\365'},
410    {'"', 'O', '\326'}, {'"', 'o', '\366'},
411    {'/', 'O', '\330'}, {'/', 'o', '\370'},
412    {'`', 'U', '\331'}, {'`', 'u', '\371'},
413    {'\'', 'U', '\332'}, {'\'', 'u', '\372'},
414    {'^', 'U', '\333'}, {'^', 'u', '\373'},
415    {'"', 'U', '\334'}, {'"', 'u', '\374'},
416    {'\'', 'Y', '\335'}, {'\'', 'y', '\375'},
417    {'T', 'H', '\336'}, {'t', 'h', '\376'},
418    {'s', 's', '\337'}, {'"', 'y', '\377'},
419    {'s', 'z', '\337'}, {'i', 'j', '\377'},
260420};
261421
262422unsigned int accent_table_size = 68;
drivers/char/defkeymap.map
11# Default kernel keymap. This uses 7 modifier combinations.
2keymaps 0-2,4-5,8,12
2keymaps 0-2,4-5,8,12,64
33# Change the above line into
44# keymaps 0-2,4-6,8,12
55# in case you want the entries
...... 
4545    control keycode 12 = Control_underscore
4646    shift control keycode 12 = Control_underscore
4747    alt keycode 12 = Meta_minus
48keycode 13 = equal plus
48keycode 13 = equal plus
4949    alt keycode 13 = Meta_equal
50    altgr keycode 13 = asciitilde
51    ctrll keycode 13 = three
5052keycode 14 = Delete Delete
51    control keycode 14 = BackSpace
53    altgr keycode 14 = BackSpace
5254    alt keycode 14 = Meta_Delete
5355keycode 15 = Tab Tab
5456    alt keycode 15 = Meta_Tab
5557keycode 16 = q
58    altgr keycode 16 = exclam
5659keycode 17 = w
60    altgr keycode 17 = at
5761keycode 18 = e
58    altgr keycode 18 = Hex_E
62    altgr keycode 18 = numbersign
5963keycode 19 = r
64    altgr keycode 19 = dollar
6065keycode 20 = t
66    altgr keycode 20 = percent
6167keycode 21 = y
68    altgr keycode 21 = asciicircum
6269keycode 22 = u
70    altgr keycode 22 = ampersand
71    ctrll keycode 22 = seven
6372keycode 23 = i
73    altgr keycode 23 = asterisk
74    ctrll keycode 23 = eight
6475keycode 24 = o
76    altgr keycode 24 = parenleft
77    ctrll keycode 24 = nine
6578keycode 25 = p
79    altgr keycode 25 = parenright
6680keycode 26 = bracketleft braceleft
6781    control keycode 26 = Escape
6882    alt keycode 26 = Meta_bracketleft
...... 
7185    alt keycode 27 = Meta_bracketright
7286keycode 28 = Return
7387    alt keycode 28 = Meta_Control_m
74keycode 29 = Control
88keycode 29 = CtrlL
7589keycode 30 = a
76    altgr keycode 30 = Hex_A
90    altgr keycode 30 = U+00B0
7791keycode 31 = s
92    altgr keycode 31 = U+00A8
7893keycode 32 = d
79    altgr keycode 32 = Hex_D
94    altgr keycode 32 = U+20AC
8095keycode 33 = f
81    altgr keycode 33 = Hex_F
96    altgr keycode 33 = minus
8297keycode 34 = g
98    altgr keycode 34 = underscore
8399keycode 35 = h
100    altgr keycode 35 = braceleft
84101keycode 36 = j
102    altgr keycode 36 = bracketleft
103    ctrll keycode 36 = four
85104keycode 37 = k
105    altgr keycode 37 = bracketright
106    ctrll keycode 37 = five
86107keycode 38 = l
108    altgr keycode 38 = braceright
109    ctrll keycode 38 = six
87110keycode 39 = semicolon colon
88111    alt keycode 39 = Meta_semicolon
89112keycode 40 = apostrophe quotedbl
...... 
97120    control keycode 43 = Control_backslash
98121    alt keycode 43 = Meta_backslash
99122keycode 44 = z
123    altgr keycode 44 = nine
100124keycode 45 = x
125    altgr keycode 45 = zero
101126keycode 46 = c
102127    altgr keycode 46 = Hex_C
103128keycode 47 = v
104129keycode 48 = b
105130    altgr keycode 48 = Hex_B
106131keycode 49 = n
132    altgr keycode 49 = less
133    ctrll keycode 49 = one
107134keycode 50 = m
108keycode 51 = comma less
109    alt keycode 51 = Meta_comma
110keycode 52 = period greater
135    altgr keycode 50 = greater
136    ctrll keycode 50 = two
137keycode 51 = comma semicolon
138    altgr keycode 51 = apostrophe
139keycode 52 = period colon
111140    control keycode 52 = Compose
112    alt keycode 52 = Meta_period
141    altgr keycode 52 = quotedbl
113142keycode 53 = slash question
114143    control keycode 53 = Delete
115144    alt keycode 53 = Meta_slash
116keycode 54 = Shift
145    ctrll keycode 53 = zero
146keycode 54 = AltGr
117147keycode 55 = KP_Multiply
118148keycode 56 = Alt
119149keycode 57 = space space
120150    control keycode 57 = nul
121151    alt keycode 57 = Meta_space
122152keycode 58 = Caps_Lock
123keycode 59 = F1 F11 Console_13
153keycode 59 = F1 F11 one
124154    control keycode 59 = F1
125155    alt keycode 59 = Console_1
126156    control alt keycode 59 = Console_1
127keycode 60 = F2 F12 Console_14
157keycode 60 = F2 F12 two
128158    control keycode 60 = F2
129159    alt keycode 60 = Console_2
130160    control alt keycode 60 = Console_2
131keycode 61 = F3 F13 Console_15
161keycode 61 = F3 F13 three
132162    control keycode 61 = F3
133163    alt keycode 61 = Console_3
134164    control alt keycode 61 = Console_3
135keycode 62 = F4 F14 Console_16
165keycode 62 = F4 F14 four
136166    control keycode 62 = F4
137167    alt keycode 62 = Console_4
138168    control alt keycode 62 = Console_4
139keycode 63 = F5 F15 Console_17
169keycode 63 = F5 F15 five
140170    control keycode 63 = F5
141171    alt keycode 63 = Console_5
142172    control alt keycode 63 = Console_5
143keycode 64 = F6 F16 Console_18
173keycode 64 = F6 F16 six
144174    control keycode 64 = F6
145175    alt keycode 64 = Console_6
146176    control alt keycode 64 = Console_6
147keycode 65 = F7 F17 Console_19
177keycode 65 = F7 F17 seven
148178    control keycode 65 = F7
149179    alt keycode 65 = Console_7
150180    control alt keycode 65 = Console_7
151keycode 66 = F8 F18 Console_20
181keycode 66 = F8 F18 eight
152182    control keycode 66 = F8
153183    alt keycode 66 = Console_8
154184    control alt keycode 66 = Console_8
...... 
220250keycode 94 =
221251keycode 95 =
222252keycode 96 = KP_Enter
223keycode 97 = Control
253keycode 97 = Control
224254keycode 98 = KP_Divide
225255keycode 99 = Control_backslash
226256    control keycode 99 = Control_backslash

Archive Download the corresponding diff file



interactive