]> pilppa.org Git - familiar-h63xx-build.git/commitdiff
libopie2: add initial support for cal, contacts, mail, home and record buttons on...
authorErik Hovland <erik@hovland.org>
Tue, 1 Aug 2006 21:09:38 +0000 (23:09 +0200)
committerRene Wagner <rw@handhelds.org>
Tue, 1 Aug 2006 21:09:38 +0000 (23:09 +0200)
Signed-off-by: Rene Wagner <rw@handhelds.org>
org.handhelds.familiar/packages/libopie/libopie2/hx4700-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/hx4700-keys.patch b/org.handhelds.familiar/packages/libopie/libopie2/hx4700-keys.patch
new file mode 100644 (file)
index 0000000..f590a7d
--- /dev/null
@@ -0,0 +1,40 @@
+--- libopie2/opiecore/device/odevice_ipaq.cpp.fam-0.8.4-rc3    2006-07-27 16:18:55.804898062 -0700
++++ libopie2/opiecore/device/odevice_ipaq.cpp  2006-07-27 16:15:28.425537618 -0700
+@@ -85,12 +85,12 @@
+ #define FLITE_ON  OD_IOW( 'f', 7, FLITE_IN )
+ struct i_button ipaq_buttons [] = {
+-    { Model_iPAQ_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x | Model_iPAQ_H22xx,
++    { Model_iPAQ_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x | Model_iPAQ_H22xx | Model_iPAQ_HX4700,
+     Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"),
+     "devicebuttons/ipaq_calendar",
+     "datebook", "nextView()",
+     "today", "raise()" },
+-    { Model_iPAQ_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x | Model_iPAQ_H22xx,
++    { Model_iPAQ_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x | Model_iPAQ_H22xx | Model_iPAQ_HX4700,
+     Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"),
+     "devicebuttons/ipaq_contact",
+     "addressbook", "raise()",
+@@ -138,6 +138,22 @@
+     "devicebuttons/ipaq_menu",
+     "QPE/TaskBar", "toggleMenu()",
+     "QPE/TaskBar", "toggleStartMenu()" },
++    // and hx4700 has different button mapping still
++    { Model_iPAQ_HX4700,
++    Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Mail Button"),
++    "devicebuttons/ipaq_mail",
++    "opiemail", "raise()",
++    "opiemail", "newMail()" },
++    { Model_iPAQ_HX4700,
++    Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Record Button"),
++    "devicebuttons/ipaq_record",
++    "QPE/VMemo", "toggleRecord()",
++    "sound", "raise()" },
++    { Model_iPAQ_HX4700,
++    Qt::Key_Home, QT_TRANSLATE_NOOP("Button", "Home Button"),
++    "devicebuttons/ipaq_home",
++    "QPE/Launcher", "home()",
++    "buttonsettings", "raise()" },
+ };
index c5533ed446bc655be936b80519e89dd243c3c9e6..42250c7100a9bfb368459de5646724f045e6b8c3 100644 (file)
@@ -1,10 +1,11 @@
 include ${PN}.inc
 
-PR = "r5"
+PR = "r6"
 
 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://hx4700-keys.patch;patch=1;pnum=0 \
            file://include.pro"