test program for capturing input device events
