| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 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 | |
| 7 // | |
| 8 // http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 // | |
| 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"); | |
| 13 // | |
| 14 | |
| 15 /** | |
| 16 * @fileoverview Defines all the key codes and key codes map. | |
| 17 */ | |
| 18 | |
| 19 goog.provide('i18n.input.chrome.vk.KeyCode'); | |
| 20 | |
| 21 | |
| 22 /** | |
| 23 * The standard 101 keyboard keys. Each char represent the key code of each key. | |
| 24 * | |
| 25 * @type {string} | |
| 26 */ | |
| 27 i18n.input.chrome.vk.KeyCode.CODES101 = | |
| 28 '\u00c01234567890\u00bd\u00bb' + | |
| 29 'QWERTYUIOP\u00db\u00dd\u00dc' + | |
| 30 'ASDFGHJKL\u00ba\u00de' + | |
| 31 'ZXCVBNM\u00bc\u00be\u00bf' + | |
| 32 '\u0020'; | |
| 33 | |
| 34 | |
| 35 /** | |
| 36 * The standard 102 keyboard keys. | |
| 37 * | |
| 38 * @type {string} | |
| 39 */ | |
| 40 i18n.input.chrome.vk.KeyCode.CODES102 = | |
| 41 '\u00c01234567890\u00bd\u00bb' + | |
| 42 'QWERTYUIOP\u00db\u00dd' + | |
| 43 'ASDFGHJKL\u00ba\u00de\u00dc' + | |
| 44 '\u00e2ZXCVBNM\u00bc\u00be\u00bf' + | |
| 45 '\u0020'; | |
| 46 | |
| 47 | |
| 48 /** | |
| 49 * The standard 101 keyboard keys, including the BS/TAB/CAPS/ENTER/SHIFT/ALTGR. | |
| 50 * Each char represent the key code of each key. | |
| 51 * | |
| 52 * @type {string} | |
| 53 */ | |
| 54 i18n.input.chrome.vk.KeyCode.ALLCODES101 = | |
| 55 '\u00c01234567890\u00bd\u00bb\u0008' + | |
| 56 '\u0009QWERTYUIOP\u00db\u00dd\u00dc' + | |
| 57 '\u0014ASDFGHJKL\u00ba\u00de\u000d' + | |
| 58 '\u0010ZXCVBNM\u00bc\u00be\u00bf\u0010' + | |
| 59 '\u0111\u0020\u0111'; | |
| 60 | |
| 61 | |
| 62 /** | |
| 63 * The standard 102 keyboard keys, including the BS/TAB/CAPS/ENTER/SHIFT/ALTGR. | |
| 64 * Each char represent the key code of each key. | |
| 65 * | |
| 66 * @type {string} | |
| 67 */ | |
| 68 i18n.input.chrome.vk.KeyCode.ALLCODES102 = | |
| 69 '\u00c01234567890\u00bd\u00bb\u0008' + | |
| 70 '\u0009QWERTYUIOP\u00db\u00dd\u000d' + | |
| 71 '\u0014ASDFGHJKL\u00ba\u00de\u00dc\u000d' + | |
| 72 '\u0010\u00e2ZXCVBNM\u00bc\u00be\u00bf\u0010' + | |
| 73 '\u0111\u0020\u0111'; | |
| OLD | NEW |