Hi Harshula,

On 13/04/2008, Harshula <harshula@gmail.com> wrote:
Hi Dushara,

On Sun, 2008-04-13 at 19:48 +1000, nidujay wrote:

> An excerpt from keysimdef.h
>         ...
>          * The "X11 Window System Protocol" standard defines in
>         Appendix A the
>          * keysym codes. These 29-bit integer values identify
>         characters or
>          * functions associated with each key (e.g., via the visible
>          * engraving) of a keyboard layout. This file assigns mnemonic
>         macro
>          * names for these keysyms.
>         ...
> This is what lead me to believe that there should be definitions to
> match all the keys (including ළු, ්‍ය. , etc).

Just below those comments are these:
  * Where a keysym corresponds one-to-one to an ISO 10646 / Unicode
  * character, this is noted in a comment that provides both the U+xxxx
  * Unicode position, as well as the official Unicode name of the
  * character.
  * Where the correspondence is either not one-to-one or semantically
  * unclear, the Unicode position and name are enclosed in
  * parentheses. Such legacy keysyms should be considered deprecated
  * and are not recommended for use in future keyboard mappings.

Yes I  saw that. However I  reckon the  comment I quoted takes precedence. I posted a quick question in the xorg-devel channel:

[Mon Apr 14 2008] [08:23:29] <dushara>    How should UNICODE keysims be defined when the character engraved on a key is represented by more than one unicode code point?
[Mon Apr 14 2008] [08:23:51] <daniels>    dushara: i'm trying to fix that, but the short answer is that you just can't right now.

I may be totally off track here, but to me it doesn't make sense for the keysims to simply duplicate the unicode code page. I'm inclined to hold the view that (somehow) the #defines should represent all the keys in the keyboard. If X org itself can't support what we require, I don't see us having any choice but to use the system that is going to be deprecated - unless we hold off the whole thing until they come up with a suitable scheme.