Diffstat (limited to 'libopie2/opiecore/device/odevice_ipaq.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice_ipaq.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_ipaq.cpp b/libopie2/opiecore/device/odevice_ipaq.cpp index 3cc6cec..52da2d9 100644 --- a/libopie2/opiecore/device/odevice_ipaq.cpp +++ b/libopie2/opiecore/device/odevice_ipaq.cpp @@ -152,4 +152,6 @@ void iPAQ::init(const QString& model) else if ( d->m_modelstr == "H1910" ) d->m_model = Model_iPAQ_H191x; + else if ( d->m_modelstr == "H1940" ) + d->m_model = Model_iPAQ_H1940; else d->m_model = Model_Unknown; @@ -163,4 +165,5 @@ void iPAQ::init(const QString& model) case Model_iPAQ_H22xx: case Model_iPAQ_H191x: + case Model_iPAQ_H1940: d->m_rotation = Rot0; break; @@ -301,5 +304,6 @@ bool iPAQ::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, b // add the offset to the Key_Left key if (( d->m_model == Model_iPAQ_H5xxx ) || - ( d->m_model == Model_iPAQ_H191x )) + ( d->m_model == Model_iPAQ_H191x ) || + ( d->m_model == Model_iPAQ_H1940 )) newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; break; @@ -403,4 +407,6 @@ int iPAQ::displayBrightnessResolution() const case Model_iPAQ_H191x: return 183; + case Model_iPAQ_H191x: + return 44; default: return 2; |