Re: How to get pen pressure under Opie?
Holger Freyther <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 06.12.2005 um 12:40 schrieb Frederic Devernay: > Holger, > > PetitePainture uses a patched kernel that has a duplicate > touchscreen device. that is bad. > I wanted to add a portable way of getting pen pressure for > inclusion in the OE version of PetitePainture... I fear without changing Qt in a binary incompatible way ( -really really incompatible ) we can not solve this problem in a generic way. QMouseEvent would have to carry a pressure field. Doing this would even require changing some bits of the QWS protocol (in the worst case). Other non too portable possibilities: Open tslib yourself and read the pressure from the event. This is not even close to portability though, I sadly I have no better options to name for now. We should at least mail Trolltech so they can consider adding it to QtE4.1. regards holger _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel