-rw-r--r-- | libopie2/opiecore/device/odevice_jornada.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libopie2/opiecore/device/odevice_jornada.cpp b/libopie2/opiecore/device/odevice_jornada.cpp index 526f9cb..759d6a3 100644 --- a/libopie2/opiecore/device/odevice_jornada.cpp +++ b/libopie2/opiecore/device/odevice_jornada.cpp @@ -61,69 +61,69 @@ #define OD_IOR(type,number,size) OD_IOC(2,type,number,sizeof(size)) #define OD_IORW(type,number,size) OD_IOC(3,type,number,sizeof(size)) typedef struct { unsigned char OffOnBlink; /* 0=off 1=on 2=Blink */ unsigned char TotalTime; /* Units of 5 seconds */ unsigned char OnTime; /* units of 100m/s */ unsigned char OffTime; /* units of 100m/s */ } LED_IN; typedef struct { unsigned char mode; unsigned char pwr; unsigned char brightness; } FLITE_IN; #define LED_ON OD_IOW( 'f', 5, LED_IN ) #define FLITE_ON OD_IOW( 'f', 7, FLITE_IN ) using namespace Opie::Core; using namespace Opie::Core::Internal; struct j_button jornada56x_buttons [] = { { Model_Jornada_56x, - Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Calendar Button"), + Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Calendar Button"), "devicebuttons/jornada56x_calendar", "datebook", "nextView()", "today", "raise()" }, { Model_Jornada_56x, - Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Contacts Button"), + Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Contacts Button"), "devicebuttons/jornada56x_contact", "addressbook", "raise()", "addressbook", "beamBusinessCard()" }, { Model_Jornada_56x, - Qt::Key_F14, QT_TRANSLATE_NOOP("Button", "Todo Button"), + Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Todo Button"), "devicebuttons/jornada56x_todo", "todolist", "raise()", "todolist", "create()" }, { Model_Jornada_56x, - Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Home Button"), + Qt::Key_F8, QT_TRANSLATE_NOOP("Button", "Home Button"), "devicebuttons/jornada56x_home", "QPE/Launcher", "home()", "buttonsettings", "raise()" }, { Model_Jornada_56x, - Qt::Key_F15, QT_TRANSLATE_NOOP("Button", "Record Button"), + Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Record Button"), "devicebuttons/jornada56x_record", "QPE/VMemo", "toggleRecord()", "sound", "raise()" }, }; void Jornada::init(const QString&) { d->m_vendorstr = "HP"; d->m_vendor = Vendor_HP; d->m_modelstr = "Jornada 56x"; d->m_model = Model_Jornada_56x; d->m_systemstr = "Familiar"; d->m_system = System_Familiar; d->m_rotation = Rot0; QFile f ( "/etc/familiar-version" ); f.setName ( "/etc/familiar-version" ); if ( f.open ( IO_ReadOnly )) { QTextStream ts ( &f ); d->m_sysverstr = ts.readLine().mid( 10 ); f. close(); } |