[RFC] [PATCH] input: add definition for handset pick up switch event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <jkrzyszt@xxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux