Testing Qt's event handler -------------------------- test created by Denver Gingerich (http://ossguy.com/) To build the test tools, copy these files into a new folder called "eventtest" and run ./build. Then run sendkey with some test input (ie. "./sendkey < test_input") and immediately run ./eventtest after starting sendkey and ensure focus is on the eventtest window so that sendkey will send events to it. To increase the delay between starting sendkey and sendkey sending events to the window in focus, increase the value of START_DELAY in sendkey.c and rerun ./build. This test should demonstrate that Qt's event handler misses events if they arrive in quick succession. If it does not, try decreasing the value of KEY_INTERVAL in sendkey.c. To return your directory to a clean state, run ./clean. -- Copyright (C) 2008 Denver Gingerich Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.