summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorgarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 18:59:29 +0000
committergarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 18:59:29 +0000
commit102254f64ebe8da176ddde114ef32f9b35adc881 (patch)
tree885fb054755ed4a6f33f3c93760bf66d05d5608d /remoting
parent9ac315563aedf257698a80079c74d100edf2b4bc (diff)
downloadchromium_src-102254f64ebe8da176ddde114ef32f9b35adc881.zip
chromium_src-102254f64ebe8da176ddde114ef32f9b35adc881.tar.gz
chromium_src-102254f64ebe8da176ddde114ef32f9b35adc881.tar.bz2
Native to USB keycode conversion for Mac
Add code to convert from native Mac keycodes into USB keycodes so that Pepper can correctly populate the |usb_key_code| field in the InputEvent. Review URL: https://chromiumcodereview.appspot.com/9701030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/usb_keycode_map.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/host/usb_keycode_map.h b/remoting/host/usb_keycode_map.h
index 9828769..1bab95c 100644
--- a/remoting/host/usb_keycode_map.h
+++ b/remoting/host/usb_keycode_map.h
@@ -2,6 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// This file (temporarily) lives in two places:
+// src/remoting/host/usb_keycode_map.h
+// src/webkit/plugins/ppapi/usb_keycode_map.h
+// Changes to this file must be made in both locations.
+// TODO(garykac): Move file into shared location.
+
// Data in this file was created by referencing:
// USB HID Usage Tables (v1.11) 27 June 2001
// HIToolbox/Events.h (Mac)