Improving Mouse Drivers for Linux Guest

Discussions related to using the OSE version of VirtualBox.
Post Reply
Linux Kid
Posts: 3
Joined: 18. Feb 2021, 13:02

Improving Mouse Drivers for Linux Guest

Post by Linux Kid »

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
scottgus1
Site Moderator
Posts: 19758
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

Post by scottgus1 »

Sounds like an interesting project!

See https://www.virtualbox.org/wiki/Technical_documentation
Martin
Volunteer
Posts: 2556
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

Post by Martin »

Did you test the other mouse modes available with
VBoxManage modifyvm <vmname> --mouse ps2|usb|usbtablet|usbmultitouch
Linux Kid
Posts: 3
Joined: 18. Feb 2021, 13:02

Re: Improving Mouse Drivers for Linux Guest

Post by Linux Kid »

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.
Post Reply