![]() |
How can you detect the pressure with which the screen is pressed ?
Hey all .. i wanted to know, in Qt, how can one detect with how much pressure the screen is being pressed when a project is on the N900 ?.. Can anyone help me on this ?
|
Re: How can you detect the pressure with which the screen is pressed ?
I'm not sure if it's possible with the n900's screen, not with any kind of real accuracy anyway. However, you might want to check out http://doc.qt.nokia.com/4.6/qtouchevent-touchpoint.html and try pressure() it to see if it works.
Code:
qreal TouchPoint::pressure () const |
Re: How can you detect the pressure with which the screen is pressed ?
Doesn't one of the paint programs on here do that? Do a search for the announcements for the paint programs. I'm sure one of them gets this info somehow. It may not be available directly in QT, but if you know how to do it in another language maybe someone can write a device specific module for it?
|
Re: How can you detect the pressure with which the screen is pressed ?
The program is most likely mypaint. It detects pressure fairly well and is written in python. I think some wrote a small testing app/script for pressure.
good luck x |
Re: How can you detect the pressure with which the screen is pressed ?
Pressure reading should be very accurate if we had the software working...
The example script is here: https://bugs.maemo.org/show_bug.cgi?id=8435 There is a bug report on this - vote for it! |
All times are GMT. The time now is 19:22. |
vBulletin® Version 3.8.8