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