Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



How to configure virtual keys

Virtual keys are represented as rectangular regions of the screen. The VirtualKey keyword allows developers to emulate target machine keys drawn on the fascia bitmap. The process is:

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

  2. Enter the keyword VirtualKey, followed by the key code the region is to produce, the shape of the region and the shape parameters. For example:

    VirtualKey key-code shape shape-parameters

  3. Save the file.


Example

VirtualKey EStdKeyMenu rect 50,60 30,20

[Top]


Notes: