Changeset 82213 in vbox for trunk/src/VBox/Main
- Timestamp:
- Nov 26, 2019 2:08:48 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/KeyboardImpl.cpp
r81369 r82213 255 255 return S_OK; 256 256 257 int vrc = VINF_SUCCESS; 258 uint32_t u32Usage; 259 u32Usage = (uint16_t)aUsageCode | ((uint32_t)(uint8_t)aUsagePage << 16) | (fKeyRelease ? 0x80000000 : 0); 260 vrc = pUpPort->pfnPutEventHid(pUpPort, u32Usage); 257 uint32_t idUsage = (uint16_t)aUsageCode | ((uint32_t)(uint8_t)aUsagePage << 16) | (fKeyRelease ? UINT32_C(0x80000000) : 0); 258 int vrc = pUpPort->pfnPutEventHid(pUpPort, idUsage); 261 259 if (RT_FAILURE(vrc)) 262 260 return setErrorBoth(VBOX_E_IPRT_ERROR, vrc,
Note:
See TracChangeset
for help on using the changeset viewer.