-rw-r--r-- | libopie2/opiecore/device/odevice_ipaq.cpp | 4 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice_mypal.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libopie2/opiecore/device/odevice_ipaq.cpp b/libopie2/opiecore/device/odevice_ipaq.cpp index 5272a3c..a221e23 100644 --- a/libopie2/opiecore/device/odevice_ipaq.cpp +++ b/libopie2/opiecore/device/odevice_ipaq.cpp | |||
@@ -310,4 +310,8 @@ bool iPAQ::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, b | |||
310 | } | 310 | } |
311 | 311 | ||
312 | // map Power Button short/long press to F6 for h191x | ||
313 | case Key_F6: | ||
314 | if ( d->m_model != Model_iPAQ_H191x ) | ||
315 | break; | ||
312 | // map Power Button short/long press to F34/F35 | 316 | // map Power Button short/long press to F34/F35 |
313 | case Key_SysReq: { | 317 | case Key_SysReq: { |
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 | |||
@@ -150,6 +150,6 @@ bool MyPal::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, | |||
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 ) |