4
I was creating my custom keyboard layout(custom tamil keyboard layout) in Ubuntu 12.04 platform based on this post. I edited the file /usr/share/X11/xkb/symbols/in as specified in the post with my custom layout. The sample layout mapping is attached below:
partial alphanumeric_keys
xkb_symbols "tam_font_test" {
// Description: Tamil Custom Font KeyMap
// Encoding: Unicode (http://www.unicode.org)
// Author: Test
name[Group1]= "Tamil (Font Map - Test)";
// Qrow
key <AD02> { [ U0BB1 ] };
key <AD03> { [ U0BA8 ] };
key <AD04> { [ U0B9A ] };
key <AD05> { [ U0BB5 ] };
key <AD06> { [ U0BB2 ] };
key <AD07> { [ U0BB0 ] };
key <AD08> { [ U0BC8 ] };
key <AD10> { [ U0BBF ] };
};
I was successful with the above layout mapping.
However I have a typical requirement which i wasnt able to do it. I would like to map the key AD03 with the following map
key <AD03> { [ U0BA8, U0BA8+U0B8A ] };
where the second argument is the combining character such as this.
The syntax for the definition can be found in this link.
The unicode character for tamil character can be found here.
How can we pass the combining characters unicode as an argument to the mapping?
No time to write an answer right now, but this link should help you.
– terdon – 2012-12-14T19:39:46.463