summaryrefslogtreecommitdiff
path: root/symbols
diff options
context:
space:
mode:
Diffstat (limited to 'symbols')
-rw-r--r--symbols/Makefile.am2
-rw-r--r--symbols/mi45
2 files changed, 46 insertions, 1 deletions
diff --git a/symbols/Makefile.am b/symbols/Makefile.am
index a3b842d..274d00d 100644
--- a/symbols/Makefile.am
+++ b/symbols/Makefile.am
@@ -16,7 +16,7 @@ is it iu \
jp \
kan la latin \
lo lt lv \
-mk ml mm mn \
+mi mk ml mm mn \
mt nl \
no ogham ori \
pc pl \
diff --git a/symbols/mi b/symbols/mi
new file mode 100644
index 0000000..e08c2ed
--- /dev/null
+++ b/symbols/mi
@@ -0,0 +1,45 @@
+partial default alphanumeric_keys
+xkb_symbols "basic" {
+
+ key <AC01> { [ a, A ],
+ [ amacron, Amacron ] };
+ key <AD03> { [ e, E ],
+ [ emacron, Emacron ] };
+ key <AD08> { [ i, I ],
+ [ imacron, Imacron ] };
+ key <AD09> { [ o, O ],
+ [ omacron, Omacron ] };
+ key <AD07> { [ u, U ],
+ [ umacron, Umacron ] };
+
+ modifier_map Shift { Shift_L };
+ modifier_map Lock { Caps_Lock };
+ modifier_map Control{ Control_L };
+ modifier_map Mod3 { Mode_switch };
+};
+---------------------------/etc/X11/xkb/symbols/pc/mi-------------------
+
+// based on a keyboard map from an 'xkb/symbols/mi' file
+//
+
+partial default alphanumeric_keys
+xkb_symbols "basic" {
+
+ // Adds the macrons needed for the Maori language to
+ // a simple us keyboard layout.
+
+ include "pc/latin"
+
+ name[Group1]="Maori";
+
+ key <AC01> { [ a, A, amacron, Amacron ] };
+ key <AD03> { [ e, E, emacron, Emacron ] };
+ key <AD08> { [ i, I, imacron, Imacron ] };
+
+ key <AD09> { [ o, O, omacron, Omacron ] };
+ key <AD07> { [ u, U, umacron, Umacron ] };
+
+ key <RALT> { type[Group1]="TWO_LEVEL",
+ [ ISO_Level3_Shift, Multi_key ] };
+ modifier_map Mod5 { <RALT> };
+};