stifui/avkon/uitestserverstarter/src/EventUtil.cpp
branchRCL_3
changeset 17 d40e813b23c0
parent 9 404ad6c9bc20
equal deleted inserted replaced
15:65b472535a0d 17:d40e813b23c0
   882 	DefineKeyScanCodeNames( keyScanCodeNames );
   882 	DefineKeyScanCodeNames( keyScanCodeNames );
   883 	DefineKeyScanCodes( keyScanCodes );
   883 	DefineKeyScanCodes( keyScanCodes );
   884 	int keyScanCodeNamesCount = (sizeof( keyScanCodeNames )/sizeof(TText*));
   884 	int keyScanCodeNamesCount = (sizeof( keyScanCodeNames )/sizeof(TText*));
   885 	
   885 	
   886 	for ( int i = 0; i < keyScanCodeNamesCount; i++ ) {
   886 	for ( int i = 0; i < keyScanCodeNamesCount; i++ ) {
   887 		if ( keyScanCodes[ i ] == aKeyScanCode ) 
   887 		if ( keyScanCodes[ i ] == (TUint)aKeyScanCode ) 
   888 			{
   888 			{
   889 			return keyScanCodeNames[ i ];
   889 			return keyScanCodeNames[ i ];
   890 			}
   890 			}
   891 	}
   891 	}
   892 	
   892