diff -r bd83ceabce89 -r 5a1685599b76 textinput/peninputgenericvkb/src/peninputgenericvkblayout.cpp --- a/textinput/peninputgenericvkb/src/peninputgenericvkblayout.cpp Tue Sep 14 21:59:06 2010 +0300 +++ b/textinput/peninputgenericvkb/src/peninputgenericvkblayout.cpp Wed Sep 15 12:34:44 2010 +0300 @@ -377,6 +377,13 @@ SignalOwner(ESignalKeyEvent, KDisplaySpace); } break; + case EEventVirtualKeyDown: + { + HandleVirtualKeyDown(); + CPeninputCommonLayoutExt::HandleControlEvent( aEventType, + aCtrl, aEventData ); + break; + } default: { CPeninputCommonLayoutExt::HandleControlEvent(aEventType, aCtrl, aEventData); @@ -533,6 +540,21 @@ } } +// --------------------------------------------------------------------------- +// Handle virtual key down event +// --------------------------------------------------------------------------- +// +void CPeninputGenericVkbLayout::HandleVirtualKeyDown() + { + CPeninputGenericVkbWindow* window = + static_cast( iLayoutWindow ); + + if ( window ) + { + window->HandleVirtualKeyDownEvent(); + } + } + TBool CPeninputGenericVkbLayout::TranslateMirrorUnicode( TUint16 aInputCode, TUint16& aOutputCode ) { TBool isMirrorChar = EFalse;