-rw-r--r-- | qt/qte232-for-qpe150-keyboard.patch | 9 |
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 @@ -112,41 +112,32 @@ + /* + 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; } |