Using xcb/xinput?
Julian Kirsch <[email protected]> Tue, 16 Jun 2020 02:46:35 +0200 (CEST)
| Newsgroups | gmane.comp.freedesktop.xcb |
|---|---|
| Message-ID | <[email protected]> |
Hey there! Although documentation is, to some extend, non-existent, I am trying to develop a library, which uses xcb for linux targets. Additionally I am planning to write an article providing some info on the usage of xcb. So, I am trying to receive input events via the extension 'XInput'. From what I've gathered, I need check whether XInput is available at all and whether the appropriate version is present. After that, I need to select events by calling `xcb_input_xi_select_events`, which should be enough to receive any XInput event. The problem is, that in my event loop, the event `XCB_GE_GENERIC` seems to never be propagated. What am I missing? Best regards Julian P.S.: It's my first time using a mailing list and I hope this is the right place for my question. _______________________________________________ Xcb mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/xcb