1 # The list of keyboard layouts that we support. The keyboard layout metadata is
4 # Each non-comment line contains the following tab-or-space-separated columns.
6 # 1) The input method ID used by Chrome. (ex. "xkb:ca::fra") You should *NEVER*
7 # change the ID since the ID might be written in user's ~/Preferences. For
8 # example, three-letter ISO 639-2/B codes are used for IDs start with "xkb:"
9 # for histrical reason, but we should not replace them with two-letter 639-1
10 # codes that are currently in use in the 3rd column.
11 # 2) The keyboard layout ID used by XKB. (ex. "us", "us(dvorak)", "ca",
12 # "handwriting-vk,jp"). See also: /usr/share/X11/xkb/symbols.
13 # 3) The language code (ex. "fr"). Only one format, ISO 639-1 compliant two-
14 # letter language code which can be recognized by ICU, is allowed. Do not use
15 # three-letter ones (ISO 639-2/T and 639-2/B) here. For "en", "pt", and "zh",
16 # two-letter upper-case country code should be added (ex. "en-US", "zh-TW").
17 # See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for details.
18 # We can specify multiple language code with comma separator.
19 # 4) The indicator string (ex. INTL for xkb:us:intl:eng). This string will be
20 # shown in system tray or indicator window.
21 # 5) The additional attibution.
22 # login: Specified keyboard layout will be used on login screen or lock
26 # When adding a line to this list, please also add a mapping from the input
27 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in
29 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
31 # and update the following files by running this script.
33 # * chrome/app/generated_resources.grd
34 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js
35 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc
37 # If you add an XKB layout which depends on AltGr or X11's Mod3Mask
38 # (e.g. Germany Neo2 XKB layout), you should also update kAltGrLayoutIds or
40 # chrome/browser/chromeos/input_method/input_method_manager_impl.cc
41 # Otherwise, Mod3Mask might be removed unexpectedly by the rewriter, and
42 # sticky keys will not work.
46 xkb:us::eng us en,en-US,en-AU,en-NZ US login
47 xkb:us:intl:eng us(intl) en,en-US INTL login
48 xkb:us:altgr-intl:eng us(altgr-intl) en,en-US EXTD login
49 xkb:us:dvorak:eng us(dvorak) en,en-US DV login
50 xkb:us:colemak:eng us(colemak) en,en-US CO login
51 xkb:us:intl:nld us(intl) nl INTL login
52 xkb:us:intl:por us(intl) pt-BR INTL login
53 xkb:us::ind us id US login
54 xkb:us::fil us fil US login
55 xkb:us::msa us ms US login
57 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng
58 # will be selected as the default keyboard when the UI language is set to Dutch.
61 xkb:be::nld be nl BE login
62 # We don't support xkb:nl::nld. See b/4430951.
65 xkb:fr::fra fr fr,fr-FR FR login
66 xkb:be::fra be fr BE login
67 xkb:ca::fra ca fr,fr-CA CA login
68 xkb:ch:fr:fra ch(fr) fr,fr-CH CH login
69 xkb:ca:multix:fra ca(multix) fr,fr-CA CA login
72 xkb:de::ger de de,de-DE DE login
73 xkb:de:neo:ger de(neo) de,de-DE NEO login
74 xkb:be::ger be de BE login
75 xkb:ch::ger ch de,de-CH CH login
78 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when
79 # a new Mozc Japanese IME for another keyboard layout is added.
80 xkb:jp::jpn jp ja JA login
84 xkb:ru:phonetic:rus ru(phonetic) ru RU
87 xkb:br::por br pt-BR,pt BR login
89 xkb:bg:phonetic:bul bg(phonetic) bg BG
90 xkb:ca:eng:eng ca(eng) en,en-CA CA login
91 xkb:cz::cze cz cs CZ login
92 xkb:cz:qwerty:cze cz(qwerty) cs CS login
93 xkb:ee::est ee et EE login
94 xkb:es::spa es es ES login
95 xkb:es:cat:cat es(cat) ca CAS login
96 xkb:dk::dan dk da DK login
99 xkb:latam::spa latam es,es-419 LA login
100 xkb:lt::lit lt lt LT login
101 xkb:lv:apostrophe:lav lv(apostrophe) lv LV login
102 xkb:hr::scr hr hr HR login
103 xkb:gb:extd:eng gb(extd) en,en-GB GB login
104 xkb:gb:dvorak:eng gb(dvorak) en,en-GB DV login
105 xkb:fi::fin fi fi FI login
106 xkb:hu::hun hu hu HU login
107 xkb:it::ita it it,it-IT IT login
108 xkb:is::ice is is IS login
109 xkb:no::nob no nb,nn,no NO login
110 xkb:pl::pol pl pl PL login
111 xkb:pt::por pt pt-PT,pt PT login
112 xkb:ro::rum ro ro RO login
113 xkb:ro:std:rum ro(std) ro RO login
114 xkb:se::swe se sv SE login
116 xkb:si::slv si sl SI login
118 xkb:tr::tur tr tr TR login
121 xkb:am:phonetic:arm am hy AM
124 xkb:ie::ga ie ga GA login
125 xkb:mt::mlt mt mt MT login
127 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa