script to capture existing input devices

 * simply type `./capture.sh`
 * defaults to events.txt
added device discovery script handling