Hi, Thiago

The key value of Qt::Key_HomePage is 0x01000090, it's a 32bit integer.
While in Linux Kernel, only 16bit integer keycode can be sent in input_event() 
function, kernel space cannot send 32bit keyvalue to user space.
For a physical "HOME KEY", do you know how to implement the "HOME BUTTON" 
function?

Shaojun



-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Thiago Macieira
Sent: Thursday, January 27, 2011 7:57 PM
To: [email protected]
Subject: Re: [MeeGo-dev] MeeGO home button and back button

Em quinta-feira, 27 de janeiro de 2011, às 16:46:17, Wang, Shaojun escreveu:
> Hi
> 
> We want to implement "HOME BUTTON" and "BACK BUTTON" function on MeeGo 
> Handset V1.1.2.
> 
> Does any know the keycode of these two buttons in MeeGo?

They should be Qt::Key_HomePage (not Qt::Key_Home) and Qt::Key_Back.

http://doc.qt.nokia.com/latest/qt.html#Key-enum
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to