summaryrefslogtreecommitdiffstats
path: root/remoting/proto
diff options
context:
space:
mode:
authorgarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 06:37:25 +0000
committergarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 06:37:25 +0000
commitcd009921024af8074b32bef537e5bac85e591995 (patch)
tree433f36107da213e7814d3750646e3a0f82fbfbca /remoting/proto
parent867fd923c96a230da771fe52885c16b0d651a60e (diff)
downloadchromium_src-cd009921024af8074b32bef537e5bac85e591995.zip
chromium_src-cd009921024af8074b32bef537e5bac85e591995.tar.gz
chromium_src-cd009921024af8074b32bef537e5bac85e591995.tar.bz2
client-side wheel mouse support
BUG=none TEST=manual Review URL: http://codereview.chromium.org/6697024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto')
-rw-r--r--remoting/proto/event.proto4
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/proto/event.proto b/remoting/proto/event.proto
index 2098e70..a5c0343 100644
--- a/remoting/proto/event.proto
+++ b/remoting/proto/event.proto
@@ -11,7 +11,6 @@ option optimize_for = LITE_RUNTIME;
package remoting.protocol;
// Defines a keyboard event.
-// NEXT ID: 3
message KeyEvent {
// The POSIX key code.
required int32 keycode = 1;
@@ -34,6 +33,9 @@ message MouseEvent {
optional int32 y = 2;
// Mouse wheel information.
+ // These values encode the number of wheel 'ticks' (sometimes called
+ // 'clicks' although 'ticks' is the most common cross-platform term).
+ // Additional fields may be added later to support high-resolution devices.
optional int32 wheel_offset_x = 3;
optional int32 wheel_offset_y = 4;