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
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");
16 * @fileoverview Defines all the key codes and key codes map.
19 goog.provide('i18n.input.chrome.vk.KeyCode');
23 * The standard 101 keyboard keys. Each char represent the key code of each key.
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' +
36 * The standard 102 keyboard keys.
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' +
49 * The standard 101 keyboard keys, including the BS/TAB/CAPS/ENTER/SHIFT/ALTGR.
50 * Each char represent the key code of each key.
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' +
63 * The standard 102 keyboard keys, including the BS/TAB/CAPS/ENTER/SHIFT/ALTGR.
64 * Each char represent the key code of each key.
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' +