summaryrefslogtreecommitdiff
path: root/libopie2
authoraquadran <aquadran>2006-12-13 20:36:14 (UTC)
committer aquadran <aquadran>2006-12-13 20:36:14 (UTC)
commitbb6f32ae999168fc44d50d3523c3ef232824185a (patch) (unidiff)
tree1d89bf239f98c4e3ce6fc83131b6b2c4ec5aac2c /libopie2
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 (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_mypal.cpp6
1 files changed, 3 insertions, 3 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
@@ -153,9 +153,9 @@ bool MyPal::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress,
153 break; 153 break;
154 } 154 }
155 155
156 // map Power Button short/long press to F6 156 // map Power Button short/long press
157 case Key_F6: { 157 case HardKey_Suspend: { // Hope we don't have infinite recursion here:
158 if ( isPress ) { 158 if ( isPress ) {
159 if ( m_power_timer ) 159 if ( m_power_timer )
160 killTimer ( m_power_timer ); 160 killTimer ( m_power_timer );
161 m_power_timer = startTimer ( 500 ); 161 m_power_timer = startTimer ( 500 );