[Qt-qml] Symbian Cluster Key Codes
michael.brasser at nokia.com
michael.brasser at nokia.com
Tue Aug 10 05:37:38 CEST 2010
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.turvey at nokia.com<mailto:simon.turvey at 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-bounces at trolltech.com<mailto:qt-qml-bounces at trolltech.com> [mailto:qt-qml-bounces at trolltech.com] On Behalf Of ext Ben Marinic
Sent: 09 August 2010 12:31
To: qt-qml at trolltech.com<mailto:qt-qml at 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. ben at combinationstudios.com<mailto:ben at combinationstudios.com>
t. +44 (0)20 7193 2000
m. +44 (0)7813 147 159
Ben Marinic
Combination Studios Ltd
e. ben at combinationstudios.com<mailto:ben at combinationstudios.com>
t. +44 (0)20 7193 2000
m. +44 (0)7813 147 159
<ATT00001..txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100810/f49f8256/attachment.html
More information about the Qt-qml
mailing list