r4233 - trunk/src/target/OM-2007.2/daemons/neod/src

erin_yueh at sita.openmoko.org erin_yueh at sita.openmoko.org
Thu Mar 20 11:43:11 CET 2008


Author: erin_yueh
Date: 2008-03-20 11:43:09 +0100 (Thu, 20 Mar 2008)
New Revision: 4233

Modified:
   trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c
Log:
neod: put AUX key event back (Erin Yueh)


Modified: trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c
===================================================================
--- trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c	2008-03-20 09:50:17 UTC (rev 4232)
+++ trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c	2008-03-20 10:43:09 UTC (rev 4233)
@@ -323,7 +323,7 @@
                 g_debug( "read %d bytes from fd %d", size, input_fd[i].fd );
                 g_debug( "input event = ( %0x, %0x, %0x )", event.type, event.code, event.value );
             }
-#if 0
+
             if ( event.type == 1 && event.code == AUX_BUTTON_KEYCODE )
             {
                 if ( event.value == 1 ) /* pressed */
@@ -343,7 +343,6 @@
                 }
             }
             else
-#endif
             if ( event.type == 1 && event.code == POWER_BUTTON_KEYCODE )
             {
                 if ( event.value == 1 ) /* pressed */





More information about the commitlog mailing list