- Timestamp:
- Sep 27, 2022 10:18:39 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 153818
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/MouseImpl.cpp
r96906 r96908 661 661 { 662 662 HRESULT hrc; 663 /** If we are using the VMMDev to report absolute position but without664 * VMMDev IRQ support then we need to send a small "jiggle" to the emulated665 * relative mouse device to alert the guest to changes. */666 LONG cJiggle = 0;667 668 663 if (i_vmmdevCanAbs()) 669 664 { 665 /* 666 * If we are using the VMMDev to report absolute position but without 667 * VMMDev IRQ support then we need to send a small "jiggle" to the 668 * emulated relative mouse device to alert the guest to changes. 669 */ 670 LONG cJiggle = 0; 671 670 672 /* 671 673 * Send the absolute mouse position to the VMM device. … … 677 679 } 678 680 679 /* Since VMMDev does not deal with mouse buttons state, also 681 /* 682 * Since VMMDev does not deal with mouse buttons state, also 680 683 * send relative or absolute pointing event to emulated mouse 681 684 * device once it supports it. … … 687 690 * USB MT TouchScreen and TouchPad. 688 691 * 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 * IMPORTANT: Do not send relative event to devices which can 693 * do both relative and absolute pointing since it may result 694 * in unexpected behaviour. 695 * 696 * r=bird: Not entirely convinced this is a correct fix. 697 * 698 * See @bugref{10285} for background and more theories. 699 */ 692 700 if (!i_deviceCanAbs()) 693 701 hrc = i_reportRelEventToMouseDev(cJiggle, 0, dz, dw, fButtons);
Note:
See TracChangeset
for help on using the changeset viewer.