[gpm] Support for QEMU mouse (via emulated usb tablet for proper positioning)

James Harvey jamespharvey20@gmail.com
Mon Aug 19 03:44:42 CEST 2019


On Thu, Aug 15, 2019 at 9:08 PM James Harvey <jamespharvey20@gmail.com> wrote:
>
> A long time ago, QEMU created an emulated USB tablet device which
> gives absolute positioning, which fixes all of these problems with
> xorg.  This is through a "-usbdevice tablet" argument, and a few
> others.
>
> ...
>
> Would a new -t driver be needed for this to work properly?

fonic's pull request for the VirtualBox USB tablet works as-is for the
QEMU USB tablet.  https://github.com/telmich/gpm/pull/23

3 people say the patch works, without any major complaints.
(msokalski does mention an oddity when changing the size of the
console.)  Would be nice if this could be marged.

It might be nice to name it 'vmtablet' instead of 'vbox' since it
works with QEMU also, but I don't know if that's too generic, because
I don't know how and if VMWare handles absolute positioning.  It also
might be nice to alphabetize the new type in `Gpm_Type mice`.


More information about the gpm mailing list