summaryrefslogtreecommitdiff
path: root/libopie2
authoraquadran <aquadran>2005-12-29 21:17:39 (UTC)
committer aquadran <aquadran>2005-12-29 21:17:39 (UTC)
commitd795d596af30d2856544b960d37e779659c324a6 (patch) (side-by-side diff)
tree651bdc5c29889c9a877178803aab38cba52ffa22 /libopie2
parentb12409a7785ddc05fa245de42bb19f3d15fde5d8 (diff)
downloadopie-d795d596af30d2856544b960d37e779659c324a6.zip
opie-d795d596af30d2856544b960d37e779659c324a6.tar.gz
opie-d795d596af30d2856544b960d37e779659c324a6.tar.bz2
changed power button mappings for h1915 and asus mypal 716
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_ipaq.cpp4
-rw-r--r--libopie2/opiecore/device/odevice_mypal.cpp4
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
@@ -311,2 +311,6 @@ bool iPAQ::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, b
+ // map Power Button short/long press to F6 for h191x
+ case Key_F6:
+ if ( d->m_model != Model_iPAQ_H191x )
+ break;
// map Power Button short/long press to F34/F35
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
@@ -151,4 +151,4 @@ bool MyPal::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress,
- // map Power Button short/long press to F34/F35
- case Key_SysReq: {
+ // map Power Button short/long press to F6
+ case Key_F6: {
if ( isPress ) {