[oe-commits] org.oe.dev qte/libopie2: add some patches to fix cursor key rotation. Closes 3678.

Laibsch commit oe at amethyst.openembedded.net
Sat May 17 19:39:20 UTC 2008


qte/libopie2: add some patches to fix cursor key rotation.  Closes 3678.

Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: 011ea838b318e8da2d5c0f2a9d9a8a41c2096ceb
ViewMTN: http://monotone.openembedded.org/revision/info/011ea838b318e8da2d5c0f2a9d9a8a41c2096ceb
Files:
1
packages/libopie/libopie2/remove_h2200_rotate_fix.patch
packages/qte/qte-2.3.10/disable-dup-rotation.patch
Diffs:

#
# mt diff -r77bddad5a15eedb425a97612fb10888da47c7b19 -r011ea838b318e8da2d5c0f2a9d9a8a41c2096ceb
#
#
#
# add_file "packages/libopie/libopie2/remove_h2200_rotate_fix.patch"
#  content [971d8c3bbb6ab648db8f29cf5425c85557416af6]
# 
# add_file "packages/qte/qte-2.3.10/disable-dup-rotation.patch"
#  content [f90a467431d9bde1ffae27ccf563cfdeed54691e]
#
============================================================
--- packages/libopie/libopie2/remove_h2200_rotate_fix.patch	971d8c3bbb6ab648db8f29cf5425c85557416af6
+++ packages/libopie/libopie2/remove_h2200_rotate_fix.patch	971d8c3bbb6ab648db8f29cf5425c85557416af6
@@ -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;
+         }
============================================================
--- packages/qte/qte-2.3.10/disable-dup-rotation.patch	f90a467431d9bde1ffae27ccf563cfdeed54691e
+++ packages/qte/qte-2.3.10/disable-dup-rotation.patch	f90a467431d9bde1ffae27ccf563cfdeed54691e
@@ -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!






More information about the Openembedded-commits mailing list