Re: Re: Detection of Palm TX' buttons
Michael 'Mickey' Lauer <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Organization | Institute of Computer Science, University of Frankfurt |
| Message-ID | <[email protected]> |
> By looking at what's happening I was oriented in believing that probably the input channel is not recognized, but very > likely I'm compretely wrong. Opie (Qt/Embedded to be exact) doesn't read via the input subsystem, but through the tty. To make our buttons work easily, we have them mapped (either in the kernel drivers or via kernel console map) to F-keys. This is what I recommend. If you can't do that for whatever reason, then you have another option, which is to open up your event source (i.e. /dev/input/event0) and listen in the ODevice abstraction for your button events. When they come in, you have to translate them into Qt keycodes and inject them into the Qt event loop. -- Regards, Mickey. ------------------------------------------------------------------ Dipl.-Inf. Michael 'Mickey' Lauer <[email protected]> ------------------------------------------------------------------ _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel