-rw-r--r-- | libopie2/opiecore/device/odevice_mypal.cpp | 4 |
1 files changed, 2 insertions, 2 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 @@ -150,14 +150,14 @@ bool MyPal::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, // add the offset to the Key_Left key if ( d->m_model == Model_MyPal_716 ) newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; break; } - // map Power Button short/long press to F6 - case Key_F6: { + // 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 ); } else if ( m_power_timer ) { |