-rw-r--r-- | libopie2/opiecore/device/odevice_mypal.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ -155,5 +155,5 @@ bool MyPal::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, - // 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 ) |