Zaurus Keycodes

From OESF

Jump to: navigation, search

Zaurus Keycodes

Under Qtopia key presses can be detected using keycodes defined in QT by the likes of Key_Left for the left cursor key. Some of the keycodes for the special Zaurus keys are given in the table below.

Zaurus Keycodes
Keyboard Key Code
OK 4100
Cancel 4096
Jog wheel up 4117
Jog wheel down 4115
Fn 4165
Tab 4097
BS 4099
Enter 4100
Left arrow 4114
Right arrow 4116
Up arrow 4115
Down arrow 4117
Shift 4128
Fn+U 162
Fn+D 165

The function key generates a key press and release event code of its own. Combinations create other values.

Note that on the SL-C750 the keyrelease code for the OK key is 4176.

Most other codes seem to relate to their ASCII code, e.g. A=65, B=66

Personal tools