VirtualBox

Changeset 22096 in vbox for trunk/include


Ignore:
Timestamp:
Aug 7, 2009 10:27:55 PM (15 years ago)
Author:
vboxsync
Message:

Devices/VMMDev: simplify and complete mouse status requests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VMMDev.h

    r21981 r22096  
    257257/** The guest can read VMMDev events to find out about pointer movement */
    258258#define VMMDEV_MOUSE_GUEST_USES_VMMDEV                      RT_BIT(4)
     259/** The mask of all VMMDEV_MOUSE_* flags */
     260#define VMMDEV_MOUSE_MASK                                   UINT32_C(0x0000001f)
     261/** The mask of guest capability changes for which notification events should
     262 * be sent */
     263#define VMMDEV_MOUSE_NOTIFY_HOST_MASK \
     264      (VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE | VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR)
     265/** The mask of all capabilities which the guest can legitimately change */
     266#define VMMDEV_MOUSE_GUEST_MASK \
     267      (VMMDEV_MOUSE_NOTIFY_HOST_MASK | VMMDEV_MOUSE_GUEST_USES_VMMDEV)
    259268/** @} */
    260269
Note: See TracChangeset for help on using the changeset viewer.

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