Changeset 81246 in vbox
- Timestamp:
- Oct 14, 2019 10:00:06 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/KeyboardImpl.cpp
r79738 r81246 256 256 int vrc = VINF_SUCCESS; 257 257 uint32_t u32Usage; 258 u32Usage = (uint 8_t)aUsageCode | ((uint32_t)(uint8_t)aUsagePage << 16) | (fKeyRelease ? 0x80000000 : 0);258 u32Usage = (uint16_t)aUsageCode | ((uint32_t)(uint8_t)aUsagePage << 16) | (fKeyRelease ? 0x80000000 : 0); 259 259 vrc = pUpPort->pfnPutEventHid(pUpPort, u32Usage); 260 260 if (RT_FAILURE(vrc))
Note:
See TracChangeset
for help on using the changeset viewer.