how to know the mouse coordinates

Rachid KHAZAZ rachiddelta at yahoo.fr
Sun Nov 4 01:55:50 PST 2007


I advice you to use XLib, see the documentation : http://the-labs.com/X11/XLib-Manual/
  When you catch an event, for example a ButtonPress event will be sent when pressing any mouse button, the XButtonEvent struture will contain information like mouse coordinates, the pressed button, the window you are pressing on ....etc.
   
  Good Luck,
  Rachid

sri <sridhar.yerram at gmail.com> a écrit :
  i used libxevie  to log key and mouse events .... but can i know the mouse coordinates 
can i get the information whether right or left mouse button is pressed.....

-- 
Thanks & Regards
sridhar gupta yerram _______________________________________________
xorg mailing list
xorg at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20071104/8c104cea/attachment.html>


More information about the xorg mailing list