From 8e5d27f4155e38d8278161c29b2d721a1de44430 Mon Sep 17 00:00:00 2001 From: alwin Date: Tue, 15 Mar 2005 18:58:53 +0000 Subject: 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. --- 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 @@ -104,16 +104,13 @@ struct z_button z_buttons_c700 [] = { { 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 -- cgit v0.9.0.2