Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



How to specify aliases for device keys

The DefineKeyName defines aliases for device key codes. This allows device specific key names to be used in the .ini configuration file. The key codes used are defined in .\epoc32\include\e32keys.h.

The process is:

  1. Open epoc.ini in a text editor. It can be found at .\epoc32\data\.

  2. Enter the keyword DefineKeyName, followed by the alias name and the key code. For example:

    DefineKeyName alias key-code

  3. Save the file.