 Index: linux-2.6.31/drivers/input/misc/capsense-procfs.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.31/drivers/input/misc/capsense-procfs.c	2009-10-19 16:50:35.000000000 +0200
++++ linux-2.6.31/drivers/input/misc/capsense-procfs.c	2009-10-30 13:20:03.000000000 +0100
 @@ -0,0 +1,380 @@
 +/*
 + * CAPSENSE Interface driver

+	changed = capsense->key_state ^ new_state;
+	for (i = 0; i < ARRAY_SIZE(input_keymap); i++)
+		if (changed & (1 << i))
+			input_report_key(dev->input, input_keymap[i], (new_state & (1 << i)));
+	capsense->key_state = new_state;
+	input_sync(dev->input);
+}
+
+

 endif
Index: linux-2.6.31/drivers/input/misc/Makefile
===================================================================
--- linux-2.6.31.orig/drivers/input/misc/Makefile	2009-10-30 12:50:24.000000000 +0100
+++ linux-2.6.31/drivers/input/misc/Makefile	2009-10-30 13:20:50.000000000 +0100
@@ -26,3 +26,4 @@
 obj-$(CONFIG_INPUT_UINPUT)		+= uinput.o
 obj-$(CONFIG_INPUT_WISTRON_BTNS)	+= wistron_btns.o
