Code Organisation

This topic describes the source code for interrupt driven keyboard drivers and related libraries.

This topic describes the source code for interrupt driven keyboard drivers and related libraries that Symbian platform provides.

Keyboard driver

In a reference board port, the .mmp file for the keyboard driver is ...\template_variant\exkey_inttemplate.mmp. This is one of the PRJ_MMPFILES referenced in the template variant's bld.inf file in the ...\template_variant\... directory, and means that the keyboard driver is built as part of the Variant.

The source for the driver is contained entirely within ...\template_variant\specific\keyboard_interrupt.cpp.

Key translation DLL (ektran.dll)

This DLL is part of Symbian platform generic code and is built as part of the Text Window Server component.

The mmp file is located in Symbian platform generic code in ...\e32\wserv\ektran.mmp, which defines the location of the source files, header files and other dependencies.

Keyboard mapping DLL (ekdata.dl)

The DLL is platform specific. It is built as part of the Variant.

The mmp file has a name with format cakd xx .mmp, where xx is the suffix that identifies the Variant in the Variant specific .oby file. In the template port, the mmp file has the name cakdtemplate.mmp.

The source code for the tables is located in keymap.cpp, and is located in the Variant specific directory. The template port provides outline code.