summaryrefslogtreecommitdiff
path: root/packages/libopie/libopie2
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/libopie/libopie2
parent7796ab57629eea6758442d37518d6eaee97268dd (diff)
qte/libopie2: add some patches to fix cursor key rotation. Closes 3678.
Diffstat (limited to 'packages/libopie/libopie2')
-rw-r--r--packages/libopie/libopie2/remove_h2200_rotate_fix.patch15
1 files changed, 15 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;
+ }