Index: public/web/WebInputEvent.h |
diff --git a/public/web/WebInputEvent.h b/public/web/WebInputEvent.h |
index 9f4722a2053b6261cdfb42e59823436c0ac1dd5e..c31c1bbbed7f2a13fd2baeb59478b5ae1107943e 100644 |
--- a/public/web/WebInputEvent.h |
+++ b/public/web/WebInputEvent.h |
@@ -246,6 +246,11 @@ public: |
// doesn't hurt to have this one around. |
int nativeKeyCode; |
+ // The usbCode for the key generated. USB code is then used to map to |
+ // code as per DOM3 Keyboard Code Specifications. |
+ // This code however is not used for testing, it relies on windowsKeyCode. |
+ int usbCode; |
+ |
// This identifies whether this event was tagged by the system as being |
// a "system key" event (see |
// http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for |