--- ldtp-1.6.0/src/ldtp.c	2009-05-10 08:59:27.000000000 +0200
+++ ldtp-1.6.0_fixed/src/ldtp.c	2009-08-04 18:25:43.000000000 +0200
@@ -661,6 +661,10 @@
 	}
 	debug_log_file_name = get_log_file_name ();
 	ldtp_debug_log_fp = fopen (debug_log_file_name, "a");
+
+	/* get the keyboard keycodes from xmodmod -pke */
+	get_keyboard_keycodes();
+	/*******/
 	spi_init = SPI_init ();
 
 	window_listener = SPI_createAccessibleEventListener (report_window_event, NULL);
