]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/libopie/libopie2/h2200-keys.patch
493ecefcea78bcf697e7c4c249e0358ce2146d46
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / libopie / libopie2 / h2200-keys.patch
1 --- libopie2/opiecore/device/odevice_ipaq.cpp.orig      2006-07-26 20:26:54.000000000 +0200
2 +++ libopie2/opiecore/device/odevice_ipaq.cpp   2006-07-26 22:33:11.000000000 +0200
3 @@ -127,6 +127,28 @@
4      "QPE/VMemo", "toggleRecord()",
5      "sound", "raise()" },
6  
7 +    //h2200 has different button mapping
8 +    { Model_iPAQ_H22xx,
9 +    Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"),
10 +    "devicebuttons/ipaq_calendar",
11 +    "datebook", "nextView()",
12 +    "today", "raise()" },
13 +    { Model_iPAQ_H22xx,
14 +    Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"),
15 +    "devicebuttons/ipaq_contact",
16 +    "addressbook", "raise()",
17 +    "addressbook", "beamBusinessCard()" },
18 +    { Model_iPAQ_H22xx,
19 +    Qt::Key_NumLock, QT_TRANSLATE_NOOP("Button", "Mail Button"),
20 +    "devicebuttons/ipaq_mail",
21 +    "opiemail", "raise()",
22 +    "opiemail", "newMail()" },
23 +    { Model_iPAQ_H22xx,
24 +    Qt::Key_ScrollLock, QT_TRANSLATE_NOOP("Button", "Menu Button"),
25 +    "devicebuttons/ipaq_menu",
26 +    "QPE/TaskBar", "toggleMenu()",
27 +    "QPE/TaskBar", "toggleStartMenu()" },
28 +
29  };
30  
31  void iPAQ::init(const QString& model)