VirtualBox

Ignore:
Timestamp:
Aug 16, 2013 12:26:40 PM (11 years ago)
Author:
vboxsync
Message:

Main: OnGuestMouse event cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r47774 r47804  
    308308
    309309def printMouseEvent(_ctx, mev):
    310     print "Mouse : mode=%d x=%d y=%d z=%d w=%d contact=%d buttons=%x" % (mev.mode, mev.x, mev.y, mev.z, mev.w, mev.contact, mev.buttons)
     310    print "Mouse : mode=%d x=%d y=%d z=%d w=%d buttons=%x" % (mev.mode, mev.x, mev.y, mev.z, mev.w, mev.buttons)
    311311
    312312def printKbdEvent(ctx, kev):
     
    405405            mev = ctx['global'].queryInterface(event, 'IGuestMouseEvent')
    406406            if mev:
    407                 line = "%d: m %d %d %d %d %d %d\n" % (stamp(), mev.absolute, mev.x, mev.y, mev.z, mev.w, mev.buttons)
     407                line = "%d: m %d %d %d %d %d %d\n" % (stamp(), mev.mode, mev.x, mev.y, mev.z, mev.w, mev.buttons)
    408408                demo.write(line)
    409409        elif evtype == ctx['global'].constants.VBoxEventType_OnGuestKeyboard:
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