VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/vmsvga/vmmouse_defs.h@ 55394

Last change on this file since 55394 was 52970, checked in by vboxsync, 10 years ago

Devices/Graphics: added original vmsvga and vmsvga_glext headers (2009-04)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1/**********************************************************
2 * Copyright 2002-2009 VMware, Inc. All rights reserved.
3 *
4 * Permission is hereby granted, free of charge, to any person
5 * obtaining a copy of this software and associated documentation
6 * files (the "Software"), to deal in the Software without
7 * restriction, including without limitation the rights to use, copy,
8 * modify, merge, publish, distribute, sublicense, and/or sell copies
9 * of the Software, and to permit persons to whom the Software is
10 * furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be
13 * included in all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
19 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
20 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 * SOFTWARE.
23 *
24 **********************************************************/
25
26/*
27 * vmmouse_defs.h --
28 *
29 * VMware Virtual Mouse Protocol definitions.
30 *
31 */
32
33#ifndef _VMMOUSE_DEFS_H_
34#define _VMMOUSE_DEFS_H_
35
36/*
37 * Command related defines
38 */
39#define VMMOUSE_CMD_READ_ID 0x45414552
40#define VMMOUSE_CMD_DISABLE 0x000000f5
41#define VMMOUSE_CMD_REQUEST_RELATIVE 0x4c455252
42#define VMMOUSE_CMD_REQUEST_ABSOLUTE 0x53424152
43
44/*
45 * Data related defines
46 */
47#define VMMOUSE_VERSION_ID_STR "JUB4"
48#define VMMOUSE_VERSION_ID 0x3442554a
49
50/*
51 * Device related defines
52 */
53#define VMMOUSE_DATAPORT 96
54#define VMMOUSE_STATUSPORT 100
55#define VMMOUSE_IRQ 12
56#define VMMOUSE_ERROR 0xffff0000
57
58/*
59 * VMMouse Input packet flags
60 */
61#define VMMOUSE_MOVE_RELATIVE 1
62#define VMMOUSE_MOVE_ABSOLUTE 0
63
64/*
65 * VMMouse Input button flags
66 */
67#define VMMOUSE_LEFT_BUTTON 0x20
68#define VMMOUSE_RIGHT_BUTTON 0x10
69#define VMMOUSE_MIDDLE_BUTTON 0x08
70
71#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette