Re: Power button working on iPAQs, using KEY_POWER kernel keycode
Giorgio Padrin <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks Dmitriy. This is the one-line patch needed in Opie. The rest pertains to OE. Giorgio Alle 20:06, venerdì 11 agosto 2006, Dmitriy Korovkin ha scritto: > Hi Giorgio, > You are doing a great work! Thank you very much. > I believe we will integrate it! > Guys, am I right? :-) > Dmitriy. _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel
ipaq-power_key.patch
(text/x-diff, 607 B)
Index: opie/libopie2/opiecore/device/odevice_ipaq.cpp
===================================================================
--- opie.orig/libopie2/opiecore/device/odevice_ipaq.cpp 2006-08-11 15:33:46.000000000 +0200
+++ opie/libopie2/opiecore/device/odevice_ipaq.cpp 2006-08-11 15:36:01.000000000 +0200
@@ -351,6 +351,7 @@
if ( d->m_model != Model_iPAQ_H191x && d->m_model != Model_iPAQ_H4xxx )
break;
// map Power Button short/long press to F34/F35
+ case HardKey_Suspend:
case Key_SysReq: {
if ( isPress ) {
if ( m_power_timer )