Mouse Programming in gcc

I need some references for the mouse programming in gcc(since graphics.h doesn’t work in gcc). Please help.

  1. http://dzone.com/snippets/xlib-mouseclick
  2. http://www.linuxjournal.com/article/4600
  3. http://www.linuxjournal.com/article/1136
  4. http://unix.stackexchange.com/questions/25601/how-do-mouse-events-work-in-linux
2 Likes
//