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

Unified Diff: ppapi/api/ppb_input_event.idl

Issue 9353013: Add GetUsbKeyCode dev interface for Pepper key events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Auto-set PP_INPUTEVENT_CLASS_KEYBOARD Created 8 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 | « no previous file | ppapi/c/ppb_input_event.h » ('j') | webkit/plugins/ppapi/event_conversion.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/ppb_input_event.idl
diff --git a/ppapi/api/ppb_input_event.idl b/ppapi/api/ppb_input_event.idl
index 03d5d70d792c2356d9c968afdc0d62ab48321db7..72519c2bad6e54f197cb5bb51a14c1736238d51c 100644
--- a/ppapi/api/ppb_input_event.idl
+++ b/ppapi/api/ppb_input_event.idl
@@ -224,7 +224,16 @@ enum PP_InputEvent_Class {
*
* Request this input event class if you allow on-the-spot IME input.
*/
- PP_INPUTEVENT_CLASS_IME = 1 << 4
+ PP_INPUTEVENT_CLASS_IME = 1 << 4,
+
+ /**
+ * Requests low-level keyboard events. Instead of Windows virtual key code,
+ * this will return USB scan codes for each key press.
+ *
+ * As with PP_INPUTEVENT_CLASS_KEYBOARD, you will usually want to request
+ * filtered mode so you can pass on the events.
Wez 2012/02/07 23:48:13 nit: I'm not convinced that this is true for low-l
garykac 2012/02/09 14:26:04 No longer applicable.
+ */
+ PP_INPUTEVENT_CLASS_LOWLEVEL_KEYBOARD_Dev = 1 << 5
};
/**
« no previous file with comments | « no previous file | ppapi/c/ppb_input_event.h » ('j') | webkit/plugins/ppapi/event_conversion.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698