VirtualBox

Changeset 47575 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 7, 2013 10:08:22 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87775
Message:

Main: multi-touch build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/MouseImpl.cpp

    r47571 r47575  
    729729            for (i = 0; i < aCount; i++)
    730730            {
    731                 int32_t x = (int16_t)RT_LO_U16(RT_LO_U32(paContacts[i]));
    732                 int32_t y = (int16_t)RT_HI_U16(RT_LO_U32(paContacts[i]));
    733                 uint8_t contactId =  RT_BYTE1(RT_HI_U32(paContacts[i]));
    734                 bool fInContact   = (RT_BYTE2(RT_HI_U32(paContacts[i])) & 0x1) != 0;
    735                 bool fInRange     = (RT_BYTE2(RT_HI_U32(paContacts[i])) & 0x2) != 0;
     731                uint32_t u32Lo = RT_LO_U32(pau64Contacts[i]);
     732                uint32_t u32Hi = RT_HI_U32(pau64Contacts[i]);
     733                int32_t x = (int16_t)RT_LO_U16(u32Lo);
     734                int32_t y = (int16_t)RT_HI_U16(u32Lo);
     735                uint8_t contactId =  RT_BYTE1(u32Hi);
     736                bool fInContact   = (RT_BYTE2(u32Hi) & 0x1) != 0;
     737                bool fInRange     = (RT_BYTE2(u32Hi) & 0x2) != 0;
    736738
    737739                LogRel3(("%s: [%d] %d,%d id %d, inContact %d, inRange %d\n",
Note: See TracChangeset for help on using the changeset viewer.

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