summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorShelley Gong <shelleygong@vmware.com>2009-05-11 10:08:56 -0700
committerPhilip Langdale <philipl@fido2.homeip.net>2009-05-11 10:13:58 -0700
commitd61609868697825717d2f6a63b2a6177cb13873b (patch)
treefc0922560b0898a4b578af1247ab92045e2714c6 /shared
parentd5ae42ec3849672438823b08ad06a69289ae99c5 (diff)
1) Fix bug where motion notify events were being sent with every button event.
2) Classify relative vs. absolute packets individually rather than from a global flag. 3) Compile with older distros. 4) Bump for 12.6.4 Release. Signed-off-by: Philip Langdale <philipl@fido2.homeip.net>
Diffstat (limited to 'shared')
-rw-r--r--shared/vmmouse_defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/vmmouse_defs.h b/shared/vmmouse_defs.h
index 8dc769e..d256faf 100644
--- a/shared/vmmouse_defs.h
+++ b/shared/vmmouse_defs.h
@@ -57,6 +57,12 @@
#define VMMOUSE_ERROR 0xffff0000
/*
+ * VMMouse Input packet flags
+ */
+#define VMMOUSE_MOVE_RELATIVE 1
+#define VMMOUSE_MOVE_ABSOLUTE 0
+
+/*
* VMMouse Input button flags
*/
#define VMMOUSE_LEFT_BUTTON 0x20