Hi, what is the name and key code of the center key(or OK key) of the five-navi-key module?
I tested on emulator, it is not OKKey, nor EnterKey...
Regards,
Hi, what is the name and key code of the center key(or OK key) of the five-navi-key module?
I tested on emulator, it is not OKKey, nor EnterKey...
Regards,
Hushan,
Write a small program for create a control.....and catch all Keys code ....center key or navigation key code in OfferkeyEventL function...
and It'll also help you in future.
Also do remember that each key generates three events, down event, the key event, and up event.
hi, I did that, and I know the code, the captured code is a number, but I would like use the enum difined in e32keys.h, so I dont know which enum element is the center key.
Also it is possible that the numeric code is different among different phone models, I should use enum for potalbility, right?
No, There is no change in other phone also....
Enumerations are just named increasing numbers. If you know the number, you can find out if it is part of the enumeration.
Hi, I found the center navi key code is
iCode 63557 F845
iScanCode 167 A7
and the corresponding enum in e32keys.h is
enum TStdScanCode::EStdKeyDevice3=0xa7;
enum TKeyCode::EKeyDevice3=0xF845;
but is this the same among all s60 models? why the center key is called Device3 key?
And 1 and 2 are the left and right softkeys. It works this way starting from S60 1st edition, so it is most probably the same for all S60 models.