Playing with my Palm Pre phone. I want to detect the user tapping in the gesture area (the area directly below the screen). How do I do that?
I haven't found anything obvious in the framework API's or service API's.
Playing with my Palm Pre phone. I want to detect the user tapping in the gesture area (the area directly below the screen). How do I do that?
I haven't found anything obvious in the framework API's or service API's.
I found this page, which describes capturing gesture-area inputs using the SDL_PollEvent method in the Plug-in Development Kit (PDK):
Unfortunately, I haven't figured out how to use the PDK yet...
You can check mojo-keydown and -keyup - code 57575. Try the APIs sample, Input, Key Presses section.
The gesture area is treated as the metaKey
modifier on tap and key events. Listen for Mojo.Event.tap
anywhere on the page, rest your finger on the gesture area, and then tap where you are listening. The event should have event.metaKey
set to true
.