summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-06-08 21:56:08 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-06-08 21:56:08 +0000
commit2ea812f90d27be025eeb2e2f053fdb5a3a787034 (patch)
treec90728adaefb94fb61edc8ac25d82f906940aaf6
parent529b13a490a1e7f8c1f8f1f5ae2248092af76e33 (diff)
parent3045a57f99f70307e155ed460525f9b38d9b8be3 (diff)
merge of '3b5424db9b8ce0b7d550ad80e57b9462b0de36f8'
and '779cae4a07162d76a1d0ec8366a1e35442716ab1'
-rw-r--r--packages/libopie/libopie2/ipaq_rotate_fix.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/libopie/libopie2/ipaq_rotate_fix.patch b/packages/libopie/libopie2/ipaq_rotate_fix.patch
new file mode 100644
index 0000000000..9dfdb4fbf7
--- /dev/null
+++ b/packages/libopie/libopie2/ipaq_rotate_fix.patch
@@ -0,0 +1,23 @@
+--- libopie2/opiecore/device/odevice_ipaq.cpp 2008-05-26 16:33:01.000000000 +0100
++++ libopie2/opiecore/device/odevice_ipaq.cpp 2008-05-26 16:33:40.000000000 +0100
+@@ -331,16 +331,10 @@
+ case Key_Down : {
+ int quarters;
+ switch (d->m_rotation) {
+- case Rot0: quarters = 3/*270deg*/; break;
+- case Rot90: quarters = 2/*270deg*/; break;
+- 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;
++ case Rot0: quarters = 0/*0deg*/; break;
++ case Rot90: quarters = 1/*90deg*/; break;
++ case Rot180: quarters = 2/*180deg*/; break;
++ case Rot270: quarters = 3/*270deg*/; break;
+ }
+ newkeycode = Key_Left + ( keycode - Key_Left + quarters ) % 4;
+ break;