 +	while ((layout=ksNext(layouts))) {
 +		parsePrologue (XF86ConfLayoutPtr, XF86ConfLayoutRec) 
 +
-+		printf("%s\n", keyStealName(layout)); 
-+			
 +		/* Calculate Identifier */
 +		size=keyGetBaseNameSize(layout);
 +		ptr->lay_identifier=xf86confmalloc(size);

+		
+		/* Get used input devices */
+		snprintf(buffer, bufSize, "%s/Inputs/", keyStealName(layout));
+		printf("BUFFER=%s\n", buffer); 
+
+		inputs = ksNew();
+		kdbGetChildKeys(buffer,inputs,KDB_O_DIR);

diff -Naur xc.orig/programs/Xserver/hw/xfree86/parser/elektra.c xc/programs/Xserver/hw/xfree86/parser/elektra.c
--- xc.orig/programs/Xserver/hw/xfree86/parser/elektra.c	1970-01-01 01:00:00.000000000 +0100
+++ xc/programs/Xserver/hw/xfree86/parser/elektra.c	2006-03-18 14:00:40.000000000 +0100
@@ -0,0 +1,3620 @@
+/* $Id$ */
+
+
