Home | History | Annotate | Line # | Download | only in symbols
mv revision 1.1.1.3
      1 //
      2 // NOTES:
      3 //
      4 //Keymap for thaana/divehi script (divehi language)
      5 
      6 partial default alphanumeric_keys
      7 xkb_symbols "basic" {
      8 
      9     name[Group1]="Dhivehi";
     10 
     11 // The key <TLDE> should have the same values as US_en keyboard
     12 
     13     key <TLDE> { [	quoteleft,        asciitilde   ]       };
     14     key <AE01> { [               1,          exclam      ]       };
     15     key <AE02> { [               2,              at      ]       };
     16     key <AE03> { [               3,      numbersign      ]       };
     17     key <AE04> { [               4,          dollar      ]       };
     18     key <AE05> { [               5,         percent      ]       };
     19     key <AE06> { [               6,     asciicircum      ]       };
     20     key <AE07> { [               7,       ampersand      ]       };
     21     key <AE08> { [               8,        asterisk      ]       };
     22     key <AE09> { [               9,       parenleft      ]       };
     23     key <AE10> { [               0,      parenright      ]       };
     24     key <AE11> { [           minus,      underscore      ]       };
     25     key <AE12> { [           equal,            plus      ]       };
     26 						
     27     key <AD01> { [	0x10007B0,	0x10007A4      ]       };
     28     key <AD02> { [	0x1000787,	0x10007A2      ]       };
     29     key <AD03> { [	0x10007AC,     	0x10007AD      ]       };
     30     key <AD04> { [	0x1000783,     	0x100079C      ]       };
     31     key <AD05> { [	0x100078C,      0x1000793      ]       };
     32     key <AD06> { [	0x1000794, 	0x10007A0      ]       };
     33     key <AD07> { [	0x10007AA,      0x10007AB      ]       };
     34     key <AD08> { [	0x10007A8,      0x10007A9      ]       };
     35     key <AD09> { [	0x10007AE,      0x10007AF      ]       };
     36     key <AD10> { [	0x1000795,    	division       ]       };
     37 // The following brackets are as they appear on the US_en keyboard. 
     38 //Please verify whether the names used are correct. I referred to keysymdef.h
     39     key <AD11> {	[ 	bracketleft,	braceleft      ]	};
     40     key <AD12> {	[ 	bracketright,	braceright     ]	};
     41 
     42 
     43     key <AC01> { [	0x10007A6,       0x10007A7     ]       };
     44     key <AC02> { [	0x1000790,       0x1000781     ]       };
     45     key <AC03> { [	0x100078B,       0x1000791     ]       };
     46     key <AC04> { [	0x100078A,       0x100fdf2     ]       };
     47     key <AC05> { [	0x100078E,       0x10007A3     ]       };
     48     key <AC06> { [	0x1000780,	 0x1000799     ]       };
     49     key <AC07> { [	0x1000796,       0x100079B     ]       };
     50     key <AC08> { [	0x1000786,       0x100079A     ]       };
     51     key <AC09> { [	0x100078D,       0x1000785     ]       };
     52     key <AC10> { [	semicolon,       colon         ]       };
     53 //I used singleloquotemark- if this is the wrong name, please replace with the name for the 
     54 //standard US_en keyboard format- its the same in the Thaana phonetic keyboard
     55     key <AC11> { [      quoteright,        quotedbl      ]       };
     56     key <BKSL> { [ 	backslash,	 bar           ]       };
     57 
     58     key <LSGT> { [        bar,      	brokenbar	]       };
     59     key <AB01> { [ 	0x1000792,    	0x10007A1       ]       };
     60 //multiply sign is the same as the algebraic symbol which looks like an italicized x. I am presuming its the same thing here. If not, please substitute an 'x' instead
     61     key <AB02> { [	multiply,      	0x1000798	  ]       };
     62     key <AB03> { [	0x1000797,     	0x100079D	  ]       };
     63     key <AB04> { [	0x1000788,      0x10007A5	  ]       };
     64     key <AB05> { [	0x1000784,      0x100079E         ]       };
     65     key <AB06> { [	0x1000782, 	0x100078F 	  ]       };
     66     key <AB07> { [	0x1000789,    	0x100079F         ]       };
     67     key <AB08> { [	Arabic_comma,   less              ]       };
     68     key <AB09> { [	period,         greater           ]       };
     69     key <AB10> { [	slash, 		Arabic_question_mark ]       };
     70 
     71     // End alphanumeric section
     72     
     73     // Begin modifier mappings 
     74 
     75     modifier_map Shift  { Shift_L };
     76     modifier_map Lock   { Caps_Lock, ISO_Lock };
     77     modifier_map Control{ Control_L };
     78     modifier_map Mod3   { Mode_switch };
     79 };
     80 
     81 // Any additional keys (if need be added) should appear and function exactly as it does on the US_en keyboard.
     82