Changeset 47576 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Aug 7, 2013 10:13:17 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/UsbMouse.cpp
r47574 r47576 1474 1474 uint32_t u32Lo = RT_LO_U32(pau64Contacts[i]); 1475 1475 uint32_t u32Hi = RT_HI_U32(pau64Contacts[i]); 1476 paNewContacts[i].x = RT_LO_U16(u32Lo);1477 paNewContacts[i].y = RT_HI_U16(u32Lo);1476 paNewContacts[i].x = (uint16_t)u32Lo; 1477 paNewContacts[i].y = (uint16_t)(u32Lo >> 16); 1478 1478 paNewContacts[i].id = RT_BYTE1(u32Hi); 1479 1479 paNewContacts[i].flags = RT_BYTE2(u32Hi) & (MT_CONTACT_F_IN_CONTACT | MT_CONTACT_F_IN_RANGE);
Note:
See TracChangeset
for help on using the changeset viewer.