Absolute mouse position retrieval

Jesse Van Gavere jesse.vangavere at scioteq.com
Mon Dec 6 11:19:06 UTC 2021


We're not using a device driver, it's a very small application that uses XInput2 to wait for mouse events using XNextEvent and when it sees a mouse event it gets the current position through XQueryPointer and transmits that over a serial link to our device. I was just wondering if a similar feature on Wayland exists or it's a feature that will be added/can be added by us one way or another.

-----Original Message-----
From: Simon Ser <contact at emersion.fr> 
Sent: Monday, 6 December 2021 12:10
To: Jesse Van Gavere <jesse.vangavere at scioteq.com>
Cc: wayland-devel at lists.freedesktop.org
Subject: Re: Absolute mouse position retrieval

> For a device we’re making, it’s necessary to have a daemon running on 
> servers which frequently polls the absolute mouse location and 
> transmits this to our device, this is a necessary feature to have 
> correct operation of our device.

Can you expand on this?

Writing a device driver in user-space which connects to X11 or Wayland is not the right way to do it.


More information about the wayland-devel mailing list