summaryrefslogtreecommitdiff
path: root/qte/qte-2.3.7
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2004-09-21 19:16:12 +0000
committerHolger Freyther <zecke@selfish.org>2004-09-21 19:16:12 +0000
commit7de6c3ee3f5ed88682b2c0a47f552bde7383c4de (patch)
treec7342b667d13691e65115f7c2402048bdb4b2713 /qte/qte-2.3.7
parent0e35ac022f9b29f977501d82540e7e9a8ebe2070 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into handhelds.org:/home/ich/programming/oe/oe-packages-exported 2004/09/21 21:15:28+02:00 handhelds.org!zecke The last missing s/1.1.5-cvs/1.1.6-cvs replacement for Opie Packages 2004/09/21 21:07:01+02:00 handhelds.org!zecke Beagle Runtime Updates to make suspend/resume work, and Opie BKrev: 41507dfcCWRO89hr02rLbWeCVQSOag
Diffstat (limited to 'qte/qte-2.3.7')
-rw-r--r--qte/qte-2.3.7/beagle.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/qte/qte-2.3.7/beagle.patch b/qte/qte-2.3.7/beagle.patch
index e69de29bb2..88c3f94c1c 100644
--- a/qte/qte-2.3.7/beagle.patch
+++ b/qte/qte-2.3.7/beagle.patch
@@ -0,0 +1,45 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- qt-2.3.7/src/kernel/qkeyboard_qws.cpp~beagle.patch
++++ qt-2.3.7/src/kernel/qkeyboard_qws.cpp
+@@ -350,6 +350,11 @@
+ { Qt::Key_F12, 0xffff , 0xffff , 0xffff },
+ { Qt::Key_unknown, 0xffff , 0xffff , 0xffff },
+ { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, // 90
++#ifdef QT_QWS_BEAGLE
++ { Qt::Key_F13, 0xffff, 0xffff, 0xffff }, // lightning
++ { Qt::Key_Up, 0xffff, 0xffff, 0xffff }, // Wheel Up
++ { Qt::Key_Down, 0xffff, 0xffff, 0xffff }, // Wheel Down
++#endif
+ { 0, 0xffff , 0xffff , 0xffff }
+ };
+ #endif
+@@ -406,7 +411,7 @@
+ qwsServer->processKeyEvent( unicode, keycode, modifiers, isPress, autoRepeat );
+ }
+
+-#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX)
++#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_BEAGLE)
+ #define QT_QWS_AUTOREPEAT_MANUALLY
+ #endif
+
+@@ -791,13 +796,15 @@
+ bool repeatable = TRUE;
+
+ #if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) && !defined(QT_QWS_CUSTOM)
++#warning "Compiling in Keyboard code"
+ switch (code) {
+ case 0x7a: case 0x7b: case 0x7c: case 0x7d:
+ keyCode = code - 0x7a + Key_F9;
+ repeatable = FALSE;
+ break;
+ case 0x79:
+- keyCode = Key_SysReq;
++ qWarning("Keyboard Power Button activated!");
++ keyCode = Key_F34; // Power Button on Beagle
+ repeatable = FALSE;
+ break;
+ case 0x78: