tags:

views:

92

answers:

2

Hey all .. i wanted to know, in C++/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 ?

+1  A: 

maybe this can help http://doc.qt.nokia.com/4.6/qtouchevent-touchpoint.html

Olorin
A: 

Its very much possible to get pressure data. In GTK/GDK you register for all extension events with gtk_widget_set_extension_events()

gtk_widget_set_extension_events(widget, GDK_EXTENSION_EVENTS_ALL);

and you will start receiving move/pressure events as well. The link Olorin posted could be the Qt interface for the same, but I haven't used it so cannot say for sure.

Tuminoid