Index: third_party/google_input_tools/src/chrome/os/inputview/config/hr_data.js |
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/config/hr_data.js b/third_party/google_input_tools/src/chrome/os/inputview/config/hr_data.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cd55dfee7154928789acd959ddcf90038c12ec2a |
--- /dev/null |
+++ b/third_party/google_input_tools/src/chrome/os/inputview/config/hr_data.js |
@@ -0,0 +1,127 @@ |
+// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. |
+// limitations under the License. |
+// See the License for the specific language governing permissions and |
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
+// distributed under the License is distributed on an "AS-IS" BASIS, |
+// Unless required by applicable law or agreed to in writing, software |
+// |
+// http://www.apache.org/licenses/LICENSE-2.0 |
+// |
+// You may obtain a copy of the License at |
+// you may not use this file except in compliance with the License. |
+// Licensed under the Apache License, Version 2.0 (the "License"); |
+// |
+goog.require('i18n.input.chrome.inputview.content.util'); |
+ |
+(function() { |
+ var viewIdPrefix_ = '102kbd-k-'; |
+ |
+ var keyCharacters = [ |
+ ['\u0060', '\u007e', '\u00ac', '\u00ac'], // TLDE |
+ ['\u0031', '\u0021', '\u007e', '\u0303'], // AE01 |
+ ['\u0032', '\u0022', '\u030c', '\u02c7'], // AE02 |
+ ['\u0033', '\u0023', '\u005e', '\u0302'], // AE03 |
+ ['\u0034', '\u0024', '\u0306', '\u02d8'], // AE04 |
+ ['\u0035', '\u0025', '\u00b0', '\u030a'], // AE05 |
+ ['\u0036', '\u0026', '\u0328', '\u02db'], // AE06 |
+ ['\u0037', '\u002f', '\u0060', '\u0300'], // AE07 |
+ ['\u0038', '\u0028', '\u0307', '\u02d9'], // AE08 |
+ ['\u0039', '\u0029', '\u0301', '\u0027'], // AE09 |
+ ['\u0030', '\u003d', '\u030b', '\u02dd'], // AE10 |
+ ['\u0027', '\u003f', '\u0308', '\u00a8'], // AE11 |
+ ['\u002b', '\u002a', '\u0327', '\u00b8'], // AE12 |
+ ['\u0071', '\u0051', '\u005c', '\u03a9'], // AD01 |
+ ['\u0077', '\u0057', '\u007c', '\u0141'], // AD02 |
+ ['\u0065', '\u0045', '\u20ac', '\u20ac'], // AD03 |
+ ['\u0072', '\u0052', '\u00b6', '\u00ae'], // AD04 |
+ ['\u0074', '\u0054', '\u0167', '\u0166'], // AD05 |
+ ['\u007a', '\u005a', '\u2190', '\u00a5'], // AD06 |
+ ['\u0075', '\u0055', '\u2193', '\u2191'], // AD07 |
+ ['\u0069', '\u0049', '\u2192', '\u0131'], // AD08 |
+ ['\u006f', '\u004f', '\u00f8', '\u00d8'], // AD09 |
+ ['\u0070', '\u0050', '\u00fe', '\u00de'], // AD10 |
+ ['\u0161', '\u0160', '\u00f7', '\u030a'], // AD11 |
+ ['\u0111', '\u0110', '\u00d7', '\u0304'], // AD12 |
+ ['\u0061', '\u0041', '\u00e6', '\u00c6'], // AC01 |
+ ['\u0073', '\u0053', '\u201e', '\u00bb'], // AC02 |
+ ['\u0064', '\u0044', '\u201c', '\u00ab'], // AC03 |
+ ['\u0066', '\u0046', '\u005b', '\u00aa'], // AC04 |
+ ['\u0067', '\u0047', '\u005d', '\u014a'], // AC05 |
+ ['\u0068', '\u0048', '\u0127', '\u0126'], // AC06 |
+ ['\u006a', '\u004a', '\u0309', '\u031b'], // AC07 |
+ ['\u006b', '\u004b', '\u0142', '\u0026'], // AC08 |
+ ['\u006c', '\u004c', '\u0142', '\u0141'], // AC09 |
+ ['\u010d', '\u010c', '\u0301', '\u030b'], // AC10 |
+ ['\u0107', '\u0106', '\u00df', '\u030c'], // AC11 |
+ ['\u017e', '\u017d', '\u00a4', '\u0306'], // BKSL |
+ ['\u003c', '\u003e', '\u007c', '\u00a6'], // LSGT |
+ ['\u0079', '\u0059', '\u2018', '\u00bb'], // AB01 |
+ ['\u0078', '\u0058', '\u2019', '\u00ab'], // AB02 |
+ ['\u0063', '\u0043', '\u00a2', '\u00a9'], // AB03 |
+ ['\u0076', '\u0056', '\u0040', '\u0060'], // AB04 |
+ ['\u0062', '\u0042', '\u007b', '\u0027'], // AB05 |
+ ['\u006e', '\u004e', '\u007d', '\u007d'], // AB06 |
+ ['\u006d', '\u004d', '\u005e', '\u00ba'], // AB07 |
+ ['\u002c', '\u003b', '\u003c', '\u00d7'], // AB08 |
+ ['\u002e', '\u003a', '\u003e', '\u00f7'], // AB09 |
+ ['\u002d', '\u005f', '\u0323', '\u0307'], // AB10 |
+ ['\u0020', '\u0020'] // SPCE |
+ ]; |
+ |
+ var keyCodes = [ |
+ 0xC0, // TLDE |
+ 0x31, // AE01 |
+ 0x32, // AE02 |
+ 0x33, // AE03 |
+ 0x34, // AE04 |
+ 0x35, // AE05 |
+ 0x36, // AE06 |
+ 0x37, // AE07 |
+ 0x38, // AE08 |
+ 0x39, // AE09 |
+ 0x30, // AE10 |
+ 0xBF, // AE11 |
+ 0xBB, // AE12 |
+ 0x51, // AD01 |
+ 0x57, // AD02 |
+ 0x45, // AD03 |
+ 0x52, // AD04 |
+ 0x54, // AD05 |
+ 0x5A, // AD06 |
+ 0x55, // AD07 |
+ 0x49, // AD08 |
+ 0x4F, // AD09 |
+ 0x50, // AD10 |
+ 0xDB, // AD11 |
+ 0xDD, // AD12 |
+ 0x41, // AC01 |
+ 0x53, // AC02 |
+ 0x44, // AC03 |
+ 0x46, // AC04 |
+ 0x47, // AC05 |
+ 0x48, // AC06 |
+ 0x4A, // AC07 |
+ 0x4B, // AC08 |
+ 0x4C, // AC09 |
+ 0xBA, // AC10 |
+ 0xDE, // AC11 |
+ 0xDC, // BKSL |
+ 0xE2, // LTGT |
+ 0x59, // AB01 |
+ 0x58, // AB02 |
+ 0x43, // AB03 |
+ 0x56, // AB04 |
+ 0x42, // AB05 |
+ 0x4E, // AB06 |
+ 0x4D, // AB07 |
+ 0xBC, // AB08 |
+ 0xBE, // AB09 |
+ 0xBD, // AB10 |
+ 0x20 // SPCE |
+ ]; |
+ |
+ var data = i18n.input.chrome.inputview.content.util.createData( |
+ keyCharacters, viewIdPrefix_, true, true, keyCodes); |
+ data['id'] = 'hr'; |
+ google.ime.chrome.inputview.onConfigLoaded(data); |
+}) (); |