vbox的更動 23690 路徑 trunk/src/VBox/Devices/Input/DevPS2.cpp
- 時間撮記:
- 2009-10-12 下午01:16:43 (15 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
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;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器