Changeset 47804 in vbox for trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
- Timestamp:
- Aug 16, 2013 12:26:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r47774 r47804 308 308 309 309 def 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) 311 311 312 312 def printKbdEvent(ctx, kev): … … 405 405 mev = ctx['global'].queryInterface(event, 'IGuestMouseEvent') 406 406 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) 408 408 demo.write(line) 409 409 elif evtype == ctx['global'].constants.VBoxEventType_OnGuestKeyboard:
Note:
See TracChangeset
for help on using the changeset viewer.