hi, is possible to disable the swipe gesture in fullscreen game? how can i do this?
thanks
hi, is possible to disable the swipe gesture in fullscreen game? how can i do this?
thanks
Yes, it is possible to disable if your application really requires it
https://www.developer.nokia.com/swip...ll_Screen.html
Unfortunately, I do not yet know myself how to exactly do that :-(
Hartti
If you're using QWidget based UI you can take an example from here: https://qt.gitorious.org/qt-componen...e_requests/789
The void MDeclarativeScreen::setAllowSwipe(bool enabled) function explains it quite well ;-)
That request seems to be on main branch, so if you're using QML you could just use that enableswipe function.
If you're using QWidget based UIs you could take an example from https://qt.gitorious.org/qt-componen...e_requests/789
void MDeclarativeScreen::setAllowSwipe(bool enabled) function explains quite well how the swite can be disabled.
That merge seems to be on mainbranch atm. so if you you're using QML you could just use the feature from there.
Last edited by divanov; 2011-07-15 at 08:21.
I also tried capturing the swipe, and accepting the event, but the OS takes the swipe event before QWidget
Last edited by summeli; 2011-07-15 at 17:19.
You might be able to catch the swipe event the same way it is done in libmeegotouch
http://meego.gitorious.org/meegotouc...pplication.cpp
See lines 464-493
No, I do not know anything more about this. This is way over my head :-)
Hartti