diff options
author | mazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 08:08:51 +0000 |
---|---|---|
committer | mazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 08:08:51 +0000 |
commit | 6339af29da3197e40d705aa64f833d1486a05165 (patch) | |
tree | 9a231c5e6a7254e57b5291b7f55309010092328e /tools/gen_keyboard_overlay_data | |
parent | 8cf659d017fd47ca7d6ce1fe254a2fd4efc15622 (diff) | |
download | chromium_src-6339af29da3197e40d705aa64f833d1486a05165.zip chromium_src-6339af29da3197e40d705aa64f833d1486a05165.tar.gz chromium_src-6339af29da3197e40d705aa64f833d1486a05165.tar.bz2 |
Fix the bug of the keyboard overlay not showing shortcut descriptions on the space key.
BUG=chromium-os:14965
TEST=manual
Review URL: http://codereview.chromium.org/6999010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84952 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 | 3 |
1 files changed, 3 insertions, 0 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 85cd0d2..904420c 100755 --- a/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py +++ b/tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py @@ -283,6 +283,9 @@ def FetchKeyboardGlyphData(client): if 'label' in line: line['label'] = LABEL_MAP.get(line['label'], line['label']) keys[scancode] = line + # Add a label to space key + if '39' not in keys: + keys['39'] = {'label': 'space'} ret[lang]['keys'] = keys return ret |