VirtualBox

Changeset 40310 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 1, 2012 11:56:06 AM (13 years ago)
Author:
vboxsync
Message:

Devices/VMMDev and Additions: use a single definition for the value range of the Additions pointer position reporting.

File:
1 edited

Legend:

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

    r40213 r40310  
    317317       | VMMDEV_MOUSE_HOST_RECHECKS_NEEDS_HOST_CURSOR \
    318318       | VMMDEV_MOUSE_HOST_HAS_ABS_DEV)
     319/** @} */
     320
     321/** @name Absolute mouse reporting range
     322 * @{ */
     323/** @todo Should these be here?  They are needed by both host and guest. */
     324/** The minumum value our pointing device can return. */
     325#define VMMDEV_MOUSE_RANGE_MIN 0
     326/** The maximum value our pointing device can return. */
     327#define VMMDEV_MOUSE_RANGE_MAX 0xFFFF
     328/** The full range our pointing device can return. */
     329#define VMMDEV_MOUSE_RANGE (VMMDEV_MOUSE_RANGE_MAX - VMMDEV_MOUSE_RANGE_MIN)
    319330/** @} */
    320331
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