chromium/third_party/google_input_tools/src/chrome/os/inputview/config/fo_data.js

// Copyright 2016 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');
goog.require('i18n.input.chrome.message.ContextType');

(function() {
  var viewIdPrefix_ = '102kbd-k-';
  var ContextType = i18n.input.chrome.message.ContextType;

  var keyCharacters = [
    ['\u00bd', '\u00a7'], // TLDE
    ['\u0031', '\u0021'], // AE01
    ['\u0032', '\u0022'], // AE02
    ['\u0033', '\u0023'], // AE03
    ['\u0034', '\u00a4'], // AE04
    ['\u0035', '\u0025'], // AE05
    ['\u0036', '\u0026'], // AE06
    ['\u0037', '\u002f'], // AE07
    ['\u0038', '\u0028'], // AE08
    ['\u0039', '\u0029'], // AE09
    ['\u0030', '\u003d'], // AE10
    ['\u002b', '\u003f'], // AE11
    ['\u00b4', '\u0060'], // AE12
    ['\u0071', '\u0051'], // AD01
    ['\u0077', '\u0057'], // AD02
    ['\u0065', '\u0045'], // AD03
    ['\u0072', '\u0052'], // AD04
    ['\u0074', '\u0054'], // AD05
    ['\u0079', '\u0059'], // AD06
    ['\u0075', '\u0055'], // AD07
    ['\u0069', '\u0049'], // AD08
    ['\u006f', '\u004f'], // AD09
    ['\u0070', '\u0050'], // AD10
    ['\u00e5', '\u00c5'], // AD11
    ['\u00f0', '\u00d0'], // AD12
    ['\u0061', '\u0041'], // AC01
    ['\u0073', '\u0053'], // AC02
    ['\u0064', '\u0044'], // AC03
    ['\u0066', '\u0046'], // AC04
    ['\u0067', '\u0047'], // AC05
    ['\u0068', '\u0048'], // AC06
    ['\u006a', '\u004a'], // AC07
    ['\u006b', '\u004b'], // AC08
    ['\u006c', '\u004c'], // AC09
    ['\u00e6', '\u00c6'], // AC10
    ['\u00f8', '\u00d8'], // AC11
    ['\u0027', '\u002a'], // BKSL
    ['\u003c', '\u003e'], // LSGT
    ['\u007a', '\u005a'], // AB01
    ['\u0078', '\u0058'], // AB02
    ['\u0063', '\u0043'], // AB03
    ['\u0076', '\u0056'], // AB04
    ['\u0062', '\u0042'], // AB05
    ['\u006e', '\u004e'], // AB06
    ['\u006d', '\u004d'], // AB07
    ['\u002c', '\u003b'], // AB08
    ['\u002e', '\u003a'], // AB09
    ['\u002d', '\u005f'], // AB10
    ['\u0020', '\u0020']  // SPCE
  ];

  var data = i18n.input.chrome.inputview.content.util.createData(
      keyCharacters, viewIdPrefix_, true, false);
  data['id'] = 'fo';
  google.ime.chrome.inputview.onConfigLoaded(data);
}) ();