equal
deleted
inserted
replaced
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 |