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

Side by Side Diff: ui/events/keycodes/dom/keycode_converter_data.inc

Issue 1908683002: Replace OS_LEFT/RIGHT with META_LEFT/RIGHT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/dom/keycode_converter.cc ('k') | ui/events/keycodes/dom_us_layout_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This file has no header guard because it is explicily intended 5 // This file has no header guard because it is explicily intended
6 // to be included more than once with different definitions of the 6 // to be included more than once with different definitions of the
7 // macros USB_KEYMAP and USB_KEYMAP_DECLARATION. 7 // macros USB_KEYMAP and USB_KEYMAP_DECLARATION.
8 8
9 // Data in this file was created by referencing: 9 // Data in this file was created by referencing:
10 // [0] USB HID Usage Tables, 10 // [0] USB HID Usage Tables,
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 //USB_KEYMAP(0x0700db, 0x0000, 0x0000, 0x0000, 0xffff, NULL, NUMPAD_OCTAL), 416 //USB_KEYMAP(0x0700db, 0x0000, 0x0000, 0x0000, 0xffff, NULL, NUMPAD_OCTAL),
417 //USB_KEYMAP(0x0700dc, 0x0000, 0x0000, 0x0000, 0xffff, NULL, NUMPAD_DECIMAL), 417 //USB_KEYMAP(0x0700dc, 0x0000, 0x0000, 0x0000, 0xffff, NULL, NUMPAD_DECIMAL),
418 //USB_KEYMAP(0x0700dd, 0x0000, 0x0000, 0x0000, 0xffff, NULL, NUMPAD_HEXADECIMA L), 418 //USB_KEYMAP(0x0700dd, 0x0000, 0x0000, 0x0000, 0xffff, NULL, NUMPAD_HEXADECIMA L),
419 419
420 // USB#0700de - #0700df are reserved. 420 // USB#0700de - #0700df are reserved.
421 USB_KEYMAP(0x0700e0, 0x001d, 0x0025, 0x001d, 0x003b, "ControlLeft", CONTROL_LE FT), 421 USB_KEYMAP(0x0700e0, 0x001d, 0x0025, 0x001d, 0x003b, "ControlLeft", CONTROL_LE FT),
422 USB_KEYMAP(0x0700e1, 0x002a, 0x0032, 0x002a, 0x0038, "ShiftLeft", SHIFT_LEFT), 422 USB_KEYMAP(0x0700e1, 0x002a, 0x0032, 0x002a, 0x0038, "ShiftLeft", SHIFT_LEFT),
423 // USB#0700e2: left Alt key (Mac left Option key). 423 // USB#0700e2: left Alt key (Mac left Option key).
424 USB_KEYMAP(0x0700e2, 0x0038, 0x0040, 0x0038, 0x003a, "AltLeft", ALT_LEFT), 424 USB_KEYMAP(0x0700e2, 0x0038, 0x0040, 0x0038, 0x003a, "AltLeft", ALT_LEFT),
425 // USB#0700e3: left GUI key, e.g. Windows, Mac Command, ChromeOS Search. 425 // USB#0700e3: left GUI key, e.g. Windows, Mac Command, ChromeOS Search.
426 USB_KEYMAP(0x0700e3, 0x007d, 0x0085, 0xe05b, 0x0037, "OSLeft", OS_LEFT), 426 USB_KEYMAP(0x0700e3, 0x007d, 0x0085, 0xe05b, 0x0037, "MetaLeft", META_LEFT),
427 USB_KEYMAP(0x0700e4, 0x0061, 0x0069, 0xe01d, 0x003e, "ControlRight", CONTROL_R IGHT), 427 USB_KEYMAP(0x0700e4, 0x0061, 0x0069, 0xe01d, 0x003e, "ControlRight", CONTROL_R IGHT),
428 USB_KEYMAP(0x0700e5, 0x0036, 0x003e, 0x0036, 0x003c, "ShiftRight", SHIFT_RIGHT ), 428 USB_KEYMAP(0x0700e5, 0x0036, 0x003e, 0x0036, 0x003c, "ShiftRight", SHIFT_RIGHT ),
429 // USB#0700e6: right Alt key (Mac right Option key). 429 // USB#0700e6: right Alt key (Mac right Option key).
430 USB_KEYMAP(0x0700e6, 0x0064, 0x006c, 0xe038, 0x003d, "AltRight", ALT_RIGHT), 430 USB_KEYMAP(0x0700e6, 0x0064, 0x006c, 0xe038, 0x003d, "AltRight", ALT_RIGHT),
431 // USB#0700e7: right GUI key, e.g. Windows, Mac Command, ChromeOS Search. 431 // USB#0700e7: right GUI key, e.g. Windows, Mac Command, ChromeOS Search.
432 USB_KEYMAP(0x0700e7, 0x007e, 0x0086, 0xe05c, 0x0036, "OSRight", OS_RIGHT), 432 USB_KEYMAP(0x0700e7, 0x007e, 0x0086, 0xe05c, 0x0036, "MetaRight", META_RIGHT),
433 433
434 // USB#0700e8 - #07ffff are reserved 434 // USB#0700e8 - #07ffff are reserved
435 435
436 // ================================== 436 // ==================================
437 // USB Usage Page 0x0c: Consumer Page 437 // USB Usage Page 0x0c: Consumer Page
438 // ================================== 438 // ==================================
439 // AL = Application Launch 439 // AL = Application Launch
440 // AC = Application Control 440 // AC = Application Control
441 441
442 // TODO(garykac): Many XF86 keys have multiple scancodes mapping to them. 442 // TODO(garykac): Many XF86 keys have multiple scancodes mapping to them.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 USB_KEYMAP(0x0c0232, 0x0000, 0x0000, 0x0000, 0xffff, "ZoomToggle", ZOOM_TOGGLE ), 568 USB_KEYMAP(0x0c0232, 0x0000, 0x0000, 0x0000, 0xffff, "ZoomToggle", ZOOM_TOGGLE ),
569 // USB#0x0c0279: AC Redo/Repeat 569 // USB#0x0c0279: AC Redo/Repeat
570 USB_KEYMAP(0x0c0279, 0x00b6, 0x00be, 0x0000, 0xffff, NULL, REDO), 570 USB_KEYMAP(0x0c0279, 0x00b6, 0x00be, 0x0000, 0xffff, NULL, REDO),
571 // USB#0x0c0289: AC_Reply 571 // USB#0x0c0289: AC_Reply
572 USB_KEYMAP(0x0c0289, 0x00e8, 0x00f0, 0x0000, 0xffff, "MailReply", MAIL_REPLY), 572 USB_KEYMAP(0x0c0289, 0x00e8, 0x00f0, 0x0000, 0xffff, "MailReply", MAIL_REPLY),
573 // USB#0x0c028b: AC_ForwardMsg (MailForward) 573 // USB#0x0c028b: AC_ForwardMsg (MailForward)
574 USB_KEYMAP(0x0c028b, 0x00e9, 0x00f1, 0x0000, 0xffff, "MailForward", MAIL_FORWA RD), 574 USB_KEYMAP(0x0c028b, 0x00e9, 0x00f1, 0x0000, 0xffff, "MailForward", MAIL_FORWA RD),
575 // USB#0x0c028c: AC_Send 575 // USB#0x0c028c: AC_Send
576 USB_KEYMAP(0x0c028c, 0x00e7, 0x00ef, 0x0000, 0xffff, "MailSend", MAIL_SEND), 576 USB_KEYMAP(0x0c028c, 0x00e7, 0x00ef, 0x0000, 0xffff, "MailSend", MAIL_SEND),
577 }; 577 };
OLDNEW
« no previous file with comments | « ui/events/keycodes/dom/keycode_converter.cc ('k') | ui/events/keycodes/dom_us_layout_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698