Input method keymap management

The input method provides several subroutines to map key events to a string. The mapping is maintained in an imkeymap file located in the LOCPATH directory.

The subroutines used for mapping are as follows:

Subroutine Description
IMInitializeKeymap Initializes the imkeymap associated with a specified language.
IMFreeKeymap Frees resources allocated by the IMInitializeKeymap subroutine.
IMAIXMapping Translates a pair of key-symbol and state parameters to a string and returns a pointer to that string.
IMSimpleMapping Translates a pair of key-symbol and state parameters to a string and returns a pointer to that string.