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-27 11:47:04.000000000 +0200
4 #define FLITE_ON OD_IOW( 'f', 7, FLITE_IN )
6 struct i_button ipaq_buttons [] = {
7 - { Model_iPAQ_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x,
8 + { Model_iPAQ_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x | Model_iPAQ_H22xx,
9 Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"),
10 "devicebuttons/ipaq_calendar",
11 "datebook", "nextView()",
13 - { Model_iPAQ_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x,
14 + { Model_iPAQ_H31xx | Model_iPAQ_H36xx | Model_iPAQ_H37xx | Model_iPAQ_H38xx | Model_iPAQ_H39xx | Model_iPAQ_H5xxx | Model_iPAQ_H191x | Model_iPAQ_H22xx,
15 Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"),
16 "devicebuttons/ipaq_contact",
17 "addressbook", "raise()",
19 "QPE/VMemo", "toggleRecord()",
22 + //h2200 has different button mapping
24 + Qt::Key_NumLock, QT_TRANSLATE_NOOP("Button", "Mail Button"),
25 + "devicebuttons/ipaq_mail",
26 + "opiemail", "raise()",
27 + "opiemail", "newMail()" },
29 + Qt::Key_ScrollLock, QT_TRANSLATE_NOOP("Button", "Menu Button"),
30 + "devicebuttons/ipaq_menu",
31 + "QPE/TaskBar", "toggleMenu()",
32 + "QPE/TaskBar", "toggleStartMenu()" },
36 void iPAQ::init(const QString& model)