Bring features of xinput list-props to libinput-list-devices

William Gathoye william at gathoye.be
Sun Jul 17 21:48:13 UTC 2016


Hello everyone,

I have just made a simple patch to libinput-list-devices.

The latter brings back a feature available in xinput when used in
combination with Xorg drivers instead of libinput.

- The maximum number of finger detected
- Reports if 3 fingers are detected

Just a few question though. In

xinput list-props "CyPS/2 Cypress Trackpad"
[...]
	Coordinate Transformation Matrix (140): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
[...]
        libinput Scroll Methods Available (286):        1, 1, 0

what are the Coordinate Transformation Matrix about?

I assume "libinput Scroll Methods Available" bits are respectively for
two fingers, three fingers and four fingers scrolling detection right?

Also as I added the constant LIBINPUT_CONFIG_SCROLL_3FG, I had to adapt
the code which was using LIBINPUT_CONFIG_SCROLL_*2*FG. I dont know if my
changes are correct. Mr Hutterer, please correct me if I'm wrong.

Thanks for your answers.

Regards,


-- 
William Gathoye
<william at gathoye.be>



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160717/f886ed2b/attachment.sig>


More information about the wayland-devel mailing list