Note that QML KeyEvents don't expose the nativeVirtualCode like QKeyEvent does 
(so you'd also need to see the mappings in qkeymapper_s60.cpp to translate from 
the Symbian key code to the Qt key code).

I'd guess the keys in the image correspond to:
Key_Context1
Key_Context2
Key_Call
Key_Hangup
Key_Select
Key_Left/Right/Up/Down

>From the mapping file it doesn't look like all Symbian key codes get mapped to 
>Qt key codes. Maybe we should be exposing nativeVirtualCode in QML?

Regards,
Michael

On 10/08/2010, at 12:42 AM, ext 
simon.tur...@nokia.com<mailto:simon.tur...@nokia.com> wrote:

Do the key codes given in: \epoc32\include\e32keys.h help at all? File will be 
in your Symbian SDK.

Regards,

Simon.

From: qt-qml-boun...@trolltech.com<mailto:qt-qml-boun...@trolltech.com> 
[mailto:qt-qml-boun...@trolltech.com] On Behalf Of ext Ben Marinic
Sent: 09 August 2010 12:31
To: qt-qml@trolltech.com<mailto:qt-qml@trolltech.com>
Subject: Re: [Qt-qml] Symbian Cluster Key Codes

To clarify- it's the following keys:

http://combinationstudios.com/symbian.jpg

Thanks
Ben

On 9 Aug 2010, at 12:27, Ben Marinic wrote:


Hi

I'm working on a QML app and listening for key codes.  Does anyone know what 
are the corresponding key codes are for a Symbian style Navi Cluster?  I'm 
looking at this table 
(http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qt.html#Key-enum) 
and I'm little confused!

Many thanks for any help,

Ben

Ben Marinic
Combination Studios Ltd
e. b...@combinationstudios.com<mailto:b...@combinationstudios.com>
t. +44 (0)20 7193 2000
m. +44 (0)7813 147 159






Ben Marinic
Combination Studios Ltd
e. b...@combinationstudios.com<mailto:b...@combinationstudios.com>
t. +44 (0)20 7193 2000
m. +44 (0)7813 147 159





<ATT00001..txt>

_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to