Patch for opie-keypebble, enter key

Sybren Stüvel <[email protected]>
Newsgroups gmane.comp.handhelds.opie.devel
Message-ID <[email protected]>
Hi folks,

Opie-keypebble has an issue on my Zaurus SL-C3000 using OpenZaurus
3.5.4.1. It is unable to send the correct code for the Enter key.
Below you find a patch against opie-keypebble_1.2.1. I'm not sure
whether it's already fixed in CVS, but I thought I'd send it anyway
just to make sure. I have tested it on my Zaurus SL-C3000 and it works
great. Credit go to Jason Haslup, see
http://www.handhelds.org/hypermail/opie/113/11373.html.

Index: keypebble/krfbdecoder.cpp
===================================================================
--- keypebble.orig/krfbdecoder.cpp      2006-08-11 13:26:02.000000000 +0200
+++ keypebble/krfbdecoder.cpp   2006-08-11 13:26:28.000000000 +0200
@@ -73,6 +73,7 @@
     { 0xff08, Qt::Key_Backspace },
     { 0xff09, Qt::Key_Tab       },
     { 0xff0d, Qt::Key_Return    },
+    { 0xff0d, Qt::Key_Enter     },
     { 0xff1b, Qt::Key_Escape    },
     { 0xff63, Qt::Key_Insert    },
     { 0xffff, Qt::Key_Delete    },

Greetings,
-- 
Sybren Stüvel, B.Sc.
Stüvel IT
http://www.stuvel.eu/

_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel
signature.asc (application/pgp-signature, 191 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFE4uokNIPvGICzDyQRAmAPAJ4xIFCtvVD68kJSa73Fl+Lk/J3WfQCfTWQX
0wQz4d/zJKv1vw8ZpPwhGMA=
=+sor
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.