bx-lib : the Basic X11 Library tuned for C beginners  1.0
Modules
Input Control (how to deal with mouse and keyboard)

Modules

 Actively reading the current state of the keyboard
 Actively reading the current state of the mouse
 Being Passively notified of state changes by events
 More advanced programmers in C can be notified of events such as a change of the state of the mouse and the keyboard by making some of their own functions be automatically called by the bx-lib. This requires the knowledge that functions may be passed as arguments to other functions. The notifications occur when the bx-lib "has the hand" on the system, that is, during the execution of functions such as bx_wait(), bx_loop() and bx_show_canvas().

Detailed Description