diff options
author | Rene Wagner <rw@handhelds.org> | 2006-07-27 11:48:28 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-07-27 11:48:28 +0200 |
commit | a5f44762c791daeb4ead1140b2e05e94e2cc0cf9 (patch) | |
tree | 08193cf262303549d2c4da34e2e9ce317d01ac4a | |
parent | f09246f2bc470070521046c5604913bfdbdd8151 (diff) |
libopie2: add mappings for h2200 device buttons based on a patch courtesy of Marcos "Japa" Umino.
Signed-off-by: Rene Wagner <rw@handhelds.org>
-rw-r--r-- | org.handhelds.familiar/packages/libopie/libopie2/h2200-keys.patch | 31 | ||||
-rw-r--r-- | org.handhelds.familiar/packages/libopie/libopie2_1.2.1.bb | 3 |
2 files changed, 33 insertions, 1 deletions
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 index 0000000..493ecef --- /dev/null +++ b/org.handhelds.familiar/packages/libopie/libopie2/h2200-keys.patch @@ -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) diff --git a/org.handhelds.familiar/packages/libopie/libopie2_1.2.1.bb b/org.handhelds.familiar/packages/libopie/libopie2_1.2.1.bb index f78ebfe..97b4684 100644 --- a/org.handhelds.familiar/packages/libopie/libopie2_1.2.1.bb +++ b/org.handhelds.familiar/packages/libopie/libopie2_1.2.1.bb @@ -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" |