<div dir="ltr">Hi,<br><br>
<br>I don't know if it's the right place to ask my question but I can't find help anywhere else.<br><br>I want to make a C program which capture all mouse events, not only those from a window I created myself, is it possible ?<br>

if yes, how ?<br>
<br>
To make it clearer, I am developing an application using the libVLC and I want to capture mouse events on the video display but the libVLC consumes all mouse events so I can't get them.<br>I used a global mouse hook under windows and it works fine, but I don't know how to do under Linux.<br>

<br>I tried capturing events directly from /dev/input/event* but I can't get the pointer position that way.<br><br>If X can't do it , do I have others solutions?<br><br>
Thanks in advance, <br>regards,<br><br>
</div>