Page 1 of 1

Improving Mouse Drivers for Linux Guest

PostPosted: 18. Feb 2021, 13:05
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

Re: Improving Mouse Drivers for Linux Guest

PostPosted: 18. Feb 2021, 17:36
by scottgus1
Sounds like an interesting project!

See https://www.virtualbox.org/wiki/Technical_documentation

Re: Improving Mouse Drivers for Linux Guest

PostPosted: 18. Feb 2021, 20:43
by Martin
Did you test the other mouse modes available with
VBoxManage modifyvm <vmname> --mouse ps2|usb|usbtablet|usbmultitouch

Re: Improving Mouse Drivers for Linux Guest

PostPosted: 20. Feb 2021, 00:50
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.

Re: Improving Mouse Drivers for Linux Guest

PostPosted: 5. Apr 2021, 21:03
by Linux Kid