]> pilppa.org Git - familiar-h63xx-build.git/blobdiff - org.handhelds.familiar/packages/libopie/libopie2/h2200-keys.patch
libopie2: remove remove duplicate code from h2200-keys.patch.
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / libopie / libopie2 / h2200-keys.patch
index 493ecefcea78bcf697e7c4c249e0358ce2146d46..2f718b3d59b2eb690596803159c4bb2b1dde4630 100644 (file)
@@ -1,21 +1,26 @@
 --- 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 @@
++++ libopie2/opiecore/device/odevice_ipaq.cpp  2006-07-27 11:47:04.000000000 +0200
+@@ -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_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x | Model_iPAQ_H22xx,
+     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_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x | Model_iPAQ_H22xx,
+     Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"),
+     "devicebuttons/ipaq_contact",
+     "addressbook", "raise()",
+@@ -127,6 +127,18 @@
      "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()",