- Timestamp:
- Oct 12, 2010 3:20:06 PM (14 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r33061 r33075 298 298 299 299 def printMouseEvent(ctx, mev): 300 print "Mouse : x=%d y=%d z=%d" %(mev.x, mev.y, mev.z)300 print "Mouse : absolute=%d x=%d y=%d z=%d buttons=%x" %(mev.absolute, mev.x, mev.y, mev.z, mev.buttons) 301 301 302 302 def printKbdEvent(ctx, kev): -
trunk/src/VBox/Main/MouseImpl.cpp
r33061 r33075 333 333 vrc); 334 334 mLastButtons = fButtons; 335 #ifndef VBOXBFE_WITHOUT_COM336 #if 1337 mMouseEvent.reinit(VBoxEventType_OnGuestMouseEvent, dx, dy, dz, dw, fButtons);338 mMouseEvent.fire(0);339 #endif340 #endif341 335 } 342 336 return S_OK; … … 376 370 vrc); 377 371 mLastButtons = fButtons; 372 378 373 } 379 374 return S_OK; … … 485 480 rc = reportRelEventToMouseDev(dx, dy, dz, dw, fButtons); 486 481 482 #ifndef VBOXBFE_WITHOUT_COM 483 mMouseEvent.reinit(VBoxEventType_OnGuestMouseEvent, false, dx, dy, dz, dw, fButtons); 484 mMouseEvent.fire(0); 485 #endif 486 487 487 return rc; 488 488 } … … 578 578 rc = reportAbsEvent(mouseXAbs, mouseYAbs, dz, dw, fButtons, 579 579 mouseCaps & VMMDEV_MOUSE_GUEST_USES_EVENT); 580 581 #ifndef VBOXBFE_WITHOUT_COM 582 mMouseEvent.reinit(VBoxEventType_OnGuestMouseEvent, true, mouseXAbs, mouseYAbs, dz, dw, fButtons); 583 mMouseEvent.fire(0); 584 #endif 580 585 581 586 return rc; -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r33064 r33075 14979 14979 <interface 14980 14980 name="IGuestMouseEvent" extends="IReusableEvent" 14981 uuid=" 2ab6f43c-a111-4520-be63-5d560e8eb463"14981 uuid="1f85d35c-c524-40ff-8e98-307000df0992" 14982 14982 wsmap="managed" autogen="VBoxEvent" id="OnGuestMouseEvent" 14983 14983 > … … 14986 14986 </desc> 14987 14987 14988 <attribute name="absolute" type="boolean" readonly="yes"> 14989 <desc> 14990 If this event is relative or absolute. 14991 </desc> 14992 </attribute> 14993 14988 14994 <attribute name="x" type="long" readonly="yes"> 14989 14995 <desc> 14990 New X position .14996 New X position, or X delta. 14991 14997 </desc> 14992 14998 </attribute> … … 14994 15000 <attribute name="y" type="long" readonly="yes"> 14995 15001 <desc> 14996 New Y position .15002 New Y position, or Y delta. 14997 15003 </desc> 14998 15004 </attribute> … … 15000 15006 <attribute name="z" type="long" readonly="yes"> 15001 15007 <desc> 15002 New Z position.15008 Z delta. 15003 15009 </desc> 15004 15010 </attribute> … … 15006 15012 <attribute name="w" type="long" readonly="yes"> 15007 15013 <desc> 15008 New W position.15014 W delta. 15009 15015 </desc> 15010 15016 </attribute>
Note:
See TracChangeset
for help on using the changeset viewer.