1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
2 // limitations under the License.
3 // See the License for the specific language governing permissions and
4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5 // distributed under the License is distributed on an "AS-IS" BASIS,
6 // Unless required by applicable law or agreed to in writing, software
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // You may obtain a copy of the License at
11 // you may not use this file except in compliance with the License.
12 // Licensed under the Apache License, Version 2.0 (the "License");
14 goog.require('i18n.input.chrome.inputview.content.util');
17 var viewIdPrefix_ = '101kbd-k-';
20 ['\u0060', '\u007e', '\u0300', '\u0303'], // TLDE
21 ['\u0031', '\u0021', '\u00b9', '\u00a1'], // AE01
22 ['\u0032', '\u0040', '\u00b2', '\u030b'], // AE02
23 ['\u0033', '\u0023', '\u00b3', '\u0304'], // AE03
24 ['\u0034', '\u0024', '\u00a4', '\u00a3'], // AE04
25 ['\u0035', '\u0025', '\u20ac', '\u0327'], // AE05
26 ['\u0036', '\u005e', '\u0302', '\u00bc'], // AE06
27 ['\u0037', '\u0026', '\u031b', '\u00bd'], // AE07
28 ['\u0038', '\u002a', '\u0328', '\u00be'], // AE08
29 ['\u0039', '\u0028', '\u2018', '\u0306'], // AE09
30 ['\u0030', '\u0029', '\u2019', '\u030a'], // AE10
31 ['\u002d', '\u005f', '\u00a5', '\u0323'], // AE11
32 ['\u003d', '\u002b', '\u00d7', '\u00f7'], // AE12
33 ['\u0071', '\u0051', '\u00e4', '\u00c4'], // AD01
34 ['\u0077', '\u0057', '\u00e5', '\u00c5'], // AD02
35 ['\u0065', '\u0045', '\u00e9', '\u00c9'], // AD03
36 ['\u0072', '\u0052', '\u00eb', '\u00cb'], // AD04
37 ['\u0074', '\u0054', '\u00fe', '\u00de'], // AD05
38 ['\u0079', '\u0059', '\u00fc', '\u00dc'], // AD06
39 ['\u0075', '\u0055', '\u00fa', '\u00da'], // AD07
40 ['\u0069', '\u0049', '\u00ed', '\u00cd'], // AD08
41 ['\u006f', '\u004f', '\u00f3', '\u00d3'], // AD09
42 ['\u0070', '\u0050', '\u00f6', '\u00d6'], // AD10
43 ['\u005b', '\u007b', '\u00ab', '\u201c'], // AD11
44 ['\u005d', '\u007d', '\u00bb', '\u201d'], // AD12
45 ['\u005c', '\u007c', '\u00ac', '\u00a6'], // BKSL
46 ['\u0061', '\u0041', '\u00e1', '\u00c1'], // AC01
47 ['\u0073', '\u0053', '\u00df', '\u00a7'], // AC02
48 ['\u0064', '\u0044', '\u00f0', '\u00d0'], // AC03
49 ['\u0066', '\u0046'], // AC04
50 ['\u0067', '\u0047'], // AC05
51 ['\u0068', '\u0048'], // AC06
52 ['\u006a', '\u004a', '\u00ef', '\u00cf'], // AC07
53 ['\u006b', '\u004b', '\u0153', '\u0152'], // AC08
54 ['\u006c', '\u004c', '\u00f8', '\u00d8'], // AC09
55 ['\u003b', '\u003a', '\u00b6', '\u00b0'], // AC10
56 ['\u0027', '\u0022', '\u0301', '\u0308'], // AC11
57 ['\u007a', '\u005a', '\u00e6', '\u00c6'], // AB01
58 ['\u0078', '\u0058', '\u0153', '\u0152'], // AB02
59 ['\u0063', '\u0043', '\u00a9', '\u00a2'], // AB03
60 ['\u0076', '\u0056', '\u00ae', '\u00ae'], // AB04
61 ['\u0062', '\u0042'], // AB05
62 ['\u006e', '\u004e', '\u00f1', '\u00d1'], // AB06
63 ['\u006d', '\u004d', '\u00b5', '\u00b5'], // AB07
64 ['\u002c', '\u003c', '\u00e7', '\u00c7'], // AB08
65 ['\u002e', '\u003e', '\u0307', '\u030c'], // AB09
66 ['\u002f', '\u003f', '\u00bf', '\u0309'], // AB10
67 ['\u0020', '\u0020'] // SPCE
121 var data = i18n.input.chrome.inputview.content.util.createData(
122 keyCharacters, viewIdPrefix_, false, true, keyCodes);
123 data['id'] = 'us-altgr-intl';
124 google.ime.chrome.inputview.onConfigLoaded(data);