diff options
author | zork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 08:30:33 +0000 |
---|---|---|
committer | zork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 08:30:33 +0000 |
commit | f58c93c475098ec3a9b7c16efb5aca900e6efb75 (patch) | |
tree | feb21f31c6fe2dc22501bf22483428c1cfa8e84d /tools/gen_keyboard_overlay_data | |
parent | 5b7a60e023a1d9dbc4f5602911f1d4a612b38127 (diff) | |
download | chromium_src-f58c93c475098ec3a9b7c16efb5aca900e6efb75.zip chromium_src-f58c93c475098ec3a9b7c16efb5aca900e6efb75.tar.gz chromium_src-f58c93c475098ec3a9b7c16efb5aca900e6efb75.tar.bz2 |
Remap right alt and control keys when the left keys are remapped.
The right alt key will not be remapped if it's used as altgr
BUG=chromium-os:10091
TEST=Remap the alt or ctrl key. Check that the right key is remapped.
Review URL: http://codereview.chromium.org/6836009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gen_keyboard_overlay_data')
-rwxr-xr-x | tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py b/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py index 5059c68..35db7ef 100755 --- a/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py +++ b/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py @@ -65,8 +65,9 @@ CC_SNIPPET_TEMPLATE=""" localized_strings.SetString("%s", l10n_util::GetStringUTF16(%s)); """ -ALTGR_TEMPLATE="""// These layouts shouldn't remap the right alt key. -const char *kKeepRightAltLayouts[] = { +ALTGR_TEMPLATE="""// These are the overlay names of layouts that shouldn't +// remap the right alt key. +const char* kKeepRightAltOverlays[] = { %s }; """ |