summaryrefslogtreecommitdiff
authoraquadran <aquadran>2006-12-13 20:36:14 (UTC)
committer aquadran <aquadran>2006-12-13 20:36:14 (UTC)
commitbb6f32ae999168fc44d50d3523c3ef232824185a (patch) (side-by-side diff)
tree1d89bf239f98c4e3ce6fc83131b6b2c4ec5aac2c
parent5a0012fb3b75ff41437b0685386731d1367e4e7b (diff)
downloadopie-bb6f32ae999168fc44d50d3523c3ef232824185a.zip
opie-bb6f32ae999168fc44d50d3523c3ef232824185a.tar.gz
opie-bb6f32ae999168fc44d50d3523c3ef232824185a.tar.bz2
changed suspend button mapping for mypal too same as for ipaqs
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_mypal.cpp4
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
@@ -154,6 +154,6 @@ bool MyPal::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress,
}
- // 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 )