summaryrefslogtreecommitdiff
authoralwin <alwin>2005-03-15 18:58:53 (UTC)
committer alwin <alwin>2005-03-15 18:58:53 (UTC)
commit8e5d27f4155e38d8278161c29b2d721a1de44430 (patch) (side-by-side diff)
tree5c55a30b907c7b422ea351fab5f4d401ecf4c53b
parentcb3b52896e39a594fd7ba825abd95817349fb55f (diff)
downloadopie-8e5d27f4155e38d8278161c29b2d721a1de44430.zip
opie-8e5d27f4155e38d8278161c29b2d721a1de44430.tar.gz
opie-8e5d27f4155e38d8278161c29b2d721a1de44430.tar.bz2
ok. the hinge button must have held-action set to 0.
ToDo: make it sure that it will not set to any - otherwise it runs into trouble with autorepeat.
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_zaurus.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/libopie2/opiecore/device/odevice_zaurus.cpp b/libopie2/opiecore/device/odevice_zaurus.cpp
index 59d4eb0..72378ff 100644
--- a/libopie2/opiecore/device/odevice_zaurus.cpp
+++ b/libopie2/opiecore/device/odevice_zaurus.cpp
@@ -101,22 +101,19 @@ struct z_button z_buttons_c700 [] = {
"devicebuttons/z_mail",
"opiemail", "raise()",
"opiemail", "newMail()" },
{ Qt::Key_F15, QT_TRANSLATE_NOOP("Button", "Hinge1"),
"devicebuttons/z_hinge1",
- "QPE/Rotation", "rotateDefault()",
- "QPE/Rotation", "rotateDefault()" },
+ "QPE/Rotation", "rotateDefault()",0},
{ Qt::Key_F16, QT_TRANSLATE_NOOP("Button", "Hinge2"),
"devicebuttons/z_hinge2",
- "QPE/Rotation", "rotateDefault()",
- "QPE/Rotation", "rotateDefault()" },
+ "QPE/Rotation", "rotateDefault()",0},
{ Qt::Key_F17, QT_TRANSLATE_NOOP("Button", "Hinge3"),
"devicebuttons/z_hinge3",
- "QPE/Rotation", "rotateDefault()",
- "QPE/Rotation", "rotateDefault()" },
+ "QPE/Rotation", "rotateDefault()",0},
};
// FIXME This gets unnecessary complicated. We should think about splitting the Zaurus
// class up into individual classes. We need three classes
//
// Zaurus-Collie (SA-model w/ 320x240 lcd, for SL5500 and SL5000)