Hey all .. i wanted to k开发者_开发知识库now, 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 ?
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.
精彩评论