// $XKeyboardConfig$

// This layout includes all Indian layouts, including:
//     - Bengali
//     - Gujarati 
//     - Kannada 
//     - Malayalam
//     - Oriya 
//     - Tamil
//     - Telugu
//     - Urdu

// Links:
// - Indic INSCRIPT keyboard layout diagrams:
//     http://java.sun.com/products/jfc/tsc/articles/InputMethod/indiclayout.html
// - Ekusheyr Shadhinota (Bengali layouts):
//     http://ekushey.org/projects/shadhinota/index.html
// - Microsoft Windows XP SP2: Indic Language Standards - an Introduction:
//     http://www.bhashaindia.com/MSProducts/XpSp2/Articles/IndicLanguageStandards.aspx

// based on a keyboard map from an 'xkb/symbols/dev' file

// Devangari is the default. Kill me if I am wrong:)
default partial alphanumeric_keys
xkb_symbols "deva" {
	// March 2004 -- David Holl <smyrph+dev_xkb@ece.wpi.edu>
	name[Group1]="India";

	key.type="FOUR_LEVEL";

	key <TLDE> { [ U094a, U0912,   grave, asciitilde  ] };
	key <AE01> { [ U0967, U090d,       1, exclam      ] };
	key <AE02> { [ U0968, U0945,       2, at          ] };
	// Shift+AE0[3-8] really need to return a macro of keys defined by
	// INSCRIPT in place of the symbols that are here for now.  But this
	// requires XKB to map 1 key into two to three other key presses.
	key <AE03> { [ U0969, numbersign,  3, numbersign  ] };
	key <AE04> { [ U096a, dollar,      4, dollar      ] };
	key <AE05> { [ U096b, percent,     5, percent     ] };
	key <AE06> { [ U096c, asciicircum, 6, asciicircum ] };
	key <AE07> { [ U096d, ampersand,   7, ampersand   ] };
	key <AE08> { [ U096e, asterisk,    8, asterisk    ] };
	key <AE09> { [ U096f, parenleft,   9, parenleft   ] };
	key <AE10> { [ U0966, parenright,  0, parenright  ] };
	key <AE11> { [ minus, U0903, minus, underscore    ] };
	key <AE12> { [ U0943, U090b, U0944, U0960 ] };

	key <AD01> { [ U094c, U0914 ] };
	key <AD02> { [ U0948, U0910 ] };
	key <AD03> { [ U093e, U0906 ] };
	key <AD04> { [ U0940, U0908, U0963, U0961 ] };
	key <AD05> { [ U0942, U090a ] };
	key <AD06> { [ U092c, U092d ] };
	key <AD07> { [ U0939, U0919 ] };
	key <AD08> { [ U0917, U0918, U095a ] };
	key <AD09> { [ U0926, U0927 ] };
	key <AD10> { [ U091c, U091d, U095b ] };
	key <AD11> { [ U0921, U0922, U095c, U095d ] };
	key <AD12> { [ U093c, U091e ] };
	// I added \ / ? | for shell-convenience (file names and piping)
	key <BKSL> { [ U0949, U0911, U005C, U007C ] };

	key <AC01> { [ U094b, U0913 ] };
	key <AC02> { [ U0947, U090f ] };
	key <AC03> { [ U094d, U0905 ] };
	key <AC04> { [ U093f, U0907, U0962, U090c ] };
	key <AC05> { [ U0941, U0909 ] };
	key <AC06> { [ U092a, U092b, NoSymbol, U095e ] };
	key <AC07> { [ U0930, U0931 ] };
	key <AC08> { [ U0915, U0916, U0958, U0959 ] };
	key <AC09> { [ U0924, U0925 ] };
	key <AC10> { [ U091a, U091b, U0952 ] };
	key <AC11> { [ U091f, U0920, NoSymbol, U0951 ] };

	key <AB01> { [ U0946, U090e, U0953 ] };
	key <AB02> { [ U0902, U0901, NoSymbol, U0950 ] };
	key <AB03> { [ U092e, U0923, U0954 ] };
	key <AB04> { [ U0928, U0929 ] };
	key <AB05> { [ U0935, U0934 ] };
	key <AB06> { [ U0932, U0933 ] };
	key <AB07> { [ U0938, U0936 ] };
	key <AB08> { [ comma, U0937, U0970 ] };
	key <AB09> { [ period, U0964, U0965, U093d ] };
	// I added \ / ? | for shell-convenience (file names and piping)
	key <AB10> { [ U092f, U095f, slash, question ] };

	// space, space, Zero-Width-Non-Joiner (ZWNJ), Zero-Width-Joiner (ZWJ):
	key <SPCE> { [ space, space, U200c, U200d ] };
};

//Name		:	Bolnagri (Combined)
//Description	:	A phonetic keyboard layout for Devnagari(Hindi)
//			http://www.indlinux.org/wiki/index.php/BolNagri
//NOTE		: 	This is a combined map of bolnagri_matras and bolnagri_vowels.
//Inspired by "devrom" keymap by Steve Smith for the windows tool "keyman"
//Original Author :	Noah Levitt<nlevitt at columbia.edu>
//Past Authors  : Pramod.R <pramodr at gmail.com> and Ravikant <ravikant at sarai.net>
// Current Main.: G Karunakar <karunakar@sarai.net>

partial alphanumeric_keys
xkb_symbols "bolnagri" {
     name[Group1] = "India - Hindi Bolnagri";
     key.type="FOUR_LEVEL";
    //Top Alphanumeric row
    // Roman digits
    key <TLDE>  { [   U0902,	U0901,		apostrophe, 	asciitilde ] }; // apostrophe: anusvara, candrabindu
    key <AE01>  { [   1,	exclam,		U0967,		exclam	   ] };
    key <AE02>  { [   2,	at,		U0968,		at	   ] };
    key <AE03>  { [   3,    	numbersign, 	U0969,		numbersign ] };
    key <AE04>  { [   4,	dollar,		U096A,		dollar     ] };
    key <AE05>  { [   5,	percent,	U096B,		percent    ] };
    key <AE06>  { [   6,	asciicircum,	U096C,		asciicircum ] };
    key <AE07>  { [   7,	ampersand,	U096D,		ampersand  ] };
    key <AE08>  { [   8,	asterisk,	U096E,		asterisk   ] };
    key <AE09>  { [   9,	parenleft,	U096F,		parenleft  ] };
    key <AE10>  { [   0,	parenright,	U0966,		parenright ] };
    key <AE11>	{ [   minus,	underscore	     ] };
    key <AE12>	{ [   equal,	plus		     ] };
    key <BKSL>  { [   U0964,	U0965,		U007C,		U005C   ] }; //pipe : danda, double danda

    //Q Row	
    key <AD01>   { [   U200C, 	U200D   ] };  // Q: ZWNJ, ZWJ
    key <AD02>   { [   U0935,  	U950	] };  // W: wa, OM
    key <AD03>   { [   U0947,   U0948,	U090F,	U0910   ] };  // E: e, ai matras
    key <AD04>   { [   U0930,	U0943  	] };  // R: ra, vocalic Ri
    key <AD05>   { [   U0924,   U0925   ] };  // T: ta, tha
    key <AD06>   { [   U092f,	U091E   ] };  // Y: ya, nya
    key <AD07>   { [   U0941,   U0942,	U0909,	U090A   ] };  // U: u, uu matras
    key <AD08>   { [   U093F,   U0940,	U0907,	U0908   ] };  // I: i, ii matras
    key <AD09>   { [   U094B,   U094C,	U0913,	U0914   ] };  // O: o, au matras
    key <AD10>   { [   U092A,   U092B   ] };  // P: pa, pha
    key <AD11>   { [   bracketleft,   braceleft   ] };  
    key <AD12>	 { [   bracketright, braceright   ] };
    
    //A Row
    key <AC01>   { [   U093E,	 U0906,	U0905,	U0906  ] };   // A: aa
    key <AC02>   { [   U0938,    U0937   ] };  // S: sa, ssa
    key <AC03>   { [   U0926,    U0927   ] };  // D: da, dha
    key <AC04>   { [   U091F,    U0920   ] };  // F: TA, THA
    key <AC05>   { [   U0917,    U0918   ] };  // G: ga, gha
    key <AC06>   { [   U0939,    U0903   ] };  // H: ha, visarg 
    key <AC07>   { [   U091C,    U091D   ] };  // J: ja, jha
    key <AC08>   { [   U0915,    U0916   ] };  // K: ka, kha
    key <AC09>   { [   U0932,	 U0962   ] };  // L: la, vocalic L or lru matra`
    key <AC10>   { [   semicolon, colon  ] }; 
    key <AC11>   { [apostrophe, quotedbl ] };

    //Z Row
    key <AB01>   { [   U0936,	 U0945 	 ] };  // Z: sha, akaar candra
    key <AB02>   { [   U094D,    U0949	 ] };  // X: halant, aakaar candra
    key <AB03>   { [   U091A,    U091B   ] };  // C: ca, cha
    key <AB04>   { [   U0921,    U0922   ] };  // V: da, dha
    key <AB05>   { [   U092C,    U092D   ] };  // B: ba, bha
    key <AB06>   { [   U0928,    U0923   ] };  // N: na, nha
    key <AB07>   { [   U092E,    U093D,	U092E,	U093D   ] };  // M: ma, avagraha
    key <AB08>   { [   comma,    U0970	 ] };// comma: comma, dev abbreviation sign
    key <AB09>   { [   period,   U093C 	 ] };  // period: period, nukta
    key <AB10>	 { [   slash,   question ] };

   // begin modifier mappings
//    modifier_map Shift  { Shift_L };
//    modifier_map Lock   { Caps_Lock };
//    modifier_map Control{ Control_L };
//    modifier_map Mod3   { Mode_switch };
    include "level3(ralt_switch)"
};

// based on a keyboard map from an 'xkb/symbols/ben' file
//
// $XFree86: xc/programs/xkbcomp/symbols/ben,v 1.2 2002/11/22 04:03:28 dawes Exp $

partial alphanumeric_keys
xkb_symbols "ben" {
    name[Group1]= "India - Bengali";

      // Mainly numbers.
      key <AE01> { [      U09E7 		]	};
      key <AE02> { [      U09E8 		]	};
      key <AE03> { [      U09E9 		]	};
      key <AE04> { [      U09EA 		]	};
      key <AE05> { [      U09EB		]	};
      key <AE06> { [      U09EC 		]	};
      key <AE07> { [      U09ED	        ]	};
      key <AE08> { [      U09EE 		]	};
      key <AE09> { [      U09EF, parenleft	]	};
      key <AE10> { [      U09E6, parenright	]	};
      key <AE11> { [      minus, U0983 	]	};
      key <AE12> { [      U098B, U09C3	]	};

// Mainly long vowels

      key <AD01> { [      U09CC,  U0994	]	};
      key <AD02> { [      U09C8,  U0990	]	};
      key <AD03> { [      U09BE,  U0986	]	};
      key <AD04> { [      U09C0,  U0988	]	};
      key <AD05> { [      U09C2,  U098A	]	};

// Mainly voiced consonants

      key <AD06> { [      U09AC,  U09AD	]	};
      key <AD07> { [      U09B9,  U0999 ]	};
      key <AD08> { [      U0997,  U0998 ]	};
      key <AD09> { [      U09A6,  U09A7 ]	};
      key <AD10> { [      U099C,  U099D ]	};
      key <AD11> { [      U09A1, U09A2 	]	};
      key <AD12> { [      U09BC, U099E 	]	};

// Mainly short vowels
      key <AC01> { [      U09CB,  U0993 ]	};
      key <AC02> { [      U09C7,  U098F ]	};
      key <AC03> { [      U09CD,  U0985 ]	};
      key <AC04> { [      U09BF,  U0987 ]	};
      key <AC05> { [      U09C1,  U0989 ]	};


// Mainly unvoiced consonants

      key <AC06> { [      U09AA,  U09AB ]	};
      key <AC07> { [      U09B0,  U09DD ]	};
      key <AC08> { [      U0995,  U0996 ]	};
      key <AC09> { [      U09A4,  U09A5 ]	};
      key <AC10> { [      U099A,  U099B ]	};
      key <AC11> { [      U099F, U09A0 	]	};
      key <BKSL> { [      U005C, U007C 	]	};

      key <AB01> { [      z, Z  		]       };
      key <AB02> { [      U0982,  U0981 ]       };
      key <AB03> { [      U09AE,  U09A3 ]       };
      key <AB04> { [      U09A8,  U09A8 ]       };
      key <AB05> { [      U09AC,  U09AC ]       };
      key <AB06> { [      U09B2,  U09B2 ]       };
      key <AB07> { [      U09B8,  U09B6 ]       };
      key <AB08> { [      comma,      U09B7 ]       };
      key <AB09> { [      period,     U0964 ]       };
      key <AB10> { [      U09DF,  U09AF	]       };
};

xkb_symbols "ben_probhat" {
 name[Group1]= "India - Bengali Probhat";
   key <ESC>  { [ Escape ] };

// numbers
   key <TLDE> { [ U200D, asciitilde   ] };
   key <AE01> { [ U09E7, exclam       ] };
   key <AE02> { [ U09E8, at           ] };
   key <AE03> { [ U09E9, numbersign   ] };
   key <AE04> { [ U09EA, U09F3    ] };
   key <AE05> { [ U09EB, percent      ] };
   key <AE06> { [ U09EC, asciicircum  ] };
   key <AE07> { [ U09ED, U099E    ] };
   key <AE08> { [ U09EE, U09CE    ] };
   key <AE09> { [ U09EF, parenleft    ] };
   key <AE10> { [ U09E6, parenright   ] };
   key <AE11> { [ minus,     underscore   ] };
   key <AE12> { [ equal,     plus         ] };
   key <BKSP> { [ BackSpace               ] };

// tab, q to ] 
   key <TAB>  { [   Tab,  ISO_Left_Tab     ] };
   key <AD01> { [   U09A6,  U09A7  ] };
   key <AD02> { [   U09C2,  U098A  ] };
   key <AD03> { [   U09C0,  U0988  ] };
   key <AD04> { [   U09B0,  U09DC  ] };
   key <AD05> { [   U099F,  U09A0  ] };
   key <AD06> { [   U098F,  U0990  ] };
   key <AD07> { [   U09C1,  U0989  ] };
   key <AD08> { [   U09BF,  U0987  ] };
   key <AD09> { [   U0993,  U0994  ] };
   key <AD10> { [   U09AA,  U09AB  ] };
   key <AD11> { [   U09C7,  U09C8  ] };
   key <AD12> { [   U09CB,  U09CC  ] };
   key <RTRN> { [   Return                 ] };

// caps, a to ' 
//   key <CAPS> { [   Caps_Lock              ] };
   key <AC01> { [   U09BE,  U0985  ] };
   key <AC02> { [   U09B8,  U09B7  ] };
   key <AC03> { [   U09A1,  U09A2  ] };
   key <AC04> { [   U09A4,  U09A5  ] };
   key <AC05> { [   U0997,  U0998  ] };
   key <AC06> { [   U09B9,  U0983  ] };
   key <AC07> { [   U099C,  U099D  ] };
   key <AC08> { [   U0995,  U0996  ] };
   key <AC09> { [   U09B2,  U0982  ] };
   key <AC10> { [   semicolon,  colon      ] };
   key <AC11> { [   quoteright, quotedbl   ] };

// shift, z to /
//   key <LFSH> { [   Shift_L                ] };
   key <AB01> { [   U09DF,  U09AF  ] };
   key <AB02> { [   U09B6,  U09DD  ] };
   key <AB03> { [   U099A,  U099B  ] };
   key <AB04> { [   U0986,  U098B  ] };
   key <AB05> { [   U09AC,  U09AD  ] };
   key <AB06> { [   U09A8,  U09A3  ] };
   key <AB07> { [   U09AE,  U0999  ] };
   key <AB08> { [   comma,      U09C3  ] };
   key <AB09> { [   U0964,  U0981  ] };
   key <AB10> { [   U09CD,  question   ] };
   key <BKSL> { [   U200C,  U0965  ] };

//   key <LCTL> { [   Control_L              ] };
//   key <SPCE> { [   space                  ] };

//   modifier_map Shift  { Shift_L };
//   modifier_map Lock   { Caps_Lock };
//   modifier_map Control{ Control_L };

};

partial alphanumeric_keys 
xkb_symbols "guj" {
      name[Group1]= "India - Gujarati";

      // Mainly numbers.
      key <AE01> { [      U0AE7, U0A8D 	]	};
      key <AE02> { [      U0AE8, U0AC5 	]	};
      key <AE03> { [      U0AE9 	 	]	};
      key <AE04> { [      U0AEA  	 	]	};
      key <AE05> { [      U0AEB  	 	]	};
      key <AE06> { [      U0AEC  	 	]	};
      key <AE07> { [      U0AED 		]	};
      key <AE08> { [      U0AEE  	 	]	};
      key <AE09> { [      U0AEF, parenleft 	]	};
      key <AE10> { [      U0AE6, parenright ]	};
      key <AE11> { [      minus,     U0A83  ]	};
      key <AE12> { [      U0A8B, U0AC3 	]	};

// Mainly long vowels

      key <AD01> { [      U0ACC, U0A94  ]	};
      key <AD02> { [      U0AC8, U0A90  ]	};
      key <AD03> { [      U0ABE, U0A86  ]	};
      key <AD04> { [      U0AC0, U0A88  ]	};
      key <AD05> { [      U0AC2, U0A8A  ]	};

// Mainly voiced consonants

      key <AD06> { [      U0AAC, U0AAD 	]	};
      key <AD07> { [      U0AB9, U0A99 	]	};
      key <AD08> { [      U0A97, U0A98 	]	};
      key <AD09> { [      U0AA6, U0AA7 	]	};
      key <AD10> { [      U0A9C, U0A9D 	]	};
      key <AD11> { [      U0AA1, U0AA2 	]	};
      key <AD12> { [      U0ABC, U0A9E 	]	};

// Mainly short vowels
      key <AC01> { [      U0ACB, U0A93	]	};
      key <AC02> { [      U0AC7, U0A8F	]	};
      key <AC03> { [      U0ACD, U0A85  ]	};
      key <AC04> { [      U0ABF, U0A87  ]	};
      key <AC05> { [      U0AC1, U0A89  ]	};

// Mainly unvoiced consonants

      key <AC06> { [      U0AAA, U0AAB 	]	};
      key <AC07> { [      U0AB0, U0AB0 	]	};
      key <AC08> { [      U0A95, U0A96 	]	};
      key <AC09> { [      U0AA4, U0AA5 	]	};
      key <AC10> { [      U0A9A, U0A9B 	]	};
      key <AC11> { [      U0A9F, U0AA0 	]	};
      key <BKSL> { [      U0AC9, U0A91 	]	};

      key <AB01> { [      z        , Z		]       };
      key <AB02> { [      U0A82, U0A81	]       };
      key <AB03> { [      U0AAE, U0AA3  ]       };
      key <AB04> { [      U0AA8, U0AA8   ]       };
      key <AB05> { [      U0AB5, U0AB5   ]       };
      key <AB06> { [      U0AB2, U0AB3  ]       };
      key <AB07> { [      U0AB8, U0AB6  ]       };
      key <AB08> { [      comma,     U0AB7  ]       };
      key <AB09> { [      period,    U0964  ]       };
      key <AB10> { [      U0AAF, question   ]       };
};

partial alphanumeric_keys 
xkb_symbols "kan" {

    // Inscript layout for Kannada  
    // Author : G Karunakar <karunakar@freedomink.org>
    // Date   : Wed Nov 13 17:22:58 IST 2002
    // Kannada digits mapped in basic only

    name[Group1]= "India - Kannada";

    key <TLDE> { [  U0cca, U0c92	] };
    key <AE01> { [  U0ce7			] };
    key <AE02> { [  U0ce8			] };
    key <AE03> { [  U0ce9			] };
    key <AE04> { [  U0cea			] };
    key <AE05> { [  U0ceb			] };
    key <AE06> { [  U0cec			] };
    key <AE07> { [  U0ced			] };
    key <AE08> { [  U0cee			] };
    key <AE09> { [  U0cef			] };
    key <AE10> { [  U0ce6			] };
    key <AE11> { [  U0c83			] };
    key <AE12> { [  U0cc3, U0c8b	] };

    key <AD01> { [  U0ccc, U0c94	] };
    key <AD02> { [  U0cc8, U0c90	] };
    key <AD03> { [  U0cbe, U0c86	] };
    key <AD04> { [  U0cc0, U0c88	] };
    key <AD05> { [  U0cc2, U0c8a	] };
    key <AD06> { [  U0cac, U0cad	] };
    key <AD07> { [  U0cb9, U0c99	] };
    key <AD08> { [  U0c97, U0c98	] };
    key <AD09> { [  U0ca6, U0ca7	] };
    key <AD10> { [  U0c9c, U0c9d	] };
    key <AD11> { [  U0ca1, U0ca2	] };
    key <AD12> { [  U0cbc, U0c9e	] };
 
    key <AC01> { [  U0ccb, U0c93	] };
    key <AC02> { [  U0cc7, U0c8f	] };
    key <AC03> { [  U0ccd, U0c85	] };
    key <AC04> { [  U0cbf, U0c87	] };
    key <AC05> { [  U0cc1, U0c89	] };
    key <AC06> { [  U0caa, U0cab	] };
    key <AC07> { [  U0cb0, U0cb1	] };
    key <AC08> { [  U0c95, U0c96	] };
    key <AC09> { [  U0ca4, U0ca5	] };
    key <AC10> { [  U0c9a, U0c9b	] };
    key <AC11> { [  U0c9f, U0ca0	] };

    key <AB01> { [  U0cc6, U0c8e	] };
    key <AB02> { [  U0c82			] };
    key <AB03> { [  U0cae, U0ca3	] };
    key <AB04> { [  U0ca8			] };
    key <AB05> { [  U0cb5, U0cb4	] };
    key <AB06> { [  U0cb2, U0cb3	] };
    key <AB07> { [  U0cb8, U0cb6	] };
    key <AB08> { [  comma     , U0cb7	] };
    key <AB09> { [  period    				] };
    key <AB10> { [  U0caf, U0040	] };

    key <RALT> {
	symbols[Group1] = [ Mode_switch, Multi_key ],
	virtualMods = AltGr
    };

};

// Description : A keymap for Malayalam
// Encoding    : Unicode (http://www.unicode.org)
// Author      : Baiju M <baiju@freeshell.org>
// Date        : Sat Aug  17 21:10:48 IST 2002
// Mapping:

partial alphanumeric_keys 
xkb_symbols "mal" {

    name[Group1] = "India - Malayalam";

    //From grave to backslash (\)
    
    key <TLDE> { [ U0d4a , U0d12           ] };

// svu: 
// These lines were in former "mal" variant - 
// but the digits are replaced with the ones from 'mal_plusnum' -
// for the integrity of all Indian layouts
//
//    key <AE01> { [1           ,     exclam           ] }; 
//    key <AE02> { [2           ,         at           ] };
//    key <AE03> { [3           , numbersign           ] };
//    key <AE04> { [4           ,     dollar           ] };
//    key <AE05> { [5           ,    percent           ] };
//    key <AE06> { [6           ,asciicircum           ] };
//    key <AE07> { [7           ,  ampersand           ] };
//    key <AE08> { [8           , asterisk           ] };
//    key <AE09> { [9           ,  parenleft           ] };
//    key <AE10> { [0           , parenright           ] };

      key <AE01> { [ U0d67 ,      exclam ] };
      key <AE02> { [ U0d68 ,          at ] };
      key <AE03> { [ U0d69 ,  numbersign ] };
      key <AE04> { [ U0d6a ,      dollar ] };
      key <AE05> { [ U0d6b ,     percent ] };
      key <AE06> { [ U0d6c , asciicircum ] };
      key <AE07> { [ U0d6d ,   ampersand ] };
      key <AE08> { [ U0d6e ,  asterisk ] };
      key <AE09> { [ U0d6f ,   parenleft ] };
      key <AE10> { [ U0d66 ,  parenright ] };

    key <AE11> { [ minus      , U0d03           ] };
    key <AE12> { [ U0d43 , U0d0b           ] };
    key <BKSL>  { [U0200c, U05C ]};//bksl: ZWNJ 

  
    // From 'q' to right bracket (])
    
    key <AD01> { [ U0d4c , U0d14 ] };
    key <AD02> { [ U0d48 , U0d10 ] };
    key <AD03> { [ U0d3e , U0d06 ] };
    key <AD04> { [ U0d40 , U0d08 ] };
    key <AD05> { [ U0d42 , U0d0a ] };
    key <AD06> { [ U0d2c , U0d2d ] };
    key <AD07> { [ U0d39 , U0d19 ] };
    key <AD08> { [ U0d17 , U0d18 ] };
    key <AD09> { [ U0d26 , U0d27 ] };
    key <AD10> { [ U0d1c , U0d1d ] };
    key <AD11> { [ U0d21 , U0d22 ] };
    key <AD12> { [ U0200d , U0d1e ] };

    // From 'a' to apostrophe (')
    
    key <AC01> { [ U0d4b , U0d13 ] };
    key <AC02> { [ U0d47 , U0d0f ] };
    key <AC03> { [ U0d4d , U0d05 ] };
    key <AC04> { [ U0d3f , U0d07 ] };
    key <AC05> { [ U0d41 , U0d09 ] };
    key <AC06> { [ U0d2a , U0d2b ] };
    key <AC07> { [ U0d30 , U0d31 ] };
    key <AC08> { [ U0d15 , U0d16 ] };
    key <AC09> { [ U0d24 , U0d25 ] };
    key <AC10> { [ U0d1a , U0d1b ] };
    key <AC11> { [ U0d1f , U0d20 ] };
    
    // From 'z' to slash (/)
    
    key <AB01> { [ U0d46 , U0d0e ] };
    key <AB02> { [ U0d02 , U200b ] };//X:ZWSP
    key <AB03> { [ U0d2e , U0d23 ] };
    key <AB04> { [ U0d28 ] };
    key <AB05> { [ U0d35 , U0d34 ] };
    key <AB06> { [ U0d32 , U0d33 ] };
    key <AB07> { [ U0d38 , U0d36 ] };
    key <AB08> { [ comma      , U0d37 ] };
    key <AB09> { [ period     , U0200d ] };
    key <AB10> { [ U0d2f , question   ] };

};

//Name		:	Lalitha
//Description	:	A transliteration keyboard layout for Malayalam
//Original Author :	Noah Levitt<nlevitt at columbia.edu>
//Current Main  : 	Jinesh K.J<jinesh.k@gmail.com>, Swathantra Malayalam Computing (SMC)<smc-discuss@googlegroups.com>

partial alphanumeric_keys
xkb_symbols "mal_lalitha" {
     name[Group1] = "India - Malayalam Lalitha";
     key.type="FOUR_LEVEL";
    //Top Alphanumeric row
    // Roman digits
    key <TLDE>  { [   U0D4D,	U0D02,		apostrophe, 	asciitilde ] }; // apostrophe: virama(chandrakala),anusvara
    key <AE01>  { [   1,	exclam,	U0D67,		exclam	   ] };
    key <AE02>  { [   2,	at,		U0D68,		at	   ] };
    key <AE03>  { [   3,    	numbersign, 	U0D69,		numbersign ] };
    key <AE04>  { [   4,	dollar,		U0D6A,		dollar     ] };
    key <AE05>  { [   5,	percent,	U0D6B,		percent    ] };
    key <AE06>  { [   6,	asciicircum,	U0D6C,		asciicircum ] };
    key <AE07>  { [   7,	ampersand,	U0D6D,		ampersand  ] };
    key <AE08>  { [   8,	asterisk,	U0D6E,		asterisk   ] };
    key <AE09>  { [   9,	parenleft,	U0D6F,		parenleft  ] };
    key <AE10>  { [   0,	parenright,	U0D66,		parenright ] };
    key <AE11>	{ [   minus,	underscore	     ] };
    key <AE12>	{ [   equal,	plus		     ] };
    key <BKSL>  { [   U005C,	U007C,		U200C	] };//backslash:pipe,backslash,ZWNJ 

    //Q Row	
    key <AD01>   { [   U0D48,	U0D4C,	U0D10,	U0D14  ] }; // Q: ai and au matras 
    key <AD02>   { [   U0D35	] };  // W: wa, OM
    key <AD03>   { [   U0D46,   U0D47,	U0D0E,	U0D0F   ] };  // E: e,ee matras
    key <AD04>   { [   U0D30,	U0D31,	U0D43,	U0D0B  	] };  // R: ra,rra, vocalic Ri
    key <AD05>   { [   U0D24,   U0D25,	U0D1F,	U0D20   ] };  // T: tha, ttha,ta,tta
    key <AD06>   { [   U0D2f    ] };  // Y: ya
    key <AD07>   { [   U0D41,   U0D42,	U0D09,	U0D0A   ] };  // U: u, uu matras
    key <AD08>   { [   U0D3F,   U0D40,	U0D07,	U0D08   ] };  // I: i, ii matras
    key <AD09>   { [   U0D4A,   U0D4B,	U0D12,	U0D13   ] };  // O: o, oo matras
    key <AD10>   { [   U0D2A   ] };  // P: pa
    key <AD11>   { [   bracketleft,   braceleft   ] };//braceleft:   
    key <AD12>	 { [   bracketright, braceright   ] };//braceright:
    
    //A Row
    key <AC01>   { [   U0D3E,	 U0D05,	U0D06,	U0D05  ] };   // A: a,aa
    key <AC02>   { [   U0D38,    U0D37   ] };  // S: sa, ssa
    key <AC03>   { [   U0D26,    U0D27,	U0D21,	U0D22   ] };  // D: soft da,soft dda,hard da,hard dda,
    key <AC04>   { [   U0D2B     ] };  // F: pha
    key <AC05>   { [   U0D17,    U0D18   ] };  // G: ga, gha
    key <AC06>   { [   U0D39,    U0D03   ] };  // H: ha, visarg 
    key <AC07>   { [   U0D1C,    U0D1D   ] };  // J: ja, jha
    key <AC08>   { [   U0D15,    U0D16   ] };  // K: ka, kha
    key <AC09>   { [   U0D32,	 U0D33   ] };  // L: la, vocalic L or lru matra`
    key <AC10>   { [   semicolon, colon  ] }; 
    key <AC11>   { [apostrophe, quotedbl ] };

    //Z Row
    key <AB01>   { [   U0D34,	 U0D36 	 ] };  // Z: sha,zha
    key <AB02>   { [   U0D4D,	 U200B  ] };  // X: chandrakala,ZWSP
    key <AB03>   { [   U0D1A,    U0D1B   ] };  // C: ca, cha
    key <AB04>   { [   U0D35,	 U200D  ] };  // V: va,ZWJ
    key <AB05>   { [   U0D2C,    U0D2D   ] };  // B: ba, bha
    key <AB06>   { [   U0D28,    U0D23,	U0D19,	U0D1E   ] };  // N: na, hard na,nga,nha
    key <AB07>   { [   U0D2E,	 U0D02  ] };  // M: ma
    key <AB08>   { [   comma,    U003C ] };// comma: comma
    key <AB09>   { [   period, 	 U003E ] };  // period: period
    key <AB10>	 { [   slash,   question ] };

   // begin modifier mappings
//    modifier_map Shift  { Shift_L };
//    modifier_map Lock   { Caps_Lock };
//    modifier_map Control{ Control_L };
//    modifier_map Mod3   { Mode_switch };
    include "level3(ralt_switch)"
};


partial alphanumeric_keys 
xkb_symbols "ori" {
    // Inscript layout for Oriya  
    // Author: G Karunakar <karunakar@freedomink.org>
    // Date: Wed Nov 13 18:16:19 IST 2002

    name[Group1]= "India - Oriya";
    
    key <AE01> { [  U0b67			] };
    key <AE02> { [  U0b68			] };
    key <AE03> { [  U0b69			] };
    key <AE04> { [  U0b6a			] };
    key <AE05> { [  U0b6b			] };
    key <AE06> { [  U0b6c			] };
    key <AE07> { [  U0b6d			] };
    key <AE08> { [  U0b6e			] };
    key <AE09> { [  U0b6f			] };
    key <AE10> { [  U0b66			] };
    key <AE11> { [  U0b03			] };
    key <AE12> { [  U0b43, U0b0b	] };

    key <AD01> { [  U0b4c, U0b14	] };
    key <AD02> { [  U0b48, U0b10	] };
    key <AD03> { [  U0b3e, U0b06	] };
    key <AD04> { [  U0b40, U0b08	] };
    key <AD05> { [  U0b42, U0b0a	] };
    key <AD06> { [  U0b2c, U0b2d	] };
    key <AD07> { [  U0b39, U0b19	] };
    key <AD08> { [  U0b17, U0b18	] };
    key <AD09> { [  U0b26, U0b27	] };
    key <AD10> { [  U0b1c, U0b1d	] };
    key <AD11> { [  U0b21, U0b22	] };
    key <AD12> { [  U0b3c, U0b1e	] };
 
    key <AC01> { [  U0b4b, U0b13	] };
    key <AC02> { [  U0b47, U0b0f	] };
    key <AC03> { [  U0b4d, U0b05	] };
    key <AC04> { [  U0b3f, U0b07	] };
    key <AC05> { [  U0b41, U0b09	] };
    key <AC06> { [  U0b2a, U0b2b	] };
    key <AC07> { [  U0b30			] };
    key <AC08> { [  U0b15, U0b16	] };
    key <AC09> { [  U0b24, U0b25	] };
    key <AC10> { [  U0b1a, U0b1b	] };
    key <AC11> { [  U0b1f, U0b20	] };
 
    key <AB02> { [  U0b02, U0b01	] };
    key <AB03> { [  U0b2e, U0b23	] };
    key <AB04> { [  U0b28			] };
    key <AB05> { [  U0b35			] };
    key <AB06> { [  U0b32, U0b33	] };
    key <AB07> { [  U0b38, U0b36	] };
    key <AB08> { [  comma     , U0b37	] };
    key <AB09> { [  period    				] };
    key <AB10> { [  U0b2f, U0040	] };

    key <RALT> {
	symbols[Group1] = [ Mode_switch, Multi_key ],
	virtualMods = AltGr
    };
};

// 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 $
// INSCRIPT
partial alphanumeric_keys 
xkb_symbols "tam" {
      name[Group1]= "India - Tamil";

      key <TLDE> { [      U0BCA, U0B92	]	};

      // Mainly numbers.
      key <AE01> { [      U0BE7 		]	};
      key <AE02> { [      U0BE8 		]	};
      key <AE03> { [      U0BE9 		]	};
      key <AE04> { [      U0BEA 		]	};
      key <AE05> { [      U0BEB 		]	};
      key <AE06> { [      U0BEC 		]	};
      key <AE07> { [      U0BED        	]	};
      key <AE08> { [      U0BEE 		]	};
      key <AE09> { [      U0BEF, parenleft	]	};
      key <AE10> { [      U0BF0, parenright	]	};
      key <AE11> { [      U0BF1, U0B83  ]	};
      key <AE12> { [      U0BF2, plus	] 	};

// Mainly long vowels

      key <AD01> { [      U0BCC,  U0B94 ]	};
      key <AD02> { [      U0BC8,  U0B90 ]	};
      key <AD03> { [      U0BBE,  U0B86 ]	};
      key <AD04> { [      U0BC0,  U0B88 ]	};
      key <AD05> { [      U0BC2,  U0B8A ]	};

// Mainly voiced consonants

      key <AD07> { [      U0BB9, U0B99	]	};
      key <AD12> { [      U0B9E				]	};

// Mainly short vowels
      key <AC01> { [      U0BCB,  U0B93 ]	};
      key <AC02> { [      U0BC7,  U0B8F ]	};
      key <AC03> { [      U0BCD,  U0B85 ]	};
      key <AC04> { [      U0BBF,  U0B87 ]	};
      key <AC05> { [      U0BC1,  U0B89 ]	};

// Mainly unvoiced consonants

      key <AC06> { [      U0BAA 		]	};
      key <AC07> { [      U0BB0,  U0BB1 ]	};
      key <AC08> { [      U0B95 		]	};
      key <AC09> { [      U0BA4 		]	};
      key <AC10> { [      U0B9A 		]	};
      key <AC11> { [      U0B9F 		]	};
      key <BKSL> { [      U005C, U007C	]	};//backslash-bar  - Changed to Unicode

      key <AB01> { [      U0BC6,  U0B8E	]	};
      key <AB02> { [      U0B82   		]       };
      key <AB03> { [      U0BAE,  U0BA3 ]       };
      key <AB04> { [      U0BA8,  U0BA9 ]       };
      key <AB05> { [      U0BB5,  U0BB4 ]       };
      key <AB06> { [      U0BB2,  U0BB3 ]       };
      key <AB07> { [      U0BB8		]       };
      key <AB08> { [      comma,      U0BB7 ]       };
      key <AB09> { [      period,     U0964 ]       };
      key <AB10> { [      U0BAF,  question  ]       };
};

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 <vasee@ieee.org>
// Date  : Sat Feb  9 21:10:48 CST 2002
// Mapping:
  
    name[Group1]= "India - Tamil Unicode";

    // granthas
    key <AE01> {  [ U0b83 ] } ;
    key <AE03> {  [ U0b9c ] } ;
    key <AE04> {  [ U0bb7 ] } ;
    key <AE05> {  [ U0bb8 ] } ;
    key <AE06> {  [ U0bb9 ] } ;
	
    // Qrow
    key <AD01> {  [ U0b9e ] };
    key <AD02> {  [ U0bb1 ] };
    key <AD03> {  [ U0ba8 ] };
    key <AD04> {  [ U0b9a ] };
    key <AD05> {  [ U0bb5 ] };
    key <AD06> {  [ U0bb2 ] };
    key <AD07> {  [ U0bb0 ] };
    key <AD08> {  [ U0bc8, U0b90 ] };
    key <AD09> {  [ U0bca, U0bcb ] };
    key <AD10> {  [ U0bbf, U0bc0 ] };
    key <AD11> {  [ U0bc1, U0bc2 ] };

    // Arow
    key <AC01> { [ U0baf ] };
    key <AC02> { [ U0bb3 ] };
    key <AC03> { [ U0ba9 ] };
    key <AC04> { [ U0b95 ] };
    key <AC05> { [ U0baa ] };
    key <AC06> { [ U0bbe, U0bb4 ] };
    key <AC07> { [ U0ba4 ] };
    key <AC08> { [ U0bae ] };
    key <AC09> { [ U0b9f ] };
    key <AC10> { [ U0bcd ] };
    key <AC11> { [ U0b99 ] };
    
    // Zrow
    key <AB01> { [ U0ba3 ]  };
    key <AB02> { [ U0b92, U0b93 ]  };
    key <AB03> { [ U0b89, U0b8a ]  };
    key <AB04> { [ U0b8e, U0b8f ]  };
    key <AB05> { [ U0bc6, U0bc7 ]  };
    key <AB06> { [ U0b94, U0bcc ]  };
    key <AB07> { [ U0b85, U0b86 ]  };
    key <AB08> { [ U0b87, U0b88 ]  };
};

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 <vasee@ieee.org>
// Last Modified: Sat Jan  5 17:11:26 CST 2002

    name[Group1]= "India - Tamil TSCII Typewriter";

    key <AE01> {  [ 0x10000b7, 0x10000a4 ] }; // aytham
    key <AE02> {  [ 0x1000082, 0x10000a5 ] }; // shri
    key <AE03> {  [ 0x1000083, 0x1000088 ] }; // ja
    key <AE04> {  [ 0x1000084, 0x1000089 ] }; // sha
    key <AE05> {  [ 0x1000085, 0x100008a ] }; // sa
    key <AE06> {  [ 0x1000086, 0x100008b ] }; // ha
    key <AE07> {  [ 0x1000087, 0x100008c ] }; // ksha
	
    // Qrow
    key <AD01> {  [ 0x10000bb, 0x100009a ] }; // nja
    key <AD02> {  [ 0x10000c8, 0x10000da ] }; // Ra
    key <AD03> {  [ 0x10000bf, 0x10000d1 ] }; // NNa
    key <AD04> {  [ 0x10000ba, 0x10000cd ] }; // ca
    key <AD05> {  [ 0x10000c5, 0x10000d7 ] }; // va
    key <AD06> {  [ 0x10000c4, 0x10000d6 ] }; // la
    key <AD07> {  [ 0x10000c3, 0x10000d5 ] }; // ra
    key <AD08> {  [ 0x10000a8, 0x10000b3 ] }; // sangili, ai
    key <AD09> {  [ 0x10000ca, 0x10000cb ] }; // di, dI
    key <AD10> {  [ 0x10000a2, 0x10000a3 ] }; // visiri
    key <AD11> {  [ dead_acute, 0x10000a3 ] }; // Ukaaram

    // Arow
    key <AC01> { [ 0x10000c2, 0x10000d4 ] }; // ya
    key <AC02> { [ 0x10000c7, 0x10000d9 ] }; // La
    key <AC03> { [ 0x10000c9, 0x10000db ] }; // na
    key <AC04> { [ 0x10000b8, 0x10000cc ] }; // ka
    key <AC05> { [ 0x10000c0, 0x10000d2 ] }; // pa
    key <AC06> { [ dead_grave,0x10000a1 ] }; // pulli,aravu
    key <AC07> { [ 0x10000be, 0x10000d0 ] }; // tha
    key <AC08> { [ 0x10000c1, 0x10000d3 ] }; // ma
    key <AC09> { [ 0x10000bc, 0x10000ce ] }; // da
    key <AC10> { [ 0x10000c6, 0x10000d8 ] }; // zha
    key <AC11> { [ 0x10000b9, 0x1000099 ] }; // nga
    
    // Zrow
    key <AB01> { [ 0x10000bd, 0x10000cf ] }; // Na
    key <AB02> { [ 0x10000b4, 0x10000b5 ] }; // o, O
    key <AB03> { [ 0x10000af, 0x10000b0 ] }; // u, U
    key <AB04> { [ 0x10000b1, 0x10000b2 ] }; // e, E
    key <AB05> { [ 0x10000a6, 0x10000a7 ] }; // kombus
    key <AB06> { [ 0x10000b6, 0x10000aa ] }; // au
    key <AB07> { [ 0x10000ab, 0x10000ac ] }; // a, A
    key <AB08> { [ 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 <t_vasee@yahoo.com>
// Date  : Sun Aug 12 02:23:00 CDT 2001

    name[Group1]= "India - Tamil TAB Typewriter";

    // numeral row
    key <AE01> {  [ 0x10000e7, 0x10000a7 ] } ;
    key <AE02> {  [ 0x10000fa, 0x10000a8 ] } ;
    key <AE03> {  [ 0x10000fb ] } ;
    key <AE04> {  [ 0x10000fc ] } ;
    key <AE05> {  [ 0x10000fd ] } ;
    key <AE06> {  [ 0x10000fe ] } ;
    key <AE07> {  [ 0x10000ff ] } ;
	
    // q-row
    key <AD01> {  [ 0x10000eb, 0x10000b3 ] };
    key <AD02> {  [ 0x10000f8, 0x10000c1 ] };
    key <AD03> {  [ 0x10000ef, 0x10000b8 ] };
    key <AD04> {  [ 0x10000ea, 0x10000b2 ] };
    key <AD05> {  [ 0x10000f5, 0x10000be ] };
    key <AD06> {  [ 0x10000f4, 0x10000bd ] };
    key <AD07> {  [ 0x10000f3, 0x10000bc ] };
    key <AD08> {  [ 0x10000ac, 0x10000e4 ] };
    key <AD09> {  [ 0x10000ae, 0x10000af ] };
    key <AD10> {  [ 0x10000a4, 0x10000a6 ] };
    key <AD11> {  [ dead_circumflex, 0x10000a6 ] }; // Ukaaram

    // a-row
    key <AC01> {  [ 0x10000f2, 0x10000bb ] };
    key <AC02> {  [ 0x10000f7, 0x10000c0 ] };
    key <AC03> {  [ 0x10000f9, 0x10000c2 ] };
    key <AC04> {  [ 0x10000e8, 0x10000b0 ] };
    key <AC05> {  [ 0x10000f0, 0x10000b9 ] };
    key <AC06> {  [ 0x10000a2, 0x10000a3 ] };
    key <AC07> {  [ 0x10000ee, 0x10000b6 ] };
    key <AC08> {  [ 0x10000f1, 0x10000ba ] };
    key <AC09> {  [ 0x10000ec, 0x10000b4 ] };
    key <AC10> {  [ 0x10000f6, 0x10000bf ] };
    key <AC11> {  [ 0x10000e9, 0x10000b1 ] };
    
    // z-row
    key <AB01> {  [ 0x10000ed, 0x10000b5 ] };
    key <AB02> {  [ 0x10000e5, 0x10000e6 ] };
    key <AB03> {  [ 0x10000e0, 0x10000e1 ] };
    key <AB04> {  [ 0x10000e2, 0x10000e3 ] };
    key <AB05> {  [ 0x10000aa, 0x10000ab ] };
    key <AB06> {  [ 0x10000ac, 0x10000a3 ] };
    key <AB07> {  [ 0x10000dc, 0x10000dd ] };
    key <AB08> {  [ 0x10000de, 0x10000df ] };
};

partial alphanumeric_keys 
xkb_symbols "tel" {

    // Inscript layout for Telugu using Unicode 
    // Author: G Karunakar <karunakar@freedomink.org>
    // Date:
    // See layout at http://www.indlinux.org/keymap/telugu.php

    name[Group1]= "India - Telugu";

    key <TLDE> { [  U0c4a, U0c12	] };
    key <AE01> { [  U0c67			] };
    key <AE02> { [  U0c68			] };
    key <AE03> { [  U0c69, numbersign	] };
    key <AE04> { [  U0c6a, dollar		] };
    key <AE05> { [  U0c6b, percent		] };
    key <AE06> { [  U0c6c, asciicircum	] };
    key <AE07> { [  U0c6d, ampersand	] };
    key <AE08> { [  U0c6e, asterisk	] };
    key <AE09> { [  U0c6f, parenleft	] };
    key <AE10> { [  U0c66, parenright	] };
    key <AE11> { [  U0c03, underscore	] };
    key <AE12> { [  U0c43, U0c0b	] };
    key <BKSP> { [  BackSpace			] };    
 
    key <AD01> { [  U0c4c, U0c14	] };
    key <AD02> { [  U0c48, U0c10	] };
    key <AD03> { [  U0c3e, U0c06	] };
    key <AD04> { [  U0c40, U0c08	] };
    key <AD05> { [  U0c42, U0c0a	] };
    key <AD06> { [  U0c2c, U0c2d	] };
    key <AD07> { [  U0c39, U0c19	] };
    key <AD08> { [  U0c17, U0c18	] };
    key <AD09> { [  U0c26, U0c27	] };
    key <AD10> { [  U0c1c, U0c1d	] };
    key <AD11> { [  U0c21, U0c22	] };
    key <AD12> { [  U0c1e			] };
  
    key <AC01> { [  U0c4b, U0c13	] };
    key <AC02> { [  U0c47, U0c0f	] };
    key <AC03> { [  U0c4d, U0c05	] };
    key <AC04> { [  U0c3f, U0c07	] };
    key <AC05> { [  U0c41, U0c09	] };
    key <AC06> { [  U0c2a, U0c2b	] };
    key <AC07> { [  U0c30, U0c31	] };
    key <AC08> { [  U0c15, U0c16	] };
    key <AC09> { [  U0c24, U0c25	] };
    key <AC10> { [  U0c1a, U0c1b	] };
    key <AC11> { [  U0c1f, U0c20	] };
 
    key <AB01> { [  U0c46, U0c0e	] };
    key <AB02> { [  U0c02, U0c01	] };
    key <AB03> { [  U0c2e, U0c23	] };
    key <AB04> { [  U0c28			] };
    key <AB05> { [  U0c35			] };
    key <AB06> { [  U0c32, U0c33	] };
    key <AB07> { [  U0c38, U0c36	] };
    key <AB08> { [  comma     , U0c37	] };
    key <AB09> { [  period    				] };
    key <AB10> { [  U0c2f, U0040	] };

    key <RALT> {        
        symbols[Group1] = [ Mode_switch, Multi_key ],
        virtualMods = AltGr
    };
};

partial alphanumeric_keys 
xkb_symbols "urd-phonetic" {
    include "pk(urd-phonetic)"
    name[Group1]= "India - Urdu, Phonetic";
};

partial alphanumeric_keys 
xkb_symbols "urd-phonetic3" {
    include "pk(urd-crulp)"
    name[Group1]= "India - Urdu, Alternative phonetic";
};

partial alphanumeric_keys 
xkb_symbols "urd-winkeys" {
    include "pk(urd-nla)"
    name[Group1]= "India - Urdu, Winkeys";
};

// based on a keyboard map from an 'xkb/symbols/gur' file

partial alphanumeric_keys
xkb_symbols "guru" {
      name[Group1]= "India - Gurmukhi";

      // Mainly numbers.
      key <AE01> { [      U0A67 		]	};
      key <AE02> { [      U0A68		]	};
      key <AE03> { [      U0A69, U0A71	]	};
      key <AE04> { [      U0A6A, U0A74	 	]	};
      key <AE05> { [      U0A6B, U262C		]	};
      key <AE06> { [      U0A6C  	 	]	};
      key <AE07> { [      U0A6D 		]	};
      key <AE08> { [      U0A6e  	 	]	};
      key <AE09> { [      U0A6F, parenleft 	]	};
      key <AE10> { [      U0A66, parenright ]	};
      key <AE11> { [      gur_visarga 	 	]	};
      key <AE12> { [      equal,	plus 	]	};

// Mainly long vowels

      key <AD01> { [      U0A4C, U0A14  ]	};
      key <AD02> { [      U0A48, U0A10  ]	};
      key <AD03> { [      U0A3E, U0A06  ]	};
      key <AD04> { [      U0A40, U0A08  ]	};
      key <AD05> { [      U0A42, U0A0A  ]	};

// Mainly voiced consonants

      key <AD06> { [      U0A2C, U0A2D 	]	};
      key <AD07> { [      U0A39, U0A19 	]	};
      key <AD08> { [      U0A17, U0A18 	]	};
      key <AD09> { [      U0A26, U0A27 	]	};
      key <AD10> { [      U0A1C, U0A1D 	]	};
      key <AD11> { [      U0A21, U0A22 	]	};
      key <AD12> { [      U0A3C, U0A1E 	]	};

// Mainly short vowels
      key <AC01> { [      U0A4B, U0A13  ]	};
      key <AC02> { [      U0A47, U0A0F  ]	};
      key <AC03> { [      U0A4D, U0A05  ]	};
      key <AC04> { [      U0A3F, U0A07  ]	};
      key <AC05> { [      U0A41, U0A09  ]	};

// Mainly unvoiced consonants

      key <AC06> { [      U0A2A, U0A2B 	]	};
      key <AC07> { [      U0A30, U0A5C 	]	};
      key <AC08> { [      U0A15, U0A16 	]	};
      key <AC09> { [      U0A24, U0A25 	]	};
      key <AC10> { [      U0A1A, U0A1B 	]	};
      key <AC11> { [      U0A1F, U0A20 	]	};
      key <BKSL> { [      U005C, U007C	]	};

      key <AB01> { [      z, 	 U0A01	]       };
      key <AB02> { [      U0A02, U0A70, U0A71  ]       };
      key <AB03> { [      U0A2E, U0A23  ]       };
      key <AB04> { [      U0A28, U0A28  ]       };
      key <AB05> { [      U0A35, U0A35  ]       };
      key <AB06> { [      U0A32, U0A33  ]       };
      key <AB07> { [      U0A38, U0A36  ]       };
      key <AB08> { [      comma,     less       ]       };
      key <AB09> { [      period,    U0964  ]       };
      key <AB10> { [      U0A2F, question   ]       };
};

//Name		:	Jhelum (Refind Inscript)
//Description	:	A Jhelum keyboard layout for Gurmukhi (Punjabi)
//			http://www.satluj.org/Jhelum.html
//Modified for Inscript to make
//Original Author :	Amanpreet Singh Alam <apreet.alam@gmail.com
 
partial alphanumeric_keys
xkb_symbols "jhelum" {
      name[Group1] = "India - Gurmukhi Jhelum";
          key.type="FOUR_LEVEL";
     //Top Alphanumeric row
     // Roman digits
     key <TLDE>  { [  apostrophe, asciitilde, U0A02,U0A01 ] }; // apostrophe: anusvara, candrabindu
     key <AE01>  { [   1,exclam,	U0A67,	exclam	   ] };
     key <AE02>  { [   2,at,	U0A68,	at	   ] };
     key <AE03>  { [   3,numbersign, U0A69,	numbersign ] };
     key <AE04>  { [   4,dollar,	U0A6A,	dollar     ] };
     key <AE05>  { [   5,percent,U0A6B,	percent    ] };
     key <AE06>  { [   6,asciicircum, U0A6C,asciicircum ] };
     key <AE07>  { [   7,ampersand,U0A6D,ampersand  ] };
     key <AE08>  { [   8,asterisk,U0A6E,	asterisk   ] };
     key <AE09>  { [   9,parenleft,U0A6F,parenleft  ] };
     key <AE10>  { [   0,parenright,U0A66,parenright ] };
     key <AE11>	{ [   minus,underscore] };
     key <AE12>	{ [   equal,plus] };
     key <BKSL>  { [   U0964,U0965,U007C,U005C] }; //pipe : danda, double danda
 
     //Q Row	
     key <AD01>   { [   U0A4C, 	U0A14   ] };  // Q: oo, ooh
     key <AD02>   { [   U0A48,  	U0A10	] };  // W: ee, ae
     key <AD03>   { [   U0A3E,   U0A06  ] };  // E: a, aa
     key <AD04>   { [   U0A40,	U0A08  	] };  // R: ee, ai
     key <AD05>   { [   U0A42,   U0A0A   ] };  // T: u, uu
     key <AD06>   { [   U0A30,	U0A5C   ] };  // Y: ra, raa
     key <AD07>   { [   U0A26,   U0A27   ] };  // U: tha, thha
     key <AD08>   { [   U0A17,   U0A18   ] };  // I:ga, gha
     key <AD09>   { [   U0A24,   U0A1F   ] };  // O: ta, tha
     key <AD10>   { [   U0A2A,   U0A5E   ] };  // P: pa, pha
     key <AD11>   { [   U0A21,   U0A22,   bracketleft,   braceleft   ] };  
     key <AD12>	 { [   U0A19,   U0A1E,   bracketright, braceright   ] };
     
     //A Row
     key <AC01>   { [   U0A4B,	 U0A13  ] };   // A: o, oo
     key <AC02>   { [   U0A40,    U0A0F   ] };  // S: e, ee
     key <AC03>   { [   U0A4D,    U0A05   ] };  // D: halant, aa
     key <AC04>   { [   U0A3F,    U0A07   ] };  // F: i, aa
     key <AC05>   { [   U0A41,    U0A09   ] };  // G: u, uh
     key <AC06>   { [   U0A39,    U0A20   ] };  // H: ha, thha
     key <AC07>   { [   U0A1C,    U0A1D   ] };  // J: ja, jha
     key <AC08>   { [   U0A15,    U0A16   ] };  // K: ka, kha
     key <AC09>   { [   U0A32,	 U0A25   ] };  // L: la, tha
     key <AC10>   { [   U0A38,   semicolon, colon  ] }; //; sa
     key <AC11>   { [apostrophe, quotedbl ] };
 
     //Z Row
     key <AB01>   { [   U0A71,	 U0A3C 	 ] };  // Z: addak, par bindi
     key <AB02>   { [   U0A02,    U0A70	 ] };  // X: bindi, tippi
     key <AB03>   { [   U0A1A,    U0A1B   ] };  // C: ca, cha
     key <AB04>   { [   U0A35,    U0A2F   ] };  // V: va, ya
     key <AB05>   { [   U0A2C,    U0A2D   ] };  // B: ba, bha
     key <AB06>   { [   U0A28,    U0A23   ] };  // N: na, nha
     key <AB07>   { [   U0A2E, U0A2E       ] };  // M: ma
     key <AB08>   { [   comma,    U262C	 ] };// comma: comma, dev abbreviation sign
     key <AB09>   { [   period,   U0A74 	 ] };  // period: period, nukta
     key <AB10>	 { [   slash,   question ] };
 
// begin modifier mappings
//    modifier_map Shift  { Shift_L };
//    modifier_map Lock   { Caps_Lock };
//    modifier_map Control{ Control_L };
//    modifier_map Mod3   { Mode_switch };
    include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "olpc" {

// Contact: Walter Bender <walter@laptop.org>

  include "in(deva)"
  key <TLDE> { [	U094A,	U0912 ] }; // DEVANAGARI VOWEL SIGN SHORT O; DEVANAGARI LETTER SHORT O
  key <AE01> { [	U0967,	U090D ] }; // DEVANAGARI DIGIT ONE; DEVANAGARI LETTER CANDRA E
  key <AE02> { [	U0968,	U0945 ] }; // DEVANAGARI DIGIT TWO; DEVANAGARI VOWEL SIGN CANDRA E
  key <AE03> { [	U0969	 ] }; // DEVANAGARI DIGIT THREE; 
  key <AE04> { [	U096A	 ] }; // DEVANAGARI DIGIT FOUR; 
  key <AE05> { [	U096B	 ] }; // DEVANAGARI DIGIT FIVE; 
  key <AE06> { [	U096C	 ] }; // DEVANAGARI DIGIT SIX; 
  key <AE07> { [	U096D	 ] }; // DEVANAGARI DIGIT SEVEN; 
  key <AE08> { [	U096E	 ] }; // DEVANAGARI DIGIT EIGHT; 
  key <AE09> { [	U096F,	parenleft ] }; // DEVANAGARI DIGIT NINE; 
  key <AE10> { [	U0966,	parenright ] }; // DEVANAGARI DIGIT ZERO; 
  key <AE11> { [	minus,		U0903 ] }; // DEVANAGARI SIGN VISARGA; 
  key <AE12> { [	U0943,	U090B ] }; // DEVANAGARI VOWEL SIGN VOCALIC R; DEVANAGARI LETTER VOCALIC R

  key <AD01> { [	U094C,	U0914 ] }; // DEVANAGARI VOWEL SIGN AU; DEVANAGARI LETTER AU
  key <AD02> { [	U0948,	U0910 ] }; // DEVANAGARI VOWEL SIGN AI; DEVANAGARI LETTER AI
  key <AD03> { [	U093E,	U0906 ] }; // DEVANAGARI VOWEL SIGN AA; DEVANAGARI LETTER AA
  key <AD04> { [	U0940,	U0908 ] }; // DEVANAGARI VOWEL SIGN II; DEVANAGARI LETTER II
  key <AD05> { [	U0942,	U090A ] }; // DEVANAGARI VOWEL SIGN UU; DEVANAGARI LETTER UU
  key <AD06> { [	U092C,	U092D ] }; // DEVANAGARI LETTER BA; DEVANAGARI LETTER BHA
  key <AD07> { [	U0939,	U0919 ] }; // DEVANAGARI LETTER HA; DEVANAGARI LETTER NGA
  key <AD08> { [	U0917,	U0918 ] }; // DEVANAGARI LETTER GA; DEVANAGARI LETTER GHA
  key <AD09> { [	U0926,	U0927 ] }; // DEVANAGARI LETTER DA; DEVANAGARI LETTER DHA
  key <AD10> { [	U091C,	U091D ] }; // DEVANAGARI LETTER JA; DEVANAGARI LETTER JHA
  key <AD11> { [	U0921,	U0922 ] }; // DEVANAGARI LETTER DDA; DEVANAGARI LETTER DDHA
  key <AD12> { [	U093C,	U091E ] }; // DEVANAGARI SIGN NUKTA; DEVANAGARI LETTER NYA

  key <BKSL> { [	U0949,	U0911 ] }; // DEVANAGARI VOWEL SIGN CANDRA O; DEVANAGARI LETTER CANDRA O

  key <AC01> { [	U094B,	U0913 ] }; // DEVANAGARI VOWEL SIGN O; DEVANAGARI LETTER O
  key <AC02> { [	U0947,	U090F ] }; // DEVANAGARI VOWEL SIGN E; DEVANAGARI LETTER E
  key <AC03> { [	U094D,	U0905 ] }; // DEVANAGARI SIGN VIRAMA; DEVANAGARI LETTER A
  key <AC04> { [	U093F,	U0907 ] }; // DEVANAGARI VOWEL SIGN I; DEVANAGARI LETTER I
  key <AC05> { [	U0941,	U0909 ] }; // DEVANAGARI VOWEL SIGN U; DEVANAGARI LETTER U
  key <AC06> { [	U092A,	U092B ] }; // DEVANAGARI LETTER PA; DEVANAGARI LETTER PHA
  key <AC07> { [	U0930,	U0931 ] }; // DEVANAGARI LETTER RA; DEVANAGARI LETTER RRA
  key <AC08> { [	U0915,	U0916 ] }; // DEVANAGARI LETTER KA; DEVANAGARI LETTER KHA
  key <AC09> { [	U0924,	U0925 ] }; // DEVANAGARI LETTER TA; DEVANAGARI LETTER THA
  key <AC10> { [	U091A,	U091B ] }; // DEVANAGARI LETTER CA; DEVANAGARI LETTER CHA
  key <AC11> { [	U091F,	U0920 ] }; // DEVANAGARI LETTER TTA; DEVANAGARI LETTER TTHA

  key <AB01> { [	U0946,	U090E ] }; // DEVANAGARI VOWEL SIGN SHORT E; DEVANAGARI LETTER SHORT E
  key <AB02> { [	U0902,	U0901 ] }; // DEVANAGARI SIGN ANUSVARA; DEVANAGARI SIGN CANDRABINDU
  key <AB03> { [	U092E,	U0923 ] }; // DEVANAGARI LETTER MA; DEVANAGARI LETTER NNA
  key <AB04> { [	U0928,	U0929 ] }; // DEVANAGARI LETTER NA; DEVANAGARI LETTER NNNA
  key <AB05> { [	U0935,	U0934 ] }; // DEVANAGARI LETTER VA; DEVANAGARI LETTER LLLA
  key <AB06> { [	U0932,	U0933 ] }; // DEVANAGARI LETTER LA; DEVANAGARI LETTER LLA
  key <AB07> { [	U0938,	U0936 ] }; // DEVANAGARI LETTER SA; DEVANAGARI LETTER SHA
  key <AB08> { [	comma,		U0937 ] }; // DEVANAGARI LETTER SSA
  key <AB09> { [	period,		U0964 ] }; // DEVANAGARI DANDA
  key <AB10> { [	U092F,	U095F ] }; // DEVANAGARI LETTER YA; DEVANAGARI LETTER YYA

  key <SPCE> { [	space,		space,	U200C,	U200D ] }; // ZERO-WIDTH-NON-JOINER (ZWNJ); ZERO-WIDTH-JOINER (ZWJ)

  include "group(olpc)"
};

partial alphanumeric_keys 
xkb_symbols "hin-wx" {

    name[Group1]= "India - Hindi Wx";

      key <TLDE> {	 [     grave, asciitilde, 2, 3    ]	};

      key <AE01> {	 [      0x1000967, exclam 		]	};
      key <AE02> {	 [      0x1000968, at 		]	};
      key <AE03> {	 [      0x1000969 , numbersign	 		]	};
      key <AE04> {	 [      0x100096A , dollar		]	};
      key <AE05> {	 [      0x100096B , percent 	 		]	};
      key <AE06> {	 [      0x100096C , asciicircum	 		]	};
      key <AE07> {	 [      0x100096D , ampersand                       ]	};
      key <AE08> {	 [      0x100096e , asterisk 	 		]	};
      key <AE09> {	 [      0x100096F, parenleft 		]	};
      key <AE10> {	 [      0x1000966, parenright 		]	};
      key <AE11> {	 [      minus, underscore 	 		]	};
      key <AE12> {	 [      equal, plus 		]	};


      key <AD01> {	 [      0x1000943,  0x1000944, 0x100090B, 0x1000960]	};
      key <AD02> {	 [      0x1000924,  0x1000925       	]	};
      key <AD03> {	 [      0x1000947,  0x1000948, 0x100090F, 0x1000910]	};
      key <AD04> {	 [      0x1000930,  0x1000937       	]	};
      key <AD05> {	 [      0x100091F,  0x1000920       	]	};


      key <AD06> {	 [      0x100092F 		]	};
      key <AD07> {	 [      0x1000941,  0x1000942, 0x1000909, 0x100090A ]	};
      key <AD08> {	 [      0x100093F,  0x1000940, 0x1000907, 0x1000908 ]	};
      key <AD09> {	 [      0x100094B,  0x100094C, 0x1000913, 0x1000914]	};
      key <AD10> {	 [      0x100092A,  0x100092B 		]	};
      key <AD11> {	 [      bracketleft, braceleft  		]	};
      key <AD12> {	 [      bracketright, braceright  		]	};
      key <BKSL> {       [      backslash, bar, 0x1000964, 0x1000965 ] };

      key <AC01> {	 [      0x100094D,  0x100093E, 0x1000905,0x1000906 ] 	};
      key <AC02> {	 [      0x1000938,  0x1000936       	]	};
      key <AC03> {	 [      0x1000921,  0x1000922       	]	};
      key <AC04> {	 [      0x1000919,  0x100091E       	]	};
      key <AC05> {	 [      0x1000917,  0x1000918       	]	};


      key <AC06> {	 [      0x1000939,  0x1000903 		]	};
      key <AC07> {	 [      0x100091C,  0x100091D 		]	};
      key <AC08> {	 [      0x1000915,  0x1000916 		]	};
      key <AC09> {	 [      0x1000932,  0x1000962, 0x1000933, 0x100090C]	};
      key <AC10> {	 [      semicolon, colon  		]	};
      key <AC11> {	 [      quoteright, quotedbl 		]	};
      key <BKSL> {	 [      backslash,         bar  		]	};

      key <AB01> {	 [      0x1000901,   0x100093C, 0x100093D, 0x1000950]   };
      key <AB02> {       [      0x1000926,   0x1000927      ]       };
      key <AB03> {       [      0x100091A,   0x100091B         ]       };
      key <AB04> {       [      0x1000935,   dead_V        ]       };
      key <AB05> {       [      0x100092C,   0x100092D        ]       };
      key <AB06> {       [      0x1000928,   0x1000923         ]       };
      key <AB07> {       [      0x100092E,   0x1000902         ]       };
      key <AB08> {       [      comma,       less         ]       };
      key <AB09> {       [      period,      greater       ]       };
      key <AB10> {       [      slash,      question        ]       };

    include "level3(ralt_switch)"
};