Changeset 23690 in vbox for trunk/src/VBox/Devices/Input/DevPS2.cpp
- Timestamp:
- Oct 12, 2009 1:16:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/DevPS2.cpp
r22909 r23690 678 678 s->mouse_dz += dz; 679 679 s->mouse_dw += dw; 680 /* The issue described above does not affect VBox, and under some681 * circumstances (which?) we may even wish to send null events to make682 * mouse integration work. */683 680 /* In horizontal reporting mode, we may need to send an additional packet 684 681 * for the forth and fifth buttons, as they can't share a packet with a 685 682 * horizontal scroll delta. */ 686 if ((s->mouse_buttons & 0x18) != (buttons_state & 0x18)) 683 if ( s->mouse_type == 4 684 && (s->mouse_buttons & 0x18) != (buttons_state & 0x18)) 687 685 s->mouse_flags |= MOUSE_OUTSTANDING_CLICK; 688 686 s->mouse_buttons = buttons_state;
Note:
See TracChangeset
for help on using the changeset viewer.