title: listening for key/mouse events
body: <p>Is it possible to listen for key and mouse events without having a gui selected by the user? I want to make a program that runs in the background without a gui and responds to user interaction such as pressing <code>ctrl-t</code>.</p>