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_ = '102kbd-k-';
20 ['\u007c', '\u00b0', '\u00ac', '\u00ac'], // TLDE
21 ['\u0031', '\u0021', '\u007c', '\u00a1'], // AE01
22 ['\u0032', '\u0022', '\u0040', '\u215b'], // AE02
23 ['\u0033', '\u0023', '\u00b7', '\u00a3'], // AE03
24 ['\u0034', '\u0024', '\u007e', '\u0024'], // AE04
25 ['\u0035', '\u0025', '\u00bd', '\u215c'], // AE05
26 ['\u0036', '\u0026', '\u00ac', '\u215d'], // AE06
27 ['\u0037', '\u002f', '\u007b', '\u215e'], // AE07
28 ['\u0038', '\u0028', '\u005b', '\u2122'], // AE08
29 ['\u0039', '\u0029', '\u005d', '\u00b1'], // AE09
30 ['\u0030', '\u003d', '\u007d', '\u00b0'], // AE10
31 ['\u0027', '\u003f', '\u005c', '\u00bf'], // AE11
32 ['\u00bf', '\u00a1', '\u0327', '\u0328'], // AE12
33 ['\u0071', '\u0051', '\u0040', '\u03a9'], // AD01
34 ['\u0077', '\u0057', '\u0142', '\u0141'], // AD02
35 ['\u0065', '\u0045', '\u20ac', '\u00a2'], // AD03
36 ['\u0072', '\u0052', '\u00b6', '\u00ae'], // AD04
37 ['\u0074', '\u0054', '\u0167', '\u0166'], // AD05
38 ['\u0079', '\u0059', '\u2190', '\u00a5'], // AD06
39 ['\u0075', '\u0055', '\u2193', '\u2191'], // AD07
40 ['\u0069', '\u0049', '\u2192', '\u0131'], // AD08
41 ['\u006f', '\u004f', '\u00f8', '\u00d8'], // AD09
42 ['\u0070', '\u0050', '\u00fe', '\u00de'], // AD10
43 ['\u0301', '\u0308', '\u0308', '\u030a'], // AD11
44 ['\u002b', '\u002a', '\u007e', '\u0304'], // AD12
45 ['\u0061', '\u0041', '\u00e6', '\u00c6'], // AC01
46 ['\u0073', '\u0053', '\u00df', '\u00a7'], // AC02
47 ['\u0064', '\u0044', '\u00f0', '\u00d0'], // AC03
48 ['\u0066', '\u0046', '\u0111', '\u00aa'], // AC04
49 ['\u0067', '\u0047', '\u014b', '\u014a'], // AC05
50 ['\u0068', '\u0048', '\u0127', '\u0126'], // AC06
51 ['\u006a', '\u004a', '\u0309', '\u031b'], // AC07
52 ['\u006b', '\u004b', '\u0138', '\u0026'], // AC08
53 ['\u006c', '\u004c', '\u0142', '\u0141'], // AC09
54 ['\u00f1', '\u00d1', '\u007e', '\u030b'], // AC10
55 ['\u007b', '\u005b', '\u0302', '\u007b'], // AC11
56 ['\u007d', '\u005d', '\u0300', '\u007d'], // BKSL
57 ['\u003c', '\u003e', '\u007c', '\u00a6'], // LSGT
58 ['\u007a', '\u005a', '\u00ab', '\u003c'], // AB01
59 ['\u0078', '\u0058', '\u00bb', '\u003e'], // AB02
60 ['\u0063', '\u0043', '\u00a2', '\u00a9'], // AB03
61 ['\u0076', '\u0056', '\u201c', '\u2018'], // AB04
62 ['\u0062', '\u0042', '\u201d', '\u2019'], // AB05
63 ['\u006e', '\u004e'], // AB06
64 ['\u006d', '\u004d', '\u00b5', '\u00ba'], // AB07
65 ['\u002c', '\u003b', '\u0000', '\u00d7'], // AB08
66 ['\u002e', '\u003a', '\u00b7', '\u00f7'], // AB09
67 ['\u002d', '\u005f', '\u0323', '\u0307'], // AB10
68 ['\u0020', '\u0020'] // SPCE
123 var data = i18n.input.chrome.inputview.content.util.createData(
124 keyCharacters, viewIdPrefix_, true, true, keyCodes);
125 data['id'] = 'latam';
126 google.ime.chrome.inputview.onConfigLoaded(data);