author | alwin <alwin> | 2005-03-15 18:58:53 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-15 18:58:53 (UTC) |
commit | 8e5d27f4155e38d8278161c29b2d721a1de44430 (patch) (unidiff) | |
tree | 5c55a30b907c7b422ea351fab5f4d401ecf4c53b | |
parent | cb3b52896e39a594fd7ba825abd95817349fb55f (diff) | |
download | opie-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.
-rw-r--r-- | libopie2/opiecore/device/odevice_zaurus.cpp | 9 |
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 | |||
@@ -103,18 +103,15 @@ struct z_button z_buttons_c700 [] = { | |||
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 |