Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc

Issue 961843002: Add F13 - F24 for evdev/xkb to scan code table. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2311
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/events/keycodes/dom4/keycode_converter_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.h" 5 #include "ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.h"
6 6
7 #include "ui/events/keycodes/dom3/dom_key.h" 7 #include "ui/events/keycodes/dom3/dom_key.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 case XKB_KEY_F8: 145 case XKB_KEY_F8:
146 return DomKey::F8; 146 return DomKey::F8;
147 case XKB_KEY_F9: 147 case XKB_KEY_F9:
148 return DomKey::F9; 148 return DomKey::F9;
149 case XKB_KEY_F10: 149 case XKB_KEY_F10:
150 return DomKey::F10; 150 return DomKey::F10;
151 case XKB_KEY_F11: 151 case XKB_KEY_F11:
152 return DomKey::F11; 152 return DomKey::F11;
153 case XKB_KEY_F12: 153 case XKB_KEY_F12:
154 return DomKey::F12; 154 return DomKey::F12;
155 case XKB_KEY_XF86Tools: // XKB 'inet' mapping of F13
155 case XKB_KEY_F13: 156 case XKB_KEY_F13:
156 return DomKey::F13; 157 return DomKey::F13;
157 case XKB_KEY_F14: 158 case XKB_KEY_F14:
159 case XKB_KEY_XF86Launch5: // XKB 'inet' mapping of F14
158 return DomKey::F14; 160 return DomKey::F14;
159 case XKB_KEY_F15: 161 case XKB_KEY_F15:
162 case XKB_KEY_XF86Launch6: // XKB 'inet' mapping of F15
160 return DomKey::F15; 163 return DomKey::F15;
161 case XKB_KEY_F16: 164 case XKB_KEY_F16:
165 case XKB_KEY_XF86Launch7: // XKB 'inet' mapping of F16
162 return DomKey::F16; 166 return DomKey::F16;
163 case XKB_KEY_F17: 167 case XKB_KEY_F17:
168 case XKB_KEY_XF86Launch8: // XKB 'inet' mapping of F17
164 return DomKey::F17; 169 return DomKey::F17;
165 case XKB_KEY_F18: 170 case XKB_KEY_F18:
171 case XKB_KEY_XF86Launch9: // XKB 'inet' mapping of F18
166 return DomKey::F18; 172 return DomKey::F18;
167 case XKB_KEY_F19: 173 case XKB_KEY_F19:
168 return DomKey::F19; 174 return DomKey::F19;
169 case XKB_KEY_F20: 175 case XKB_KEY_F20:
170 return DomKey::F20; 176 return DomKey::F20;
171 case XKB_KEY_F21: 177 case XKB_KEY_F21:
172 return DomKey::F21; 178 return DomKey::F21;
173 case XKB_KEY_F22: 179 case XKB_KEY_F22:
174 return DomKey::F22; 180 return DomKey::F22;
175 case XKB_KEY_F23: 181 case XKB_KEY_F23:
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 case XKB_KEY_dead_belowcomma: 444 case XKB_KEY_dead_belowcomma:
439 return 0x0806; // combining comma below 445 return 0x0806; // combining comma below
440 case XKB_KEY_dead_currency: 446 case XKB_KEY_dead_currency:
441 return 0x0164; // currency sign 447 return 0x0164; // currency sign
442 default: 448 default:
443 return 0; 449 return 0;
444 } 450 }
445 } 451 }
446 452
447 } // namespace ui 453 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/keycodes/dom4/keycode_converter_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698