Changeset 96906 in vbox
- Timestamp:
- Sep 27, 2022 6:10:42 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/MouseImpl.cpp
r96407 r96906 676 676 cJiggle = !fUsesVMMDevEvent; 677 677 } 678 hrc = i_reportRelEventToMouseDev(cJiggle, 0, dz, dw, fButtons); 678 679 /* Since VMMDev does not deal with mouse buttons state, also 680 * send relative or absolute pointing event to emulated mouse 681 * device once it supports it. 682 * 683 * Relative pointing events are sent to: PS/2 Mouse, USB Mouse, 684 * combination of both (PS/2 and USB Mouse). 685 * 686 * Absolute ones to: USB Tablet, USB Multi-Touch Tablet, 687 * USB MT TouchScreen and TouchPad. 688 * 689 * IMPORTANT: Avoid sending relative event to devices which can 690 * do both relative and absolute pointing since it will result 691 * in misbehavior. */ 692 if (!i_deviceCanAbs()) 693 hrc = i_reportRelEventToMouseDev(cJiggle, 0, dz, dw, fButtons); 694 else 695 hrc = i_reportAbsEventToMouseDev(x, y, dz, dw, fButtons); 679 696 } 680 697 else
Note:
See TracChangeset
for help on using the changeset viewer.