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 <cont...@emersion.fr> 
Sent: Monday, 6 December 2021 12:10
To: Jesse Van Gavere <jesse.vangav...@scioteq.com>
Cc: wayland-devel@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.

Reply via email to