VirtualBox

Changeset 47674 in vbox for trunk/src/VBox/Devices/Input


Ignore:
Timestamp:
Aug 12, 2013 2:24:56 PM (11 years ago)
Author:
vboxsync
Message:

tstUsbMouse: update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/testcase/tstUsbMouse.cpp

    r47571 r47674  
    231231            if (pUrb == &Urb)
    232232            {
    233                 if (   *(uint16_t *)&Urb.abData[0] != 150  /* x >> 1 */
    234                     || *(uint16_t *)&Urb.abData[2] != 100  /* y >> 1 */
    235                     || Urb.abData[4] != 3                  /* Buttons */)
     233                if (   *(uint16_t *)&Urb.abData[2] != 150  /* x >> 1 */
     234                    || *(uint16_t *)&Urb.abData[4] != 100  /* y >> 1 */
     235                    || Urb.abData[0] != 3                  /* Buttons */)
    236236                    rc = VERR_GENERAL_FAILURE;
    237237            }
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