Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


How to specify aliases for phone keys

It can be convenient to use identifiers for phone-specific key names in the configuration file. The DefineKeyName defines such identifiers as aliases for standard Symbian OS key codes.

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 Symbian OS key code.

    For example,

    DefineKeyName EPhoneKeyConfirm EStdKeyDevice8

    defines a new identifier EPhoneKeyConfirm that is an alias for EStdKeyDevice8. EPhoneKeyConfirm can now be used for example in configuration file VirtualKey statements.

  3. Save the file.