Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3773 closed defect (fixed)

Pass all mouse events to the guest -> fixed in SVN

Reported by: Alexander Kojevnikov Owned by:
Component: other Version: VirtualBox 2.2.0
Keywords: Cc:
Guest type: Windows Host type: Linux


Change History (5)

comment:1 by Frank Mehnert, 15 years ago

The problem is that the emulated mouse does only provide a limited number of mouse buttons -- the hardware specification simply doesn't define more than three buttons.

However, using the guest additions it should be possible to pass more button events to the guest.

comment:2 by Michael Thayer, 15 years ago

Summary: Pass all mouse events to the guestPass all mouse events to the guest -> fixed in SVN

We now pass five buttons to the guest. We also pass the vertical "tilt" scroll wheel, but only Linux guests seem to recognise this. For the record, a physical XP installation also refused to recognise the tilt wheel of a Microsoft mouse connected to the PS/2 port.

comment:3 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: newclosed

comment:4 by bqbauer, 15 years ago

This does not appear to work in OpenSolaris guests of an OpenSolaris host. The guest web browser doesn't respond to the mouse buttons like the host. OpenSolaris web browsers normally respond to these buttons as in any other OS. Tested with FireFox 3.5.5 from and with the stock 3.1 beta that comes with 2009.06.

An XP guest of the same host does recognize these new buttons.

comment:5 by Michael Thayer, 15 years ago

It may be that OpenSolaris recognises the extra buttons on a USB mouse but not on a PS/2 one, which is what we emulate. The code seems to be there (in OpenSolaris) as far as I can see though from a quick search in the sources. Perhaps explicitly specifying a number of buttons in xorg.conf in the guest will make a difference? Bear in mind that at least buttons 4 and 5 are the vertical scroll wheel, and possibly (?) 6 and 7 the horizontal one.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use