author | sandman <sandman> | 2002-12-23 03:14:22 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-23 03:14:22 (UTC) |
commit | 8bd190d162b538e4226e830f442450f5a95f4434 (patch) (side-by-side diff) | |
tree | 5a0cd0904b11b5d76a09de21db29d77abfe4b176 | |
parent | 726d2ac455446ee194c8e83df16f48357b619988 (diff) | |
download | opie-8bd190d162b538e4226e830f442450f5a95f4434.zip opie-8bd190d162b538e4226e830f442450f5a95f4434.tar.gz opie-8bd190d162b538e4226e830f442450f5a95f4434.tar.bz2 |
grrr .. somehow joe put a 'k' in the file
-rw-r--r-- | libopie/odevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index a3c30cb..0e620ba 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -729,49 +729,49 @@ bool iPAQ::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, b ( d-> m_model == Model_iPAQ_H38xx )) { newkeycode = Key_Left + ( keycode - Key_Left + 2 ) % 4; } break; } // map Power Button short/long press to F34/F35 case Key_SysReq: { if ( isPress ) { if ( m_power_timer ) killTimer ( m_power_timer ); m_power_timer = startTimer ( 500 ); } else if ( m_power_timer ) { killTimer ( m_power_timer ); m_power_timer = 0; QWSServer::sendKeyEvent ( -1, HardKey_Suspend, 0, true, false ); QWSServer::sendKeyEvent ( -1, HardKey_Suspend, 0, false, false ); } newkeycode = Key_unknown; break; } } -k if ( newkeycode != keycode ) { + if ( newkeycode != keycode ) { if ( newkeycode != Key_unknown ) QWSServer::sendKeyEvent ( -1, newkeycode, modifiers, isPress, autoRepeat ); return true; } else return false; } void iPAQ::timerEvent ( QTimerEvent * ) { killTimer ( m_power_timer ); m_power_timer = 0; QWSServer::sendKeyEvent ( -1, HardKey_Backlight, 0, true, false ); QWSServer::sendKeyEvent ( -1, HardKey_Backlight, 0, false, false ); } void iPAQ::alarmSound ( ) { #ifndef QT_NO_SOUND static Sound snd ( "alarm" ); int fd; int vol; bool vol_reset = false; |