summaryrefslogtreecommitdiff
authorsandman <sandman>2002-06-02 01:21:42 (UTC)
committer sandman <sandman>2002-06-02 01:21:42 (UTC)
commit385a3d8034003a412fa73840bf985582bf6b4547 (patch) (side-by-side diff)
treef88cd73678cd7d350a8c0ea71fb8cb95da27e178
parent0028521ebd7e96651e41dd7df325def8c8f4b63b (diff)
downloadopie-385a3d8034003a412fa73840bf985582bf6b4547.zip
opie-385a3d8034003a412fa73840bf985582bf6b4547.tar.gz
opie-385a3d8034003a412fa73840bf985582bf6b4547.tar.bz2
Patch to remove unneeded hunk from diff - sideeffect: The diff is useable
with both stock 2.3.2 and 2.3.3pre
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--qt/qte232-for-qpe150-keyboard.patch9
1 files changed, 0 insertions, 9 deletions
diff --git a/qt/qte232-for-qpe150-keyboard.patch b/qt/qte232-for-qpe150-keyboard.patch
index 5e212e9..597703a 100644
--- a/qt/qte232-for-qpe150-keyboard.patch
+++ b/qt/qte232-for-qpe150-keyboard.patch
@@ -80,75 +80,66 @@
+ keyCode = Qt::Key_Super_L;
+ break;
+ case 0x5c:
+ keyCode = Qt::Key_Super_R;
+ break;
+ case 0x5d:
+ keyCode = Qt::Key_Menu;
+ break;
+ }
+ } else if (extended == 2) {
+ switch (code) {
+ case 0x1d:
+ return;
+ case 0x45:
+ keyCode = Qt::Key_Pause;
+ break;
}
} else {
#if defined(QT_QWS_CUSTOM)
@@ -647,6 +687,7 @@
repeatable = FALSE;
break;
case 0x60:
+ ipaq_return_pressed = !release;
keyCode = Key_Return;
break;
case 0x67:
@@ -684,13 +725,19 @@
else
repeater->stop();
#endif
+
+ /*
+ Translate shift+Key_Tab to Key_Backtab
+ */
+ if (( keyCode == Key_Tab ) && shift )
+ keyCode = Key_Backtab;
}
/*
Keypad consists of extended keys 53 and 28,
and non-extended keys 55 and 71 through 83.
*/
- if ( extended ? (code == 53 || code == 28) :
+ if ((extended == 1) ? (code == 53 || code == 28) :
(code == 55 || ( code >= 71 && code <= 83 )) )
keypad = Qt::Keypad;
-@@ -751,7 +798,7 @@
- bool bShift = shift;
- int unicode = 0;
- if (code < keyMSize) {
-- if (!extended) {
-+ if (extended == 0) {
- bool bCaps = caps ^ shift;
- #if defined(QT_QWS_CUSTOM)
- if (fn) {
@@ -790,7 +837,7 @@
unicode = QWSServer::keyMap()[code].shift_unicode ? QWSServer::keyMap()[code].shift_unicode : 0xffff;
else
unicode = QWSServer::keyMap()[code].unicode ? QWSServer::keyMap()[code].unicode : 0xffff;
- } else {
+ } else if (extended == 1) {
if ( code == 53 )
unicode = '/';
}
@@ -816,7 +863,7 @@
prevkey = prevuni = 0;
}
}
- extended = false;
+ extended = 0;
}