textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutvkbkeyctrl.cpp
changeset 13 3b79bedfdc20
parent 0 eb1f2e154e89
equal deleted inserted replaced
0:eb1f2e154e89 13:3b79bedfdc20
   584     
   584     
   585     //Advanced tactile feedback REQ 417-47932
   585     //Advanced tactile feedback REQ 417-47932
   586 	#ifdef RD_TACTILE_FEEDBACK
   586 	#ifdef RD_TACTILE_FEEDBACK
   587     if (UiLayout()->SupportTactileFeedback())
   587     if (UiLayout()->SupportTactileFeedback())
   588     	{
   588     	{
   589    		UiLayout()->DoTactileFeedback(ETouchFeedbackSensitiveInput, ETrue, EFalse);
   589    		UiLayout()->DoTactileFeedback(ETouchFeedbackSensitiveKeypad, ETrue, EFalse);
   590         }
   590         }
   591 	#endif // RD_TACTILE_FEEDBACK 
   591 	#endif // RD_TACTILE_FEEDBACK 
   592     return this;
   592     return this;
   593     }
   593     }
   594 	
   594 	
   644 	    
   644 	    
   645 		if (UiLayout()->SupportTactileFeedback())
   645 		if (UiLayout()->SupportTactileFeedback())
   646 			{
   646 			{
   647 			if (!Hiden())
   647 			if (!Hiden())
   648 				{				
   648 				{				
   649 				UiLayout()->DoTactileFeedback(ETouchFeedbackCharacterInputButton, ETrue, EFalse);				
   649 				UiLayout()->DoTactileFeedback(ETouchFeedbackBasicKeypad, ETrue, EFalse);				
   650 				}
   650 				}
   651 			}
   651 			}
   652 		}
   652 		}
   653 #endif //RD_TACTILE_FEEDBACK
   653 #endif //RD_TACTILE_FEEDBACK
   654     }
   654     }
   896 #ifdef RD_TACTILE_FEEDBACK
   896 #ifdef RD_TACTILE_FEEDBACK
   897 	if (UiLayout()->SupportTactileFeedback())
   897 	if (UiLayout()->SupportTactileFeedback())
   898 		{		
   898 		{		
   899 		if (!VirtualKey()->Dimmed() && !Hiden())
   899 		if (!VirtualKey()->Dimmed() && !Hiden())
   900 			{
   900 			{
   901 			UiLayout()->DoTactileFeedback(ETouchFeedbackSensitiveInput, ETrue, EFalse);
   901 			UiLayout()->DoTactileFeedback(ETouchFeedbackSensitiveKeypad, ETrue, EFalse);
   902 			}
   902 			}
   903         }
   903         }
   904 #endif //RD_TACTILE_FEEDBACK     
   904 #endif //RD_TACTILE_FEEDBACK     
   905 	}
   905 	}
   906 //end of file
   906 //end of file