Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2923266 authored by Olivier Gay's avatar Olivier Gay
Browse files

Add support for additional international keyboard mappings



Add kcm mapping files for Arabic, Greek, Hebrew, Lithuanian
and Spanish (Latin).

Change-Id: I35cb2a4d6e016c6f565fba05710ba1626452fe68
Signed-off-by: default avatarOlivier Gay <ogay@logitech.com>
Signed-off-by: default avatarManuel Carthoblaz <mcarthob@logitech.com>
Signed-off-by: default avatarMathieu Meisser <mmeisser@logitech.com>
parent cd3f60f3
Loading
Loading
Loading
Loading
+319 −0
Original line number Diff line number Diff line
# Copyright (C) 2013 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Arabic (US-101 keys) keyboard layout.
#

type OVERLAY

### ROW 1

key GRAVE {
    label:                              '`'
    base, capslock:                     '\u0630'
    shift:                              '\u0651'
}

key 1 {
    label:                              '1'
    base:                               '\u0661'
    shift:                              '!'
    capslock:                           '1'
}

key 2 {
    label:                              '2'
    base:                               '\u0662'
    shift:                              '@'
    capslock:                           '2'
}

key 3 {
    label:                              '3'
    base:                               '\u0663'
    shift:                              '#'
    capslock:                           '3'
}

key 4 {
    label:                              '4'
    base:                               '\u0664'
    shift:                              '$'
    capslock:                           '4'
}

key 5 {
    label:                              '5'
    base:                               '\u0665'
    shift:                              '%'
    capslock:                           '5'
}

key 6 {
    label:                              '6'
    base:                               '\u0666'
    shift:                              '^'
    capslock:                           '6'
}

key 7 {
    label:                              '7'
    base:                               '\u0667'
    shift:                              '&'
    capslock:                           '7'
}

key 8 {
    label:                              '8'
    base:                               '\u0668'
    shift:                              '*'
    capslock:                           '8'
}

key 9 {
    label:                              '9'
    base:                               '\u0669'
    shift:                              '('
    capslock:                           '9'
}

key 0 {
    label:                              '0'
    base:                               '\u0660'
    shift:                              ')'
    capslock:                           '0'
}

key MINUS {
    label:                              '-'
    base, capslock:                     '-'
    shift:                              '_'
}

key EQUALS {
    label:                              '='
    base, capslock:                     '='
    shift:                              '+'
}

### ROW 2

key Q {
    label:                              'Q'
    base, capslock:                     '\u0636'
    shift:                              '\u064e'
}

key W {
    label:                              'W'
    base, capslock:                     '\u0635'
    shift:                              '\u064b'
}

key E {
    label:                              'E'
    base, capslock:                     '\u062b'
    shift:                              '\u064f'
}

key R {
    label:                              'R'
    base, capslock:                     '\u0642'
    shift:                              '\u064c'
}

key T {
    label:                              'T'
    base, capslock:                     '\u0641'
    shift:                              '\ufef9'
}

key Y {
    label:                              'Y'
    base, capslock:                     '\u063a'
    shift:                              '\u0625'
}

key U {
    label:                              'U'
    base, capslock:                     '\u0639'
    shift:                              '\u2018'
}

key I {
    label:                              'I'
    base, capslock:                     '\u0647'
    shift:                              '\u00f7'
}

key O {
    label:                              'O'
    base, capslock:                     '\u062e'
    shift:                              '\u00d7'
}

key P {
    label:                              'P'
    base, capslock:                     '\u062d'
    shift:                              '\u061b'
}

key LEFT_BRACKET {
    label:                              '['
    base, capslock:                     '\u062c'
    shift:                              '<'
}

key RIGHT_BRACKET {
    label:                              ']'
    base, capslock:                     '\u062f'
    shift:                              '>'
}

key BACKSLASH {
    label:                              '\\'
    base, capslock:                     '\\'
    shift:                              '|'
}

### ROW 3

key A {
    label:                              'A'
    base, capslock:                     '\u0634'
    shift:                              '\u0650'
}

key S {
    label:                              'S'
    base, capslock:                     '\u0633'
    shift:                              '\u064d'
}

key D {
    label:                              'D'
    base, capslock:                     '\u064a'
    shift:                              ']'
}

key F {
    label:                              'F'
    base, capslock:                     '\u0628'
    shift:                              '['
}

key G {
    label:                              'G'
    base, capslock:                     '\u0644'
    shift:                              '\ufef7'
}

key H {
    label:                              'H'
    base, capslock:                     '\u0627'
    shift:                              '\u0623'
}

key J {
    label:                              'J'
    base, capslock:                     '\u062a'
    shift:                              '\u0640'
}

key K {
    label:                              'K'
    base, capslock:                     '\u0646'
    shift:                              '\u060c'
}

key L {
    label:                              'L'
    base, capslock:                     '\u0645'
    shift:                              '/'
}

key SEMICOLON {
    label:                              ';'
    base, capslock:                     '\u0643'
    shift:                              ':'
}

key APOSTROPHE {
    label:                              '\''
    base, capslock:                     '\u0637'
    shift:                              '"'
}

### ROW 4

key Z {
    label:                              'Z'
    base, capslock:                     '\u0626'
    shift:                              '~'
}

key X {
    label:                              'X'
    base, capslock:                     '\u0621'
    shift:                              '\u0652'
}

key C {
    label:                              'C'
    base, capslock:                     '\u0624'
    shift:                              '}'
}

key V {
    label:                              'V'
    base, capslock:                     '\u0631'
    shift:                              '{'
}

key B {
    label:                              'B'
    base, capslock:                     '\ufefb'
    shift:                              '\ufef5'
}

key N {
    label:                              'N'
    base, capslock:                     '\u0649'
    shift:                              '\u0622'
}

key M {
    label:                              'M'
    base, capslock:                     '\u0629'
    shift:                              '\u2019'
}

key COMMA {
    label:                              ','
    base, capslock:                     '\u0648'
    shift:                              ','
}

key PERIOD {
    label:                              '.'
    base, capslock:                     '\u0632'
    shift:                              '.'
}

key SLASH {
    label:                              '/'
    base, capslock:                     '\u0638'
    shift:                              '\u061f'
}
+338 −0
Original line number Diff line number Diff line
# Copyright (C) 2013 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Greek (EU based) keyboard layout.
#

type OVERLAY

map key 86 PLUS

### ROW 1

key GRAVE {
    label:                              '`'
    base, capslock:                     '`'
    shift:                              '~'
}

key 1 {
    label:                              '1'
    base, capslock:                     '1'
    shift:                              '!'
}

key 2 {
    label:                              '2'
    base, capslock:                     '2'
    shift:                              '@'
    ralt:                               '\u00b2'
}

key 3 {
    label:                              '3'
    base, capslock:                     '3'
    shift:                              '#'
    ralt:                               '\u00b3'
}

key 4 {
    label:                              '4'
    base, capslock:                     '4'
    shift:                              '$'
    ralt:                               '\u00a3'
}

key 5 {
    label:                              '5'
    base, capslock:                     '5'
    shift:                              '%'
    ralt:                               '\u00a7'
}

key 6 {
    label:                              '6'
    base, capslock:                     '6'
    shift:                              '^'
    ralt:                               '\u00b6'
}

key 7 {
    label:                              '7'
    base, capslock:                     '7'
    shift:                              '&'
}

key 8 {
    label:                              '8'
    base, capslock:                     '8'
    shift:                              '*'
    ralt:                               '\u00a4'
}

key 9 {
    label:                              '9'
    base, capslock:                     '9'
    shift:                              '('
    ralt:                               '\u00a6'
}

key 0 {
    label:                              '0'
    base, capslock:                     '0'
    shift:                              ')'
    ralt:                               '\u00b0'
}

key MINUS {
    label:                              '-'
    base, capslock:                     '-'
    shift:                              '_'
    ralt:                               '\u00b1'
}

key EQUALS {
    label:                              '='
    base, capslock:                     '='
    shift:                              '+'
    ralt:                               '\u00bd'
}

### ROW 2

key Q {
    label:                              'Q'
    base, capslock:                     ';'
    shift:                              ':'
}

key W {
    label:                              'W'
    base, capslock:                     '\u03c2'
    shift:                              '\u0385'
}

key E {
    label:                              'E'
    base:                               '\u03b5'
    shift, capslock:                    '\u0395'
    ralt:                               '\u20ac'
}

key R {
    label:                              'R'
    base:                               '\u03c1'
    shift, capslock:                    '\u03a1'
    ralt:                               '\u00ae'
}

key T {
    label:                              'T'
    base:                               '\u03c4'
    shift, capslock:                    '\u03a4'
}

key Y {
    label:                              'Y'
    base:                               '\u03c5'
    shift, capslock:                    '\u03a5'
    ralt:                               '\u00a5'
}

key U {
    label:                              'U'
    base:                               '\u03b8'
    shift, capslock:                    '\u0398'
}

key I {
    label:                              'I'
    base:                               '\u03b9'
    shift, capslock:                    '\u0399'
}

key O {
    label:                              'O'
    base:                               '\u03bf'
    shift, capslock:                    '\u039f'
}

key P {
    label:                              'P'
    base:                               '\u03c0'
    shift, capslock:                    '\u03a0'
}

key LEFT_BRACKET {
    label:                              '['
    base, capslock:                     '['
    shift:                              '{'
    ralt:                               '\u00ab'
}

key RIGHT_BRACKET {
    label:                              ']'
    base, capslock:                     ']'
    shift:                              '}'
    ralt:                               '\u00bb'
}

### ROW 3

key A {
    label:                              'A'
    base:                               '\u03b1'
    shift, capslock:                    '\u0391'
}

key S {
    label:                              'S'
    base:                               '\u03c3'
    shift, capslock:                    '\u03a3'
}

key D {
    label:                              'D'
    base:                               '\u03b4'
    shift, capslock:                    '\u0394'
}

key F {
    label:                              'F'
    base:                               '\u03c6'
    shift, capslock:                    '\u03a6'
}

key G {
    label:                              'G'
    base:                               '\u03b3'
    shift, capslock:                    '\u0393'
}

key H {
    label:                              'H'
    base:                               '\u03b7'
    shift, capslock:                    '\u0397'
}

key J {
    label:                              'J'
    base:                               '\u03be'
    shift, capslock:                    '\u039e'
}

key K {
    label:                              'K'
    base:                               '\u03ba'
    shift, capslock:                    '\u039a'
}

key L {
    label:                              'L'
    base:                               '\u03bb'
    shift, capslock:                    '\u039b'
}

key SEMICOLON {
    label:                              ';'
    base, capslock:                     '\u0301'
#should be \u0384 (greek tonos)
    shift:                              '\u0308'
    ralt:                               '\u0385'
}

key APOSTROPHE {
    label:                              '\''
    base, capslock:                     '\''
    shift:                              '"'
}

key BACKSLASH {
    label:                              '\\'
    base, capslock:                     '\\'
    shift:                              '|'
    ralt:                               '\u00ac'
}

### ROW 4

key PLUS {
    label:                              '<'
    base, capslock:                     '<'
    shift:                              '>'
    ralt:                               '\\'
    shift+ralt:                         '|'
}

key Z {
    label:                              'Z'
    base:                               '\u03b6'
    shift, capslock:                    '\u0396'
}

key X {
    label:                              'X'
    base:                               '\u03c7'
    shift, capslock:                    '\u03a7'
}

key C {
    label:                              'C'
    base:                               '\u03c8'
    shift, capslock:                    '\u03a8'
    ralt:                               '\u00a9'
}

key V {
    label:                              'V'
    base:                               '\u03c9'
    shift, capslock:                    '\u03a9'
}

key B {
    label:                              'B'
    base:                               '\u03b2'
    shift, capslock:                    '\u0392'
}

key N {
    label:                              'N'
    base:                               '\u03bd'
    shift, capslock:                    '\u039d'
}

key M {
    label:                              'M'
    base:                               '\u03bc'
    shift, capslock:                    '\u039c'
}

key COMMA {
    label:                              ','
    base, capslock:                     ','
    shift:                              '<'
}

key PERIOD {
    label:                              '.'
    base, capslock:                     '.'
    shift:                              '>'
}

key SLASH {
    label:                              '/'
    base, capslock:                     '/'
    shift:                              '?'
}
+341 −0

File added.

Preview size limit exceeded, changes collapsed.

+338 −0

File added.

Preview size limit exceeded, changes collapsed.

+325 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading