summaryrefslogtreecommitdiff
path: root/libopie
Side-by-side diff
Diffstat (limited to 'libopie') (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.cpp8
-rw-r--r--libopie/odevice.h2
2 files changed, 3 insertions, 7 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index f93d1ed..a3c30cb 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -155,3 +155,3 @@ struct i_button {
{ Model_iPAQ_H38xx | Model_iPAQ_H39xx,
- Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Mail Button"),
+ Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Mail Button"),
"devicebuttons/ipaq_mail",
@@ -608,4 +608,2 @@ void iPAQ::init ( )
- qDebug ( "%d: %d", i, ib-> model );
-
if (( ib-> model & d-> m_model ) == d-> m_model ) {
@@ -618,4 +616,2 @@ void iPAQ::init ( )
d-> m_buttons. append ( b );
-
- qDebug ( "code: %d", ib-> code );
}
@@ -756,3 +752,3 @@ bool iPAQ::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, b
- if ( newkeycode != keycode ) {
+k if ( newkeycode != keycode ) {
if ( newkeycode != Key_unknown )
diff --git a/libopie/odevice.h b/libopie/odevice.h
index ce62f1a..54b85a2 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -85,3 +85,3 @@ enum OHardKey {
HardKey_Home = Qt::Key_F12,
- HardKey_Mail = Qt::Key_F14,
+ HardKey_Mail = Qt::Key_F13,
HardKey_Record = Qt::Key_F24,