VirtualBox

忽略:
時間撮記:
2009-10-12 下午01:16:43 (15 年 以前)
作者:
vboxsync
訊息:

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

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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