Changeset 97828 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Dec 16, 2022 6:25:13 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
r97812 r97828 1321 1321 && fMouseFeatures & VMMDEV_MOUSE_GUEST_USES_FULL_STATE_PROTOCOL) 1322 1322 { 1323 input_report_rel(g_pInputDevice, REL_WHEEL, dz); 1324 input_report_rel(g_pInputDevice, REL_HWHEEL, dw); 1323 /* Vertical and horizontal scroll values come as-is from GUI. 1324 * Invert values here as it is done in PS/2 mouse driver, so 1325 * scrolling direction will be exectly the same. */ 1326 input_report_rel(g_pInputDevice, REL_WHEEL, -dz); 1327 input_report_rel(g_pInputDevice, REL_HWHEEL, -dw); 1325 1328 1326 1329 input_report_key(g_pInputDevice, BTN_LEFT, RT_BOOL(fButtons & VMMDEV_MOUSE_BUTTON_LEFT));
Note:
See TracChangeset
for help on using the changeset viewer.