title: How do I get the id of a mouse when multiple mice are connected in x11?
body: <p>according to <a href="https://wiki.archlinux.org/index.php/Multi-pointer_X" rel="nofollow">this</a> article it is pretty easy to have multiple mouse pointers in x11. But when processing the event as an <a href="https://tronche.com/gui/x/xlib/events/structures.html" rel="nofollow"><code>XEvent</code></a> in a program, how do it get the id of the virtual pointer or virtual keyboard?</p>