summaryrefslogtreecommitdiff
path: root/libopie2/opiecore
authoralwin <alwin>2005-03-15 18:58:53 (UTC)
committer alwin <alwin>2005-03-15 18:58:53 (UTC)
commit8e5d27f4155e38d8278161c29b2d721a1de44430 (patch) (unidiff)
tree5c55a30b907c7b422ea351fab5f4d401ecf4c53b /libopie2/opiecore
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 (limited to 'libopie2/opiecore') (more/less context) (ignore 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 [] = {
101 "devicebuttons/z_mail", 101 "devicebuttons/z_mail",
102 "opiemail", "raise()", 102 "opiemail", "raise()",
103 "opiemail", "newMail()" }, 103 "opiemail", "newMail()" },
104 104
105 { Qt::Key_F15, QT_TRANSLATE_NOOP("Button", "Hinge1"), 105 { Qt::Key_F15, QT_TRANSLATE_NOOP("Button", "Hinge1"),
106 "devicebuttons/z_hinge1", 106 "devicebuttons/z_hinge1",
107 "QPE/Rotation", "rotateDefault()", 107 "QPE/Rotation", "rotateDefault()",0},
108 "QPE/Rotation", "rotateDefault()" },
109 { Qt::Key_F16, QT_TRANSLATE_NOOP("Button", "Hinge2"), 108 { Qt::Key_F16, QT_TRANSLATE_NOOP("Button", "Hinge2"),
110 "devicebuttons/z_hinge2", 109 "devicebuttons/z_hinge2",
111 "QPE/Rotation", "rotateDefault()", 110 "QPE/Rotation", "rotateDefault()",0},
112 "QPE/Rotation", "rotateDefault()" },
113 { Qt::Key_F17, QT_TRANSLATE_NOOP("Button", "Hinge3"), 111 { Qt::Key_F17, QT_TRANSLATE_NOOP("Button", "Hinge3"),
114 "devicebuttons/z_hinge3", 112 "devicebuttons/z_hinge3",
115 "QPE/Rotation", "rotateDefault()", 113 "QPE/Rotation", "rotateDefault()",0},
116 "QPE/Rotation", "rotateDefault()" },
117}; 114};
118 115
119// FIXME This gets unnecessary complicated. We should think about splitting the Zaurus 116// FIXME This gets unnecessary complicated. We should think about splitting the Zaurus
120// class up into individual classes. We need three classes 117// class up into individual classes. We need three classes
121// 118//
122// Zaurus-Collie (SA-model w/ 320x240 lcd, for SL5500 and SL5000) 119// Zaurus-Collie (SA-model w/ 320x240 lcd, for SL5500 and SL5000)