]> pilppa.com Git - familiar-h63xx-build.git/commitdiff
libopie2: add mappings for h2200 device buttons based on a patch courtesy of Marcos...
authorRene Wagner <rw@handhelds.org>
Thu, 27 Jul 2006 09:48:28 +0000 (11:48 +0200)
committerRene Wagner <rw@handhelds.org>
Thu, 27 Jul 2006 09:48:28 +0000 (11:48 +0200)
Signed-off-by: Rene Wagner <rw@handhelds.org>
org.handhelds.familiar/packages/libopie/libopie2/h2200-keys.patch [new file with mode: 0644]
org.handhelds.familiar/packages/libopie/libopie2_1.2.1.bb

diff --git a/org.handhelds.familiar/packages/libopie/libopie2/h2200-keys.patch b/org.handhelds.familiar/packages/libopie/libopie2/h2200-keys.patch
new file mode 100644 (file)
index 0000000..493ecef
--- /dev/null
@@ -0,0 +1,31 @@
+--- libopie2/opiecore/device/odevice_ipaq.cpp.orig     2006-07-26 20:26:54.000000000 +0200
++++ libopie2/opiecore/device/odevice_ipaq.cpp  2006-07-26 22:33:11.000000000 +0200
+@@ -127,6 +127,28 @@
+     "QPE/VMemo", "toggleRecord()",
+     "sound", "raise()" },
++    //h2200 has different button mapping
++    { Model_iPAQ_H22xx,
++    Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"),
++    "devicebuttons/ipaq_calendar",
++    "datebook", "nextView()",
++    "today", "raise()" },
++    { Model_iPAQ_H22xx,
++    Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"),
++    "devicebuttons/ipaq_contact",
++    "addressbook", "raise()",
++    "addressbook", "beamBusinessCard()" },
++    { Model_iPAQ_H22xx,
++    Qt::Key_NumLock, QT_TRANSLATE_NOOP("Button", "Mail Button"),
++    "devicebuttons/ipaq_mail",
++    "opiemail", "raise()",
++    "opiemail", "newMail()" },
++    { Model_iPAQ_H22xx,
++    Qt::Key_ScrollLock, QT_TRANSLATE_NOOP("Button", "Menu Button"),
++    "devicebuttons/ipaq_menu",
++    "QPE/TaskBar", "toggleMenu()",
++    "QPE/TaskBar", "toggleStartMenu()" },
++
+ };
+ void iPAQ::init(const QString& model)
index f78ebfefe82b9e19d276cc28f617ecaf72c4428b..97b4684f06ba94a37fb6301d29b3fd988e86df44 100644 (file)
@@ -1,9 +1,10 @@
 include ${PN}.inc
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/libopie2 \
           file://openzaurus-branding.patch;patch=1 \
           file://prelim-h191x-hx4700-supp.patch;patch=1;pnum=2 \
           file://ipaq-2.6-sys-class-backlight-support.patch;patch=1 \
+          file://h2200-keys.patch;patch=1 \
            file://include.pro"