It makes use of Xlib libraries in order to access X window events and to visualize a gui that can be used to edit, delete, save and trigger macros.