Re: [RFC] [PATCH] input: add definition for handset pick up switch event
From: Janusz Krzysztofik <hidden>
Date: 2009-06-04 20:37:35
Everyone willing to answer my original message, please correct my spelling error in linux-input address before sending or reply to this one instead. Sorry for this. Janusz Thursday 04 June 2009 20:46:37 Janusz Krzysztofik napisał(a):
This patch adds new symbol definition for events generated by handset pick
up switch on machines equipped with such facility. It will be used by
gpio-keys driver supported platform device definition for ams-delta omap
board I'm going to submit.
Signed-off-by: Janusz Krzysztofik <redacted>
---
diff -up linux-2.6.30-rc5/include/linux/input.h.orig
linux-2.6.30-rc5/include/linux/input.h ---
linux-2.6.30-rc5/include/linux/input.h.orig 2009-06-04 18:25:08.000000000
+0200 +++ linux-2.6.30-rc5/include/linux/input.h 2009-06-04
20:17:56.000000000 +0200 @@ -675,6 +675,7 @@ struct input_absinfo {
#define SW_LINEOUT_INSERT 0x06 /* set = inserted */
#define SW_JACK_PHYSICAL_INSERT 0x07 /* set = mechanical switch set */
#define SW_VIDEOOUT_INSERT 0x08 /* set = inserted */
+#define SW_HANDSET_PICK_UP 0x09 /* set = picked up */
#define SW_MAX 0x0f
#define SW_CNT (SW_MAX+1)
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html-- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html