// $XKeyboardConfig$ // based on a keyboard map from an 'xkb/symbols/tml' file // // $XFree86: xc/programs/xkbcomp/symbols/tml,v 1.2 2002/11/22 04:03:28 dawes Exp $ default partial alphanumeric_keys xkb_symbols "basic" { include "us(basic)" name[Group1]= "Sri Lanka"; }; partial alphanumeric_keys xkb_symbols "tam_unicode" { // Description: A keymap based on the TamilNet'99 typewriter keyboard // Encoding: Unicode (http://www.unicode.org) // Author: Thuraiappah Vaseeharan // Date : Sat Feb 9 21:10:48 CST 2002 // Mapping: name[Group1]= "Sri Lanka - Tamil Unicode"; // granthas key { [ 0x1000b83 ] } ; key { [ 0x1000b9c ] } ; key { [ 0x1000bb7 ] } ; key { [ 0x1000bb8 ] } ; key { [ 0x1000bb9 ] } ; // Qrow key { [ 0x1000b9e ] }; key { [ 0x1000bb1 ] }; key { [ 0x1000ba8 ] }; key { [ 0x1000b9a ] }; key { [ 0x1000bb5 ] }; key { [ 0x1000bb2 ] }; key { [ 0x1000bb0 ] }; key { [ 0x1000bc8, 0x1000b90 ] }; key { [ 0x1000bca, 0x1000bcb ] }; key { [ 0x1000bbf, 0x1000bc0 ] }; key { [ 0x1000bc1, 0x1000bc2 ] }; // Arow key { [ 0x1000baf ] }; key { [ 0x1000bb3 ] }; key { [ 0x1000ba9 ] }; key { [ 0x1000b95 ] }; key { [ 0x1000baa ] }; key { [ 0x1000bbe, 0x1000bb4 ] }; key { [ 0x1000ba4 ] }; key { [ 0x1000bae ] }; key { [ 0x1000b9f ] }; key { [ 0x1000bcd ] }; key { [ 0x1000b99 ] }; // Zrow key { [ 0x1000ba3 ] }; key { [ 0x1000b92, 0x1000b93 ] }; key { [ 0x1000b89, 0x1000b8a ] }; key { [ 0x1000b8e, 0x1000b8f ] }; key { [ 0x1000bc6, 0x1000bc7 ] }; key { [ 0x1000b94, 0x1000bcc ] }; key { [ 0x1000b85, 0x1000b86 ] }; key { [ 0x1000b87, 0x1000b88 ] }; }; partial alphanumeric_keys xkb_symbols "tam_TSCII" { // Description : A Tamil typewrite-style keymap // loosely based on TamilNet'99 reommendations // Encoding : TSCII (http://www.tscii.org) // Author : Thuraiappah Vaseeharan // Last Modified: Sat Jan 5 17:11:26 CST 2002 name[Group1]= "Sri Lanka - Tamil TSCII Typewriter"; key { [ 0x10000b7, 0x10000a4 ] }; // aytham key { [ 0x1000082, 0x10000a5 ] }; // shri key { [ 0x1000083, 0x1000088 ] }; // ja key { [ 0x1000084, 0x1000089 ] }; // sha key { [ 0x1000085, 0x100008a ] }; // sa key { [ 0x1000086, 0x100008b ] }; // ha key { [ 0x1000087, 0x100008c ] }; // ksha // Qrow key { [ 0x10000bb, 0x100009a ] }; // nja key { [ 0x10000c8, 0x10000da ] }; // Ra key { [ 0x10000bf, 0x10000d1 ] }; // NNa key { [ 0x10000ba, 0x10000cd ] }; // ca key { [ 0x10000c5, 0x10000d7 ] }; // va key { [ 0x10000c4, 0x10000d6 ] }; // la key { [ 0x10000c3, 0x10000d5 ] }; // ra key { [ 0x10000a8, 0x10000b3 ] }; // sangili, ai key { [ 0x10000ca, 0x10000cb ] }; // di, dI key { [ 0x10000a2, 0x10000a3 ] }; // visiri key { [ dead_acute, 0x10000a3 ] }; // Ukaaram // Arow key { [ 0x10000c2, 0x10000d4 ] }; // ya key { [ 0x10000c7, 0x10000d9 ] }; // La key { [ 0x10000c9, 0x10000db ] }; // na key { [ 0x10000b8, 0x10000cc ] }; // ka key { [ 0x10000c0, 0x10000d2 ] }; // pa key { [ dead_grave,0x10000a1 ] }; // pulli,aravu key { [ 0x10000be, 0x10000d0 ] }; // tha key { [ 0x10000c1, 0x10000d3 ] }; // ma key { [ 0x10000bc, 0x10000ce ] }; // da key { [ 0x10000c6, 0x10000d8 ] }; // zha key { [ 0x10000b9, 0x1000099 ] }; // nga // Zrow key { [ 0x10000bd, 0x10000cf ] }; // Na key { [ 0x10000b4, 0x10000b5 ] }; // o, O key { [ 0x10000af, 0x10000b0 ] }; // u, U key { [ 0x10000b1, 0x10000b2 ] }; // e, E key { [ 0x10000a6, 0x10000a7 ] }; // kombus key { [ 0x10000b6, 0x10000aa ] }; // au key { [ 0x10000ab, 0x10000ac ] }; // a, A key { [ 0x10000fe, 0x10000ae ] }; // i, I }; partial alphanumeric_keys xkb_symbols "tam_TAB" { // Description: A keymap based on the TamilNet'99 typewriter keyboard // Encoding: TAB (http://www.tamilnet99.org) // Author: Thuraiappah Vaseeharan // Date : Sun Aug 12 02:23:00 CDT 2001 name[Group1]= "Sri Lanka - Tamil TAB Typewriter"; // numeral row key { [ 0x10000e7, 0x10000a7 ] } ; key { [ 0x10000fa, 0x10000a8 ] } ; key { [ 0x10000fb ] } ; key { [ 0x10000fc ] } ; key { [ 0x10000fd ] } ; key { [ 0x10000fe ] } ; key { [ 0x10000ff ] } ; // q-row key { [ 0x10000eb, 0x10000b3 ] }; key { [ 0x10000f8, 0x10000c1 ] }; key { [ 0x10000ef, 0x10000b8 ] }; key { [ 0x10000ea, 0x10000b2 ] }; key { [ 0x10000f5, 0x10000be ] }; key { [ 0x10000f4, 0x10000bd ] }; key { [ 0x10000f3, 0x10000bc ] }; key { [ 0x10000ac, 0x10000e4 ] }; key { [ 0x10000ae, 0x10000af ] }; key { [ 0x10000a4, 0x10000a6 ] }; key { [ dead_circumflex, 0x10000a6 ] }; // Ukaaram // a-row key { [ 0x10000f2, 0x10000bb ] }; key { [ 0x10000f7, 0x10000c0 ] }; key { [ 0x10000f9, 0x10000c2 ] }; key { [ 0x10000e8, 0x10000b0 ] }; key { [ 0x10000f0, 0x10000b9 ] }; key { [ 0x10000a2, 0x10000a3 ] }; key { [ 0x10000ee, 0x10000b6 ] }; key { [ 0x10000f1, 0x10000ba ] }; key { [ 0x10000ec, 0x10000b4 ] }; key { [ 0x10000f6, 0x10000bf ] }; key { [ 0x10000e9, 0x10000b1 ] }; // z-row key { [ 0x10000ed, 0x10000b5 ] }; key { [ 0x10000e5, 0x10000e6 ] }; key { [ 0x10000e0, 0x10000e1 ] }; key { [ 0x10000e2, 0x10000e3 ] }; key { [ 0x10000aa, 0x10000ab ] }; key { [ 0x10000ac, 0x10000a3 ] }; key { [ 0x10000dc, 0x10000dd ] }; key { [ 0x10000de, 0x10000df ] }; }; partial alphanumeric_keys xkb_symbols "tam_INSCRIPT" { name[Group1]= "Sri Lanka - Tamil INSCRIPT"; key { [ 0x1000BCA, 0x1000B92 ] }; // Mainly numbers. key { [ 0x1000BE7 ] }; key { [ 0x1000BE8 ] }; key { [ 0x1000BE9 ] }; key { [ 0x1000BEA ] }; key { [ 0x1000BEB ] }; key { [ 0x1000BEC ] }; key { [ 0x1000BED ] }; key { [ 0x1000BEE ] }; key { [ 0x1000BEF, parenleft ] }; key { [ 0x1000BF0, parenright ] }; key { [ 0x1000BF1, 0x1000B83 ] }; key { [ 0x1000BF2, plus ] }; // Mainly long vowels key { [ 0x1000BCC, 0x1000B94 ] }; key { [ 0x1000BC8, 0x1000B90 ] }; key { [ 0x1000BBE, 0x1000B86 ] }; key { [ 0x1000BC0, 0x1000B88 ] }; key { [ 0x1000BC2, 0x1000B8A ] }; // Mainly voiced consonants key { [ 0x1000BB9, 0x1000B99 ] }; key { [ 0x1000BBC, 0x1000B9E ] }; // Mainly short vowels key { [ 0x1000BCB, 0x1000B93 ] }; key { [ 0x1000BC7, 0x1000B8F ] }; key { [ 0x1000BCD, 0x1000B85 ] }; key { [ 0x1000BBF, 0x1000B87 ] }; key { [ 0x1000BC1, 0x1000B89 ] }; // Mainly unvoiced consonants key { [ 0x1000BAA ] }; key { [ 0x1000BB0, 0x1000BB1 ] }; key { [ 0x1000B95 ] }; key { [ 0x1000BA4 ] }; key { [ 0x1000B9A ] }; key { [ 0x1000B9F ] }; key { [ backslash, bar ] }; key { [ 0x1000BC6, 0x1000B8E ] }; key { [ 0x1000B82 ] }; key { [ 0x1000BAE, 0x1000BA3 ] }; key { [ 0x1000BA8, 0x1000BA9 ] }; key { [ 0x1000BB5, 0x1000BB4 ] }; key { [ 0x1000BB2, 0x1000BB3 ] }; key { [ 0x1000BB8 ] }; key { [ comma, 0x1000BB7 ] }; key { [ period, 0x1000964 ] }; key { [ 0x1000BAF, question ] }; }; // X Keyboard Extension file for Sinhala (Sri Lanka) (2004-04-22) // Maintainer : Harshula Jayasuriya // Last Updated: 2004-11-14 // This is a static phonetic mapping for a standard US-English keyboard // (qwerty) // http://www.nongnu.org/sinhala/doc/keymaps/sinhala-keyboard_3.html // Repaya, Rakaransaya and Yansaya aren't inserted with A-r, R and Y, // respectively. The problem lies with the XKB infrastructure which // only allows a one-to-one mapping of keycodes to Unicode codepoints. // Unfortunately, the 3 mentioned glyphs actually consists of 3 // Unicode codepoints each. The resultant is that the user must // manually construct the glyph by typing each of the 3 codepoints. // Alt-backslash represents the 'join' key, this requires // two codepoints, hence it also has to be manually constructed. // Repaya = rayanna,AL,ZWJ // Rakaransaya = AL,ZWJ,rayanna // Yansaya = AL,ZWJ,yayanna // join = AL,ZWJ // Where, // AL = Al Lakuna = Alt-a // ZWJ = Zero Width Joiner = Alt-Shift-Backslash // rayanna = r // yayanna = y partial alphanumeric_keys xkb_symbols "sin_phonetic" { include "us" name[Group1] = "Sri Lanka - Sinhala phonetic"; key.type = "FOUR_LEVEL"; // q - p key { [ 0x01000d8d, 0x01000d8e, 0x01000dd8, 0x01000df2 ] }; key { [ 0x01000d87, 0x01000d88, 0x01000dd0, 0x01000dd1 ] }; key { [ 0x01000d91, 0x01000d92, 0x01000dd9, 0x01000dda ] }; key { [ 0x01000dbb, 0x01000dca, 0x01000dbb, NoSymbol ] }; key { [ 0x01000da7, 0x01000da8, 0x01000dad, 0x01000dae ] }; key { [ 0x01000dba, 0x01000dca, NoSymbol, NoSymbol ] }; key { [ 0x01000d8b, 0x01000d8c, 0x01000dd4, 0x01000dd6 ] }; key { [ 0x01000d89, 0x01000d8a, 0x01000dd2, 0x01000dd3 ] }; key { [ 0x01000d94, 0x01000d95, 0x01000ddc, 0x01000ddd ] }; key { [ 0x01000db4, 0x01000db5, NoSymbol, NoSymbol ] }; // a - l key { [ 0x01000d85, 0x01000d86, 0x01000dca, 0x01000dcf ] }; key { [ 0x01000dc3, 0x01000dc2, 0x01000dc1, NoSymbol ] }; key { [ 0x01000da9, 0x01000daa, 0x01000daf, 0x01000db0 ] }; key { [ 0x01000dc6, 0x01000d93, 0x01000ddb, NoSymbol ] }; key { [ 0x01000d9c, 0x01000d9d, 0x01000d9f, NoSymbol ] }; key { [ 0x01000dc4, 0x01000d96, 0x01000dde, NoSymbol ] }; key { [ 0x01000da2, 0x01000da3, 0x01000da6, NoSymbol ] }; key { [ 0x01000d9a, 0x01000d9b, 0x01000d8f, 0x01000d90 ] }; key { [ 0x01000dbd, 0x01000dc5, 0x01000ddf, 0x01000df3 ] }; // z - m key { [ 0x01000da4, 0x01000da5, NoSymbol, NoSymbol ] }; key { [ 0x01000dac, 0x01000db3, NoSymbol, NoSymbol ] }; key { [ 0x01000da0, 0x01000da1, NoSymbol, NoSymbol ] }; key { [ 0x01000dc0, 0x01000d82, 0x01000d83, NoSymbol ] }; key { [ 0x01000db6, 0x01000db7, NoSymbol, NoSymbol ] }; key { [ 0x01000db1, 0x01000dab, 0x01000d9e, NoSymbol ] }; key { [ 0x01000db8, 0x01000db9, NoSymbol, NoSymbol ] }; // '.' - Fullstop key { [ any, any, 0x01000df4, NoSymbol ] }; // Backslash key { [ any, any, 0x01000dca, 0x0100200d ] }; // Space key { [ space, nobreakspace, 0x0100200c, NoSymbol ] }; include "level3(ralt_switch)" };