Keys

From OESF

(Difference between revisions)
Jump to: navigation, search
(remove gibberish)
Current revision (21:20, 8 October 2007) (edit) (undo)
m (Reverted edits by 201.12.178.33 (Talk); changed back to last version by Tux)
 

(One intermediate revision not shown.)


Current revision

How to utilize the keys on the Zaurus.

QPEApplication::grabKeyboard()
QPEApplication::ungrabKeyboard()

After you grab the keyboard you can not open a child widget for the applicaiton might now ungrab the keyboard on exit. Calling grab, then ungrab at the end of the app has been reported with semi success.
keyEvent()

Activity Qt::Key_F9
Contacts Qt::Key_F10
Home Qt::Key_F12
Menu Qt::Key_F11
Mail Qt::Key_F13
Select Qt::Key_Space
The directional keys are all rotated 270 degrees.
Left Qt::Key_Up
Up Qt::Key_Right
Down Qt::Key_Left
Right Qt::Key_Down
Cancel Qt::Key_Escape

For a complete listing of all of the keys, see the following documents:
keycode's for Qt - http://www.oesf.org/howto/downloads/keycode_qt.pdf
keycode's for Java - http://www.oesf.org/howto/downloads/keycode_java.pdf

Personal tools