vmmouse kernel driver

Thomas Hellstrom thellstrom at vmware.com
Fri Sep 26 00:06:28 PDT 2014


Hi!

On 09/26/2014 03:36 AM, Peter Hutterer wrote:
> On Wed, Sep 24, 2014 at 11:12:50AM +0200, Thomas Hellstrom wrote:
>> While looking at a vmmouse kernel driver, I wonder how the Xorg evdev
>> driver can be configured to receive both absolute and relative events
>> from the same device as the vmmouse sometimes sends absolute events and
>> sometimes relative. Is the "IgnoreAbsoluteAxes" "False" option sufficient?
> at the same time, or depending on the configuration? The
> IgnoreAbsoluteAxes/IgnoreRelativeAxes options simply disable one of the two
> on startup, allowing the other one to be initialized. that's for virtual
> devices mostly used in VMs because our device autodetection fails there.
>
> So short answer: yes, should be sufficient provided you stay in that mode
> for the lifetime of the device.

Thanks for the answer. The problem is we don't. We could suddenly decide
that apparently somebody applied a screen tranformation or is running a
game and revert back to relative events.
Otherwise the preferred choice is absolute events for minimal cursor
latency.

I know that for this reason the virtual USB mice are duplicated: one for
absolute events and one for relative events but I haven't looked to
closely at what level this actually happens.

But whatever solution that emerges needs to work also with the new
compositors. I guess I have to look at somehow make the mouse appear as
two different ps2 mice from within the kernel driver...

/Thomas


>
> Cheers,
>    Peter
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: https://urldefense.proofpoint.com/v1/url?u=http://lists.x.org/archives/xorg-devel&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=l5Ago9ekmVFZ3c4M6eauqrJWGwjf6fTb%2BP3CxbBFkVM%3D%0A&m=FGvv1Co9p8r5mGWroOXsHsaTmEVAUnijyLABVdnczFE%3D%0A&s=ef21fa1c111563c7c60238324a5d1ea3a992f49ba1ce31c03d7b980731a69da4
> Info: https://urldefense.proofpoint.com/v1/url?u=http://lists.x.org/mailman/listinfo/xorg-devel&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=l5Ago9ekmVFZ3c4M6eauqrJWGwjf6fTb%2BP3CxbBFkVM%3D%0A&m=FGvv1Co9p8r5mGWroOXsHsaTmEVAUnijyLABVdnczFE%3D%0A&s=8e8e5c990a3b5417880f61a5a4d9380346489af4268c8117780de04a894ed53e



More information about the xorg-devel mailing list