Test program for capturing input device events
