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

Unified Diff: ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc

Issue 934003002: Add F13 - F24 for evdev/xkb to scan code table. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update mapped key count in unit test Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/keycodes/dom4/keycode_converter_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc
diff --git a/ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc b/ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc
index b1eb22a836d80eb2c8cea44954a94cfc19c865ea..84ab9ba565f3310865064b3f6dd90e1038d406b1 100644
--- a/ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc
+++ b/ui/events/ozone/layout/xkb/xkb_keyboard_code_conversion.cc
@@ -152,17 +152,23 @@ DomKey NonPrintableXkbKeySymToDomKey(xkb_keysym_t keysym) {
return DomKey::F11;
case XKB_KEY_F12:
return DomKey::F12;
+ case XKB_KEY_XF86Tools: // XKB 'inet' mapping of F13
case XKB_KEY_F13:
return DomKey::F13;
case XKB_KEY_F14:
+ case XKB_KEY_XF86Launch5: // XKB 'inet' mapping of F14
return DomKey::F14;
case XKB_KEY_F15:
+ case XKB_KEY_XF86Launch6: // XKB 'inet' mapping of F15
return DomKey::F15;
case XKB_KEY_F16:
+ case XKB_KEY_XF86Launch7: // XKB 'inet' mapping of F16
return DomKey::F16;
case XKB_KEY_F17:
+ case XKB_KEY_XF86Launch8: // XKB 'inet' mapping of F17
return DomKey::F17;
case XKB_KEY_F18:
+ case XKB_KEY_XF86Launch9: // XKB 'inet' mapping of F18
return DomKey::F18;
case XKB_KEY_F19:
return DomKey::F19;
« 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