From bb6f32ae999168fc44d50d3523c3ef232824185a Mon Sep 17 00:00:00 2001 From: aquadran Date: Wed, 13 Dec 2006 20:36:14 +0000 Subject: changed suspend button mapping for mypal too same as for ipaqs --- (limited to 'libopie2') diff --git a/libopie2/opiecore/device/odevice_mypal.cpp b/libopie2/opiecore/device/odevice_mypal.cpp index 208be46..73b31cb 100644 --- a/libopie2/opiecore/device/odevice_mypal.cpp +++ b/libopie2/opiecore/device/odevice_mypal.cpp @@ -153,9 +153,9 @@ bool MyPal::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, break; } - // map Power Button short/long press to F6 - case Key_F6: { - if ( isPress ) { + // map Power Button short/long press + case HardKey_Suspend: { // Hope we don't have infinite recursion here: + if ( isPress ) { if ( m_power_timer ) killTimer ( m_power_timer ); m_power_timer = startTimer ( 500 ); -- cgit v0.9.0.2