Re: Controlling Opie with a keypad
Lorn Potter <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Message-ID | <[email protected]> |
Gary Richards wrote: > Hi, > > I've been trying to work out whether it's possible to control Opie with > key presses from a keypad on a mobile phone. I've been creating a system > using the OpenEmbedded project, but I cannot seem to get key presses to > work within Opie. > > As I understand it, Qt Embedded can support navigation between widgets > if it is compile using -qconfig qpe -keypad-mode, I have tried this yet > still I seem to get no response. > > I found some documentation on the Qt Embedded website about how Qt/E 2.2 > expects specific key codes to trigger events within Qt/E. This is the > most recent documentation that I could find, which was slightly worrying > as the version of Qt/E being compiled within OE is 2.3.10. However, I > got the guys that are working on the kernel side of this project to > modify the output of some of the keys on the keypad to some of the > values in the document mentioned above, but still I get nothing within > Opie. > > I have even tried enabling VNC and starting Opie so that I can connect > to it with VNC, I then started the opie-keyview program, but I seem to > get nothing output by the program other than 5 labelled text boxees. I > also seem to get no output within opie-keyview if I press keys on the > host that I am using for the VNC session (I assume this should be > generating something within opie-keyview?). > > My main question is, is it possible to control Opie from a keypad if I > enable keypad-mode for qpe? If so, does anyone have any idea what I may > be doing wrong? keypad mode is specific to Qtopia Phone, and only enables key presses such as: Key_Menu, Key_Back, Key_Yes, Key_No, Key_Call, Key_Hangup, Key_Select, Key_Context1, Key_Context2, Key_Context3, Key_Context4 The applications in opie have not been modified to handle these. _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel