Is there an API that comes with X for mouse handling (i.e. clicks, relative motion,etc). If so, where is there a tutorial or something for it?
I am sorry for asking this, but I am fairly new to programming under linux. I have checked out SDL's input system, but it doesn't seem to work as I am not using an SDL window, and because of that, SDL won't handle the events.
Thanks in advance.