summaryrefslogtreecommitdiffstats
path: root/remoting/proto/event.proto
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/proto/event.proto')
-rw-r--r--remoting/proto/event.proto17
1 files changed, 9 insertions, 8 deletions
diff --git a/remoting/proto/event.proto b/remoting/proto/event.proto
index 887f77f..f4cc690 100644
--- a/remoting/proto/event.proto
+++ b/remoting/proto/event.proto
@@ -8,7 +8,7 @@ syntax = "proto2";
option optimize_for = LITE_RUNTIME;
-package remoting;
+package remoting.protocol;
// Defines a keyboard event.
// NEXT ID: 3
@@ -18,15 +18,16 @@ message KeyEvent {
required bool pressed = 2;
}
-enum MouseButton {
- MouseButtonUndefined = 0;
- MouseButtonLeft = 1;
- MouseButtonMiddle = 2;
- MouseButtonRight = 3;
-}
-
// Defines a mouse event message on the event channel.
message MouseEvent {
+
+ enum MouseButton {
+ BUTTON_UNDEFINED = 0;
+ BUTTON_LEFT = 1;
+ BUTTON_MIDDLE = 2;
+ BUTTON_RIGHT = 3;
+ }
+
// Mouse position information.
optional int32 x = 1;
optional int32 y = 2;