|
Anyview use Virtual key for action. you can modify keymap.
ps: unused key assign to -99999
| Area |
VirtualKey |
Memo |
| Navigation key: navigation key role is the completion of the basic operation, in general, all operations only need these key (return key and delete key is not necessarily required) |
VKEY_RELEASE |
unsed |
| VKEY_NONE |
|
| VKEY_UP |
up |
| VKEY_DOWN |
down |
| VKEY_LEFT |
left |
| VKEY_RIGHT |
right |
| VKEY_FIRE |
ok |
| VKEY_LSOFT |
left soft key |
| VKEY_RSOFT |
right soft key |
| VKEY_RETURN |
return key |
| VKEY_DELETE |
delete key |
| The number keys: usually used as a shortcut, the majority of cases, 2/8/4/6/5 / * / # can replace the joystick in the up / down / left / right / confirmation / left softkey / right softkey in the menu, press the corresponding number keys can perform the functions of the menu. Some of the number keys in a particular case will be defined as shortcuts. |
VKEY_NUM0 |
|
| VKEY_NUM1 |
|
| VKEY_NUM2 |
|
| VKEY_NUM3 |
|
| VKEY_NUM4 |
|
| VKEY_NUM5 |
|
| VKEY_NUM6 |
|
| VKEY_NUM7 |
|
| VKEY_NUM8 |
|
| VKEY_NUM9 |
|
| VKEY_STAR |
* |
| VKEY_POUND |
# |
| Function keys: this part is key part of mobile phones in some mobile phones, there are not many conventional keyboard keys, so, in order to facilitate the operation, this part of the definition of additional keys, and its functions as a navigation button |
VKEY_USER1 |
up |
| VKEY_USER2 |
down |
| VKEY_USER3 |
left |
| VKEY_USER4 |
right |
| VKEY_USER5 |
ok |
| VKEY_USER6 |
right |
example, see jar:///keymap/NOKIA.rc
VKEY_RELEASE = -99999
VKEY_NONE = 0
VKEY_UP = -1
VKEY_DOWN = -2
VKEY_LEFT = -3
VKEY_RIGHT = -4
VKEY_FIRE = -5
VKEY_LSOFT = -6
VKEY_RSOFT = -7
VKEY_RETURN = -11
VKEY_DELETE = -8
VKEY_NUM0 = 48
VKEY_NUM1 = 49
VKEY_NUM2 = 50
VKEY_NUM3 = 51
VKEY_NUM4 = 52
VKEY_NUM5 = 53
VKEY_NUM6 = 54
VKEY_NUM7 = 55
VKEY_NUM8 = 56
VKEY_NUM9 = 57
VKEY_STAR = 42
VKEY_POUND = 35
VKEY_USER1 = -30
VKEY_USER2 = -31
if you want to use volumn key +- trun page, you can add/modify()
VKEY_USER3 = -30
VKEY_USER4 = -31
|