blob: f40f1795458f04928a710cd04c0ec739292e5e7d [file] [log] [blame]
// 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.provide('i18n.input.chrome.inputview.content.compact.letter');
goog.require('i18n.input.chrome.inputview.Css');
goog.require('i18n.input.chrome.inputview.MoreKeysShiftOperation');
goog.require('i18n.input.chrome.inputview.content.constants');
goog.scope(function() {
var NonLetterKeys = i18n.input.chrome.inputview.content.constants.NonLetterKeys;
var MoreKeysShiftOperation = i18n.input.chrome.inputview.MoreKeysShiftOperation;
var Css = i18n.input.chrome.inputview.Css;
/**
* Common qwerty Letter keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyQwertyCharacters =
function() {
return [
/* 0 */ { 'text': 'q', 'hintText': '1' },
/* 1 */ { 'text': 'w', 'hintText': '2' },
/* 2 */ { 'text': 'e', 'hintText': '3',
'moreKeys': ['\u00E8', '\u00E9', '\u00EA', '\u00EB', '\u0113']},
/* 3 */ { 'text': 'r', 'hintText': '4' },
/* 4 */ { 'text': 't', 'hintText': '5' },
/* 5 */ { 'text': 'y', 'hintText': '6' },
/* 6 */ { 'text': 'u', 'hintText': '7',
'moreKeys': ['\u00FB', '\u00FC', '\u00F9', '\u00FA', '\u016B']},
/* 7 */ { 'text': 'i', 'hintText': '8',
'moreKeys': ['\u00EE', '\u00EF', '\u00ED', '\u012B', '\u00EC']},
/* 8 */ { 'text': 'o', 'hintText': '9',
'moreKeys': ['\u00F4', '\u00F6', '\u00F2', '\u00F3', '\u0153', '\u00F8',
'\u014D', '\u00F5']},
/* 9 */ { 'text': 'p', 'hintText': '0' },
/* 10 */ NonLetterKeys.BACKSPACE,
/* 11 */ { 'text': 'a', 'marginLeftPercent': 0.33,
'moreKeys': ['\u00E0', '\u00E1', '\u00E2', '\u00E4', '\u00E6', '\u00E3',
'\u00E5', '\u0101']},
/* 12 */ { 'text': 's',
'moreKeys': ['\u00DF']},
/* 13 */ { 'text': 'd' },
/* 14 */ { 'text': 'f' },
/* 15 */ { 'text': 'g' },
/* 16 */ { 'text': 'h' },
/* 17 */ { 'text': 'j' },
/* 18 */ { 'text': 'k' },
/* 19 */ { 'text': 'l' },
/* 20 */ NonLetterKeys.ENTER,
/* 21 */ NonLetterKeys.LEFT_SHIFT,
/* 22 */ { 'text': 'z' },
/* 23 */ { 'text': 'x' },
/* 24 */ { 'text': 'c',
'moreKeys': ['\u00E7']},
/* 25 */ { 'text': 'v' },
/* 26 */ { 'text': 'b' },
/* 27 */ { 'text': 'n',
'moreKeys': ['\u00F1']},
/* 28 */ { 'text': 'm' },
/* 29 */ { 'text': '!',
'moreKeys': ['\u00A1']},
/* 30 */ { 'text': '?',
'moreKeys': ['\u00BF']},
/* 31 */ NonLetterKeys.RIGHT_SHIFT,
/* 32 */ NonLetterKeys.SWITCHER,
/* 33 */ NonLetterKeys.GLOBE,
/* 34 */ NonLetterKeys.MENU,
/* 35 */ { 'text': '/', 'isGrey': true, 'onContext':
{ 'email' : { 'text' : '@' }}},
/* 36 */ NonLetterKeys.SPACE,
/* 37 */ { 'text': ',', 'isGrey': true, 'onContext':
{ 'email' : {'text' : '.com', 'textCssClass' : Css.FONT_SMALL },
'url' : {'text' : '.com', 'textCssClass' : Css.FONT_SMALL }}},
/* 38 */ { 'text': '.', 'isGrey': true,
'moreKeys': ['\u0023', '\u0021', '\u005C', '\u003F', '\u002D', '\u003A',
'\u0027', '\u0040']},
/* 39 */ NonLetterKeys.HIDE
];
};
/**
* Belgian Letter keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyBelgianCharacters =
function() {
var data =
i18n.input.chrome.inputview.content.compact.letter.keyQwertyCharacters();
data[2]['moreKeys'] =
['\u0117', '\u00E8', '\u0119', '\u00E9', '\u00EA', '\u00EB', '\u0113'];
data[5]['moreKeys'] = ['\u0133'];
data[7]['moreKeys'] =
['\u00EE', '\u00EF', '\u012F', '\u0133', '\u00ED', '\u012B', '\u00EC'];
data[12]['moreKeys'] = undefined;
data[24]['moreKeys'] = undefined;
data[27]['moreKeys'] = ['\u00F1', '\u0144'];
return data;
};
/**
* Icelandic Letter keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyIcelandicCharacters =
function() {
var data =
i18n.input.chrome.inputview.content.compact.letter.keyQwertyCharacters();
data[2]['moreKeys'] = ['\u00E9', '\u00EB', '\u00E8', '\u00EA', '\u0119',
'\u0117', '\u0113']; // e
data[4]['moreKeys'] = ['\u00FE']; // t
data[5]['moreKeys'] = ['\u00FD', '\u00FF']; // y
data[7]['moreKeys'] = ['\u00ED', '\u00EF', '\u00EE', '\u00EC', '\u012F',
'\u012B']; // i
data[12]['moreKeys'] = undefined;
data[13]['moreKeys'] = ['\u00F0'];
data[24]['moreKeys'] = undefined;
return data;
};
/**
* Qwertz Germany Letter keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyQwertzCharacters =
function() {
var data =
i18n.input.chrome.inputview.content.compact.letter.keyQwertyCharacters();
data[2]['moreKeys'] = ['\u00E9', '\u00E8', '\u00EA', '\u00EB', '\u0117'];
data[7]['moreKeys'] = undefined;
data[12]['moreKeys'] = ['\u00DF', '\u015B', '\u0161'];
data[24]['moreKeys'] = undefined;
data[27]['moreKeys'] = ['\u00F1', '\u0144'];
data[5].text = 'z';
data[22].text = 'y';
return data;
};
/**
* Common azerty Letter keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyAzertyCharacters =
function() {
return [
/* 0 */ { 'text': 'a', 'hintText': '1',
'moreKeys': ['\u00E0', '\u00E2', '\u00E6', '\u00E1', '\u00E4',
'\u00E3', '\u00E5', '\u0101', '\u00AA']},
/* 1 */ { 'text': 'z', 'hintText': '2' },
/* 2 */ { 'text': 'e', 'hintText': '3',
'moreKeys': ['\u00E9', '\u00E8', '\u00EA', '\u00EB', '\u0119',
'\u0117', '\u0113']},
/* 3 */ { 'text': 'r', 'hintText': '4' },
/* 4 */ { 'text': 't', 'hintText': '5' },
/* 5 */ { 'text': 'y', 'hintText': '6',
'moreKeys': ['\u00FF']},
/* 6 */ { 'text': 'u', 'hintText': '7',
'moreKeys': ['\u00F9', '\u00FB', '\u00FC', '\u00FA', '\u016B']},
/* 7 */ { 'text': 'i', 'hintText': '8',
'moreKeys': ['\u00EE', '\u00EF', '\u00EC', '\u00ED', '\u012F',
'\u012B']},
/* 8 */ { 'text': 'o', 'hintText': '9',
'moreKeys': ['\u00F4', '\u0153', '\u00F6', '\u00F2', '\u00F3', '\u00F5',
'\u00F8', '\u014D', '\u00BA']},
/* 9 */ { 'text': 'p', 'hintText': '0' },
/* 10 */ NonLetterKeys.BACKSPACE,
/* 11 */ { 'text': 'q' },
/* 12 */ { 'text': 's' },
/* 13 */ { 'text': 'd' },
/* 14 */ { 'text': 'f' },
/* 15 */ { 'text': 'g' },
/* 16 */ { 'text': 'h' },
/* 17 */ { 'text': 'j' },
/* 18 */ { 'text': 'k' },
/* 19 */ { 'text': 'l' },
/* 20 */ { 'text': 'm' },
/* 21 */ NonLetterKeys.ENTER,
/* 22 */ NonLetterKeys.LEFT_SHIFT,
/* 23 */ { 'text': 'w' },
/* 24 */ { 'text': 'x' },
/* 25 */ { 'text': 'c',
'moreKeys': ['\u00E7', '\u0107', '\u010D']},
/* 26 */ { 'text': 'v' },
/* 27 */ { 'text': 'b' },
/* 28 */ { 'text': 'n' },
/* 29 */ { 'text': '\'',
'moreKeys': ['\u2018', '\u201A', '\u2019', '\u2039', '\u203A']},
/* 30 */ { 'text': '!',
'moreKeys': ['\u00A1']},
/* 31 */ { 'text': '?',
'moreKeys': ['\u00BF']},
/* 32 */ NonLetterKeys.RIGHT_SHIFT,
/* 33 */ NonLetterKeys.SWITCHER,
/* 34 */ NonLetterKeys.GLOBE,
/* 35 */ NonLetterKeys.MENU,
/* 36 */ { 'text': '/', 'isGrey': true },
/* 37 */ NonLetterKeys.SPACE,
/* 38 */ { 'text': ',', 'isGrey': true },
/* 39 */ { 'text': '.', 'isGrey': true,
'moreKeys': ['\u0023', '\u0021', '\u005C', '\u003F', '\u002D', '\u003A',
'\u0027', '\u0040']},
/* 40 */ NonLetterKeys.HIDE
];
};
/**
* Basic nordic Letter keyset characters(based on Finish).
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyNordicCharacters =
function() {
return [
/* 0 */ { 'text': 'q', 'hintText': '1' },
/* 1 */ { 'text': 'w', 'hintText': '2' },
/* 2 */ { 'text': 'e', 'hintText': '3' },
/* 3 */ { 'text': 'r', 'hintText': '4' },
/* 4 */ { 'text': 't', 'hintText': '5' },
/* 5 */ { 'text': 'y', 'hintText': '6' },
/* 6 */ { 'text': 'u', 'hintText': '7',
'moreKeys': ['\u00FC']},
/* 7 */ { 'text': 'i', 'hintText': '8' },
/* 8 */ { 'text': 'o', 'hintText': '9',
'moreKeys': ['\u00F8', '\u00F4', '\u00F2', '\u00F3', '\u00F5', '\u0153',
'\u014D']},
/* 9 */ { 'text': 'p', 'hintText': '0' },
/* 10 */ { 'text': '\u00e5' },
/* 11 */ NonLetterKeys.BACKSPACE,
/* 12 */ { 'text': 'a',
'moreKeys': ['\u00E6', '\u00E0', '\u00E1', '\u00E2', '\u00E3',
'\u0101']},
/* 13 */ { 'text': 's',
'moreKeys': ['\u0161', '\u00DF', '\u015B']},
/* 14 */ { 'text': 'd' },
/* 15 */ { 'text': 'f' },
/* 16 */ { 'text': 'g' },
/* 17 */ { 'text': 'h' },
/* 18 */ { 'text': 'j' },
/* 19 */ { 'text': 'k' },
/* 20 */ { 'text': 'l' },
/* 21 */ { 'text': '\u00f6',
'moreKeys': ['\u00F8']},
/* 22 */ { 'text': '\u00e4',
'moreKeys': ['\u00E6']},
/* 23 */ NonLetterKeys.ENTER,
/* 24 */ NonLetterKeys.LEFT_SHIFT,
/* 25 */ { 'text': 'z', 'marginLeftPercent': 0.33,
'moreKeys': ['\u017E', '\u017A', '\u017C']},
/* 26 */ { 'text': 'x' },
/* 27 */ { 'text': 'c' },
/* 28 */ { 'text': 'v' },
/* 29 */ { 'text': 'b' },
/* 30 */ { 'text': 'n' },
/* 31 */ { 'text': 'm' },
/* 32 */ { 'text': '!',
'moreKeys': ['\u00A1']},
/* 33 */ { 'text': '?', 'marginRightPercent': 0.33,
'moreKeys': ['\u00BF']},
/* 34 */ NonLetterKeys.RIGHT_SHIFT,
/* 35 */ NonLetterKeys.SWITCHER,
/* 36 */ NonLetterKeys.GLOBE,
/* 37 */ NonLetterKeys.MENU,
/* 38 */ { 'text': '/', 'isGrey': true },
/* 39 */ NonLetterKeys.SPACE,
/* 40 */ { 'text': ',', 'isGrey': true },
/* 41 */ { 'text': '.', 'isGrey': true,
'moreKeys': ['\u0023', '\u0021', '\u005C', '\u003F', '\u002D', '\u003A',
'\u0027', '\u0040']},
/* 42 */ NonLetterKeys.HIDE
];
};
/**
* Sweden nordic Letter keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keySwedenCharacters =
function() {
var data =
i18n.input.chrome.inputview.content.compact.letter.keyNordicCharacters();
data[2]['moreKeys'] = ['\u00E9', '\u00E8', '\u00EA', '\u00EB',
'\u0119']; // e
data[3]['moreKeys'] = ['\u0159']; // r
data[4]['moreKeys'] = ['\u0165', '\u00FE']; // t
data[5]['moreKeys'] = ['\u00FD', '\u00FF']; // y
data[6]['moreKeys'] = ['\u00FC', '\u00FA', '\u00F9', '\u00FB',
'\u016B']; // u
data[7]['moreKeys'] = ['\u00ED', '\u00EC', '\u00EE', '\u00EF']; // i
data[8]['moreKeys'] = ['\u00F3', '\u00F2', '\u00F4', '\u00F5',
'\u014D']; // o
data[12]['moreKeys'] = ['\u00E1', '\u00E0', '\u00E2', '\u0105',
'\u00E3']; // a
data[13]['moreKeys'] = ['\u015B', '\u0161', '\u015F', '\u00DF']; // s
data[14]['moreKeys'] = ['\u00F0', '\u010F']; // d
data[20]['moreKeys'] = ['\u0142']; // l
data[21]['moreKeys'] = ['\u00F8', '\u0153'];
data[22]['moreKeys'] = ['\u00E6'];
data[25]['moreKeys'] = ['\u017A', '\u017E', '\u017C']; //z
data[27]['moreKeys'] = ['\u00E7', '\u0107', '\u010D']; //c
data[30]['moreKeys'] = ['\u0144', '\u00F1', '\u0148']; //n
return data;
};
/**
* Norway nordic Letter keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyNorwayCharacters =
function() {
var data =
i18n.input.chrome.inputview.content.compact.letter.keyNordicCharacters();
data[2]['moreKeys'] = ['\u00E9', '\u00E8', '\u00EA', '\u00EB', '\u0119',
'\u0117', '\u0113']; // e
data[6]['moreKeys'] = ['\u00FC', '\u00FB', '\u00F9', '\u00FA',
'\u016B']; // u
data[8]['moreKeys'] = ['\u00F4', '\u00F2', '\u00F3', '\u00F6', '\u00F5',
'\u0153', '\u014D']; // o
data[12]['moreKeys'] = ['\u00E0', '\u00E4', '\u00E1', '\u00E2', '\u00E3',
'\u0101']; // a
data[13]['moreKeys'] = undefined; //s
data[21]['moreKeys'] = ['\u00F6'];
data[22]['moreKeys'] = ['\u00E4'];
data[25]['moreKeys'] = undefined; //z
data[21]['text'] = '\u00f8';
data[22]['text'] = '\u00e6';
return data;
};
/**
* Denmark nordic Letter keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyDenmarkCharacters =
function() {
var data =
i18n.input.chrome.inputview.content.compact.letter.keyNordicCharacters();
data[2]['moreKeys'] = ['\u00E9', '\u00EB']; // e
data[5]['moreKeys'] = ['\u00FD', '\u00FF']; // y
data[6]['moreKeys'] = ['\u00FA', '\u00FC', '\u00FB', '\u00F9',
'\u016B']; // u
data[7]['moreKeys'] = ['\u00ED', '\u00EF']; // i
data[8]['moreKeys'] = ['\u00F3', '\u00F4', '\u00F2', '\u00F5',
'\u0153', '\u014D']; // o
data[12]['moreKeys'] = ['\u00E1', '\u00E4', '\u00E0', '\u00E2', '\u00E3',
'\u0101']; // a
data[13]['moreKeys'] = ['\u00DF', '\u015B', '\u0161']; // s
data[14]['moreKeys'] = ['\u00F0']; // d
data[20]['moreKeys'] = ['\u0142']; // l
data[21]['moreKeys'] = ['\u00E4'];
data[22]['moreKeys'] = ['\u00F6'];
data[25]['moreKeys'] = undefined; //z
data[30]['moreKeys'] = ['\u00F1', '\u0144']; //n
data[21]['text'] = '\u00e6';
data[22]['text'] = '\u00f8';
return data;
};
/**
* Pinyin keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyPinyinCharacters =
function() {
var data = [
/* 0 */ { 'text': 'q', 'hintText': '1',
'moreKeys': ['\u0051', '\u0071']},
/* 1 */ { 'text': 'w', 'hintText': '2',
'moreKeys': ['\u0057', '\u0077']},
/* 2 */ { 'text': 'e', 'hintText': '3',
'moreKeys': ['\u0045', '\u0065']},
/* 3 */ { 'text': 'r', 'hintText': '4',
'moreKeys': ['\u0052', '\u0072']},
/* 4 */ { 'text': 't', 'hintText': '5',
'moreKeys': ['\u0054', '\u0074']},
/* 5 */ { 'text': 'y', 'hintText': '6',
'moreKeys': ['\u0059', '\u0079']},
/* 6 */ { 'text': 'u', 'hintText': '7',
'moreKeys': ['\u0055', '\u0075']},
/* 7 */ { 'text': 'i', 'hintText': '8',
'moreKeys': ['\u0049', '\u0069'] },
/* 8 */ { 'text': 'o', 'hintText': '9',
'moreKeys': ['\u004F', '\u006F']},
/* 9 */ { 'text': 'p', 'hintText': '0',
'moreKeys': ['\u0050', '\u0070']},
/* 10 */ NonLetterKeys.BACKSPACE,
/* 11 */ { 'text': 'a', 'hintText': '@', 'marginLeftPercent': 0.33,
'moreKeys': ['\u0041', '\u0061']},
/* 12 */ { 'text': 's', 'hintText': '*',
'moreKeys': ['\u0053', '\u0073']},
/* 13 */ { 'text': 'd', 'hintText': '+',
'moreKeys': ['\u0044', '\u0064']},
/* 14 */ { 'text': 'f', 'hintText': '-',
'moreKeys': ['\u0046', '\u0066']},
/* 15 */ { 'text': 'g', 'hintText': '=',
'moreKeys': ['\u0047', '\u0067']},
/* 16 */ { 'text': 'h', 'hintText': '/',
'moreKeys': ['\u0048', '\u0068']},
/* 17 */ { 'text': 'j', 'hintText': '#',
'moreKeys': ['\u004a', '\u006a']},
/* 18 */ { 'text': 'k', 'hintText': '\uff08',
'moreKeys': ['\u004b', '\u006b']},
/* 19 */ { 'text': 'l', 'hintText': '\uff09',
'moreKeys': ['\u004c', '\u006c']},
/* 20 */ NonLetterKeys.ENTER,
/* 21 */ NonLetterKeys.LEFT_SHIFT,
/* 22 */ { 'text': 'z', 'hintText': '\u3001',
'moreKeys': ['\u005a', '\u007a']},
/* 23 */ { 'text': 'x', 'hintText': '\uff1a',
'moreKeys': ['\u0058', '\u0078']},
/* 24 */ { 'text': 'c', 'hintText': '\"',
'moreKeys': ['\u0043', '\u0063']},
/* 25 */ { 'text': 'v', 'hintText': '\uff1f',
'moreKeys': ['\u0056', '\u0076']},
/* 26 */ { 'text': 'b', 'hintText': '\uff01',
'moreKeys': ['\u0042', '\u0062']},
/* 27 */ { 'text': 'n', 'hintText': '\uff5e',
'moreKeys': ['\u004e', '\u006e']},
/* 28 */ { 'text': 'm', 'hintText': '.',
'moreKeys': ['\u004d', '\u006d']},
/* 29 */ { 'text': '\uff01',
'moreKeys': ['\u00A1']},
/* 30 */ { 'text': '\uff1f',
'moreKeys': ['\u00BF']},
/* 31 */ NonLetterKeys.RIGHT_SHIFT,
/* 32 */ NonLetterKeys.SWITCHER,
/* 33 */ NonLetterKeys.GLOBE,
/* 34 */ NonLetterKeys.MENU,
/* 35 */ { 'text': '\uff0c', 'isGrey': true },
/* 36 */ NonLetterKeys.SPACE,
/* 37 */ { 'text': '\u3002', 'isGrey': true },
/* 38 */ NonLetterKeys.SWITCHER,
/* 39 */ NonLetterKeys.HIDE
];
for (var i = 0; i <= 9; i++) {
data[i]['moreKeysShiftOperation'] = MoreKeysShiftOperation.TO_LOWER_CASE;
}
for (var i = 11; i <= 19; i++) {
data[i]['moreKeysShiftOperation'] = MoreKeysShiftOperation.TO_LOWER_CASE;
}
for (var i = 22; i <= 28; i++) {
data[i]['moreKeysShiftOperation'] = MoreKeysShiftOperation.TO_LOWER_CASE;
}
return data;
};
/**
* English mode of pinyin keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyEnCharacters =
function() {
var data =
i18n.input.chrome.inputview.content.compact.letter.keyPinyinCharacters();
for (var i = 0; i <= 9; i++) {
data[i]['moreKeys'].pop();
}
for (var i = 11; i <= 19; i++) {
data[i]['moreKeys'].pop();
}
for (var i = 22; i <= 28; i++) {
data[i]['moreKeys'].pop();
}
data[12]['hintText'] = '*';
data[14]['hintText'] = '\u002d';
data[16]['hintText'] = '/';
data[18]['hintText'] = '\u0028';
data[19]['hintText'] = '\u0029';
data[22]['hintText'] = '\u0027';
data[23]['hintText'] = '\u003a';
data[25]['hintText'] = '\u003f';
data[26]['hintText'] = '\u0021';
data[27]['hintText'] = '\u007e';
data[28]['hintText'] = '\u2026';
data[29]['text'] = '\u0021';
data[30]['text'] = '\u003f';
data[35]['text'] = '\u002c';
data[37]['text'] = '.';
return data;
};
/**
* Zhuyin keyset characters.
*
* @return {!Array.<!Object>}
*/
i18n.input.chrome.inputview.content.compact.letter.keyZhuyinCharacters =
function() {
var data = [
/* 0 */ { 'text': '\u3105', 'hintText': '1',
'moreKeys': ['\uff01']},
/* 1 */ { 'text': '\u3109', 'hintText': '2',
'moreKeys': ['@']},
/* 2 */ { 'text': '\u02c7', 'hintText': '3',
'moreKeys': ['#']},
/* 3 */ { 'text': '\u02cb', 'hintText': '4',
'moreKeys': ['$']},
/* 4 */ { 'text': '\u3113', 'hintText': '5',
'moreKeys': ['%']},
/* 5 */ { 'text': '\u02ca', 'hintText': '6',
'moreKeys': ['^']},
/* 6 */ { 'text': '\u02d9', 'hintText': '7',
'moreKeys': ['&']},
/* 7 */ { 'text': '\u311a', 'hintText': '8',
'moreKeys': ['*'] },
/* 8 */ { 'text': '\u311e', 'hintText': '9',
'moreKeys': ['\uff08']},
/* 9 */ { 'text': '\u3122', 'hintText': '0',
'moreKeys': ['\uff09']},
/* 10 */ { 'text': '\u3106', 'hintText': 'q',
'moreKeys': ['Q'], 'textCode': ['Q']},
/* 11 */ { 'text': '\u310a', 'hintText': 'w',
'moreKeys': ['W'], 'codeKeys': ['Q']},
/* 12 */ { 'text': '\u310d', 'hintText': 'e',
'moreKeys': ['E'], 'textCode': ['Q']},
/* 13 */ { 'text': '\u3110', 'hintText': 'r',
'moreKeys': ['R']},
/* 14 */ { 'text': '\u3114', 'hintText': 't',
'moreKeys': ['T']},
/* 15 */ { 'text': '\u3117', 'hintText': 'y',
'moreKeys': ['Y']},
/* 16 */ { 'text': '\u3127', 'hintText': 'u',
'moreKeys': ['U']},
/* 17 */ { 'text': '\u311b', 'hintText': 'i',
'moreKeys': ['I']},
/* 18 */ { 'text': '\u311f', 'hintText': 'o',
'moreKeys': ['O']},
/* 19 */ { 'text': '\u3123', 'hintText': 'p',
'moreKeys': ['P']},
/* 20 */ { 'text': '\u3107', 'hintText': 'a',
'moreKeys': ['A']},
/* 21 */ { 'text': '\u310B', 'hintText': 's',
'moreKeys': ['S']},
/* 22 */ { 'text': '\u310e', 'hintText': 'd',
'moreKeys': ['D']},
/* 23 */ { 'text': '\u3111', 'hintText': 'f',
'moreKeys': ['F']},
/* 24 */ { 'text': '\u3115', 'hintText': 'g',
'moreKeys': ['G']},
/* 25 */ { 'text': '\u3118', 'hintText': 'h',
'moreKeys': ['H']},
/* 26 */ { 'text': '\u3128', 'hintText': 'j',
'moreKeys': ['J']},
/* 27 */ { 'text': '\u311c', 'hintText': 'k',
'moreKeys': ['K']},
/* 28 */ { 'text': '\u3120', 'hintText': 'l',
'moreKeys': ['L']},
/* 29 */ { 'text': '\u3124', 'hintText': '\uff1a'},
/* 30 */ { 'text': '\u3108', 'hintText': 'z',
'moreKeys': ['Z']},
/* 31 */ { 'text': '\u310c', 'hintText': 'x',
'moreKeys': ['X']},
/* 32 */ { 'text': '\u310f', 'hintText': 'c',
'moreKeys': ['C']},
/* 33 */ { 'text': '\u3112', 'hintText': 'v',
'moreKeys': ['V']},
/* 34 */ { 'text': '\u3116', 'hintText': 'b',
'moreKeys': ['B'] },
/* 35 */ { 'text': '\u3119', 'hintText': 'n',
'moreKeys': ['N']},
/* 36 */ { 'text': '\u3129', 'hintText': 'm',
'moreKeys': ['M']},
/* 37 */ { 'text': '\u311d', 'hintText': '\u2026'},
/* 38 */ { 'text': '\u3121', 'hintText': '\uff01'},
/* 39 */ { 'text': '\u3125', 'hintText': '\uff1f'},
/* 40 */ NonLetterKeys.BACKSPACE,
/* 41 */ NonLetterKeys.ENTER,
/* 42 */ NonLetterKeys.RIGHT_SHIFT,
/* 43 */ NonLetterKeys.SWITCHER,
/* 44 */ NonLetterKeys.GLOBE,
/* 45 */ NonLetterKeys.MENU,
/* 46 */ { 'text': '\uff0c', 'isGrey': true },
/* 47 */ NonLetterKeys.SPACE,
/* 48 */ { 'text': '\u3126', 'isGrey': false },
/* 49 */ { 'text': '\u3002', 'isGrey': true },
/* 50 */ NonLetterKeys.SWITCHER,
/* 51 */ NonLetterKeys.HIDE
];
for (var i = 0; i <= 39; i++) {
data[i]['moreKeysShiftOperation'] = MoreKeysShiftOperation.TO_LOWER_CASE;
}
for (var i = 0; i <= 39; i++) {
data[i]['onShift'] = (data[i]['hintText']).toUpperCase();
}
return data;
};
}); // goog.scope