From: Rene Wagner Date: Thu, 27 Jul 2006 09:48:28 +0000 (+0200) Subject: libopie2: add mappings for h2200 device buttons based on a patch courtesy of Marcos... X-Git-Tag: familiar-v0.8.4-rc4~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a5f44762c791daeb4ead1140b2e05e94e2cc0cf9;p=familiar-h63xx-build.git libopie2: add mappings for h2200 device buttons based on a patch courtesy of Marcos "Japa" Umino. Signed-off-by: Rene Wagner --- 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"