summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-05-17 19:35:13 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-05-17 19:35:13 +0000
commit4209bffde9b7dc5044a0b293873347fe5734e908 (patch)
tree297b3e42371bd9afcf9fbaa6d966194b2b7d7491 /packages
parent7796ab57629eea6758442d37518d6eaee97268dd (diff)
qte/libopie2: add some patches to fix cursor key rotation. Closes 3678.
Diffstat (limited to 'packages')
-rw-r--r--packages/libopie/libopie2/remove_h2200_rotate_fix.patch15
-rw-r--r--packages/qte/qte-2.3.10/disable-dup-rotation.patch13
2 files changed, 28 insertions, 0 deletions
diff --git a/packages/libopie/libopie2/remove_h2200_rotate_fix.patch b/packages/libopie/libopie2/remove_h2200_rotate_fix.patch
new file mode 100644
index 0000000000..cef436f2f7
--- /dev/null
+++ b/packages/libopie/libopie2/remove_h2200_rotate_fix.patch
@@ -0,0 +1,15 @@
+--- libopie2/opiecore/device/odevice_ipaq.cpp 25 Jul 2007 10:49:20 -0000 1.32
++++ libopie2/opiecore/device/odevice_ipaq.cpp 17 Mar 2007 22:08:43 -0000 1.30
+@@ -330,12 +330,6 @@
+ case Rot180: quarters = 1/*270deg*/; break;
+ case Rot270: quarters = 0/*270deg*/; break;
+ }
+- if( d->m_model == Model_iPAQ_H22xx ) {
+- // FIXME: there's something screwed with the keycodes being sent on h2200. I have
+- // added a temporary workaround for this here, but the bug should be fixed properly
+- // later in the right place. - Paul Eggleton 25/07/2007
+- quarters = 0;
+- }
+ newkeycode = Key_Left + ( keycode - Key_Left + quarters ) % 4;
+ break;
+ }
diff --git a/packages/qte/qte-2.3.10/disable-dup-rotation.patch b/packages/qte/qte-2.3.10/disable-dup-rotation.patch
new file mode 100644
index 0000000000..ae2332c5f0
--- /dev/null
+++ b/packages/qte/qte-2.3.10/disable-dup-rotation.patch
@@ -0,0 +1,13 @@
+--- qte/src/kernel/kernelkeyboard.cpp 2008-04-04 11:07:42.000000000 +0100
++++ qte/src/kernel/kernelkeyboard.cpp 2008-04-04 11:07:45.000000000 +0100
+@@ -627,8 +627,8 @@
+ case Qt::Key_Down:
+ unicode = 0xffff;
+ mod_key = false;
+- if (qt_screen->isTransformed())
+- qtKeyCode = static_cast<Qt::Key>( xform_dirkey(static_cast<int>( qtKeyCode ) ) );
++// if (qt_screen->isTransformed())
++// qtKeyCode = static_cast<Qt::Key>( xform_dirkey(static_cast<int>( qtKeyCode ) ) );
+ break;
+ /*
+ * handle lock, we don't handle scroll lock!