Improving Mouse Drivers for Linux Guest

Discussions related to using the OSE version of VirtualBox.

Improving Mouse Drivers for Linux Guest

Postby Linux Kid » 18. Feb 2021, 13:05

Hello

I want to write a mouse driver with better mouse wheel behavior for mouse integration.

Currently it simulates a touch screen, which is somewhat laggy, slow on focus change and accelerates some scroll events so that it keeps scrolling and skips large distances.

Without mouse integration these problems are gone, so I think I can reuse some parts of the code.

I know how to write drivers, but I am unfamiliar with the VirtualBox project. Any Idea where to start?

Greetings

VirtualBox 6.1.16
Host: Windows 10
Guest: Xubuntu 20.04
Linux Kid
 
Posts: 3
Joined: 18. Feb 2021, 13:02

Re: Improving Mouse Drivers for Linux Guest

Postby scottgus1 » 18. Feb 2021, 17:36

Sounds like an interesting project!

See https://www.virtualbox.org/wiki/Technical_documentation
scottgus1
Site Moderator
 
Posts: 12430
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Improving Mouse Drivers for Linux Guest

Postby Martin » 18. Feb 2021, 20:43

Did you test the other mouse modes available with
VBoxManage modifyvm <vmname> --mouse ps2|usb|usbtablet|usbmultitouch
Martin
Volunteer
 
Posts: 2482
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Linux, OS/2

Re: Improving Mouse Drivers for Linux Guest

Postby Linux Kid » 20. Feb 2021, 00:50

Martin wrote:Did you test the other mouse modes available with
VBoxManage modifyvm <vmname> --mouse ps2|usb|usbtablet|usbmultitouch

Yes! It was the first thing I've tested. At this time I thought it was a graphics problem and tried all combinations of settings.

scottgus1 wrote:Sounds like an interesting project!

Unfortunately it will be a very quick & dirty solution.

I will have a look at the documentation and get back as soon as I have any questions.
Linux Kid
 
Posts: 3
Joined: 18. Feb 2021, 13:02

Re: Improving Mouse Drivers for Linux Guest

Postby Linux Kid » 5. Apr 2021, 21:03

Linux Kid
 
Posts: 3
Joined: 18. Feb 2021, 13:02


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 3 guests