how can my application
My query is how can my application send the events and implements the single click and double click events with out interfacing to the actual device i.e without a device my application has to send the events and implement single and double click events. Please inform me about what are all the APIs which can be used.
Also, look here for all your Xlib programming needs (It's been my second Bible for the past few months): http://tronche.com/gui/x/xlib-tutorial/
What exactly do you want to do? Fire mouse click events programmatically or write a listener for mouse events? What programming language do you use?