VirtualBox

Ignore:
Timestamp:
Oct 12, 2009 1:16:43 PM (15 years ago)
Author:
vboxsync
Message:

Devices/DevPS2: we only send an additional packet in ImEX mode, so don't wait forever for it to be sent in other modes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/DevPS2.cpp

    r22909 r23690  
    678678    s->mouse_dz += dz;
    679679    s->mouse_dw += dw;
    680     /* The issue described above does not affect VBox, and under some
    681      * circumstances (which?) we may even wish to send null events to make
    682      * mouse integration work. */
    683680    /* In horizontal reporting mode, we may need to send an additional packet
    684681     * for the forth and fifth buttons, as they can't share a packet with a
    685682     * 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))
    687685        s->mouse_flags |= MOUSE_OUTSTANDING_CLICK;
    688686    s->mouse_buttons = buttons_state;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette