On 05/09/11 15:12, ext Gabriel M. Beddingfield wrote:

I need to add right-click support from the touchscreen to
the application at the OS-level (i.e. not having to patch
applications).  Does anyone know how to go about
implementing that?

It looks like I need to patch mcompositor to put in some
kind of filter that will recognize the "right click gesture"
and then send the appropriate events to the application's
window.

Normally, MCompositor does not receive button events at all: applications receive the button events directly from the X server.

If you want to add some kind of right click event, you need to modify Qt or Libmeegotouch to recognize the gesture and generate the respective application-level Qt event.

QGesture may or may not be relevant:
http://doc.qt.nokia.com/4.6/qgesture.html

-Kimmo


Thanks,
Gabriel
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to