Diffstat (limited to 'libopie2/opiecore/device/odevice_mypal.cpp') (more/less context) (ignore whitespace changes)
-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 da0272e..7e1245a 100644 --- a/libopie2/opiecore/device/odevice_mypal.cpp +++ b/libopie2/opiecore/device/odevice_mypal.cpp | |||
@@ -148,10 +148,10 @@ bool MyPal::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, | |||
148 | newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; | 148 | newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; |
149 | break; | 149 | break; |
150 | } | 150 | } |
151 | 151 | ||
152 | // map Power Button short/long press to F34/F35 | 152 | // map Power Button short/long press to F6 |
153 | case Key_SysReq: { | 153 | case Key_F6: { |
154 | if ( isPress ) { | 154 | if ( isPress ) { |
155 | if ( m_power_timer ) | 155 | if ( m_power_timer ) |
156 | killTimer ( m_power_timer ); | 156 | killTimer ( m_power_timer ); |
157 | m_power_timer = startTimer ( 500 ); | 157 | m_power_timer = startTimer ( 500 ); |