querying current mouse state
Martin Flöser
mgraesslin at kde.org
Thu Aug 10 15:15:20 UTC 2017
Am 2017-08-10 01:45, schrieb René J. V. Bertin:
> Martin Flöser wrote:
>
> Hi
>
>> of the buttons, but just sends the press events. I'm pretty sure that
>> not even the kernel knows it, otherwise libinput would expose it.
>
> It doesn't need to know it (and probably shouldn't because why would
> it). All it
> needs to know is how to read the information from the device when
> needed ;)
Point is: if the kernel could read the information from the device, it
would know it. I don't think that the kernel knows it, which means I
don't think that the device driver has that.
>
> Libinput is based on libevdev just like good old X11, no?
no idea whether it uses libevdev, but it's of course evdev.
More information about the Plasma-devel
mailing list