[Xcb] Xinput: units of the coordinates in motion-events?

Christophe Lohr christophe.lohr at cegetel.net
Fri Oct 26 09:54:50 UTC 2018


Hi,
  May I ask another question on how to manage the scroll wheel with Xinput?
I have noticed that this triggers  XCB_INPUT_MOTION events also (and not
only button events). This is the "Z" axis.

I should get information via the "Valuators", isn't it?
(https://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt)

How to get Valuators that are reported on motion events?

Best regards




More information about the Xcb mailing list