diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-28 01:49:12 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-28 01:49:12 +0000 |
commit | f6232ddeb071f8052cb4db9d84fc709648bc2d9f (patch) | |
tree | 30bdcaa85dddd1cb9416d30de50d8e0c5cf17108 /remoting/proto | |
parent | 9e190ed52ae6a4932fbf9759137f4dd769e8b289 (diff) | |
download | chromium_src-f6232ddeb071f8052cb4db9d84fc709648bc2d9f.zip chromium_src-f6232ddeb071f8052cb4db9d84fc709648bc2d9f.tar.gz chromium_src-f6232ddeb071f8052cb4db9d84fc709648bc2d9f.tar.bz2 |
Add usb_key_code to Chromotocol key events.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9446001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto')
-rw-r--r-- | remoting/proto/event.proto | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/remoting/proto/event.proto b/remoting/proto/event.proto index a5c0343..2a83a99 100644 --- a/remoting/proto/event.proto +++ b/remoting/proto/event.proto @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -12,9 +12,14 @@ package remoting.protocol; // Defines a keyboard event. message KeyEvent { - // The POSIX key code. + // The Windows Virtual Key code. required int32 keycode = 1; required bool pressed = 2; + + // The USB key code. + // The upper 16-bits are the USB Page (0x07 for key events). + // The lower 16-bits are the USB Usage ID (which identifies the actual key). + optional uint32 usb_key_code = 3; } // Defines a mouse event message on the event channel. |