[MeeGo-touch-dev] Camera keys mapping for N900 ?

Teemu Tuominen teemu.tuominen at cybercom.com
Tue Feb 15 02:15:52 PST 2011


Hi,

Could someone point me to documentation how keys mapping should be 
enabled in Meego applications ? I'm mainly interested in camera related 
keys, but dig out the status with N900 board gpio-keys with the recent 
images.

Generic X11/Qt case:
camera btn -> XF86WebCam -> Qt:Key_WebCam
camera cover -> N/A (event type 5, code 9)
lock switch -> XF86ScreenSaver -> N/A
slide -> N/A (event type 5, code 10)

Qmf case (by qmkeyd2 daemon):
camera btn -> MeeGo::QmKeys::Camera
camera cover -> N/A (#define SW_CAMERA_LENS_COVER    0x09  /* set = lens 
covered */)
lock switch -> N/A (#define KEY_SCREENLOCK    KEY_COFFEE)
slide -> Meego::QmKeys::KeyboardSlide

Br,
-Teemu


More information about the MeeGo-touch-dev mailing list