--- cm-new 2016-06-18 14:12:16.881553708 +0100 +++ cm 2016-06-18 14:12:24.513612724 +0100 @@ -1,13 +1,4 @@ // ========== Cameroon Keyboards ========== - - -// ---------------------------------------------------------------------------- -// This comment was added by , on 18-Jun-2016: -// -// All comments below this one, were in the original cm file;they do not -// apply to the Mmuock keyboard which is defined towards the end of this file. -// ---------------------------------------------------------------------------- - // ****** For Instructions, see "Use of Cameroon Keyboards" section below ****** @@ -333,8 +324,9 @@ modifier_map Mod5 { ISO_Level3_Latch }; }; +// EXTRAS: -// ------- begin Mmuock alphabet layout ------------------------------------------ +// ------- begin Mmuock keyboard map ------------------------------------------ // This layout is used for the Mmuock alphabet as described in the book // _The Sound of Mmuock: Orthography (2. ed.)_ [isbn: 978-9956-645-28-1]. // Mmuock is the language of the Mmuock (local: Muòk) people of Western @@ -342,7 +334,7 @@ // // Author: Tano Fotang // Created: 2014-06-24 -// Version: 1.2 +// Version: 1.1 // // CHANGES v 1.0: // 2014-07-06 corrected shifted level3 of to quotedbl @@ -356,23 +348,11 @@ // keep the original latin mappings except for those few that we // want to overwrite for our own keyboard. // -// CHANGES v 1.2: -// 2016-06-17 1- added dead keys dead_macron, dead_acute, and dead_grave for -// tones 1, 3, and 4, for compatibility with the Keyman version. -// 2- rearranged combining diacritics for tones 0 to 5 such that -// the diacritics are on consequetive keys (AC01 to AC05). -// 3- moved tone 8 to level 3 of AE12. -// 4- moved layout definition out of the EXTRAS section. -// 5- for a cleaner keyboard, -// replaced ṭhe included latin layout with us(basic). -// -// // NOTES: -// 0. This map is based on the Latin alphabet layout for the US keyboard. +// 0. This map is based on the Latin layout for the US keyboard. // // 1. We use combining diacritical marks to create tone markings. There are 13 -// tones that need to be indicated, although the first 5 are usually enough -// to represent the rest in simplified orthography. +// tones that need to be indicated. // // 2. When composing Mmuock text, about every fourth symbol is for tone. To // facilitate easy and fast input, the combining diacritics are placed on @@ -383,18 +363,18 @@ // 3. Symbols that are used infrequently (`r', `h', `ɛ', `ǝ', etc.) are placed // in level3. Additionally, the letter eng (`ŋ'), although commonly used, // is found in level3 because it can alternatively be represented by . -// (Indeed, the keyman version of keyboard actually replaces with `ŋ'.) +// (Indeed, the keyman keyboard actually replaces with `ŋ'.) // // 4. The unshifted AB10 key (normally assigned to the slash `/') is used as // level 3 switch since the slash is not used in the ordinary course of // typing Mmuock text. // -// 5. The 'Cameroon Multilingual' keyboards that are defined elsewhere, do not -// fit our needs because: (a) they are based on a different alphabet, (b) the -// vast majority of their symbols are not used in Mmuock, and (c) for the few -// symbols that are used in Mmuock, their placings are not egonomic for -// typing Mmuock as the _PRIMARY_ language. The aim of this keyboard, is -// to give priority to symbols that are actually used in the Mmuock alphabet. +// 5. The 'Cameroon Multilingual' keyboard that is defined elsewhere, does not +// fit our needs because: (a) it is based on a different alphabet, (b) the +// vast majority of its symbols are not used in Mmuock, and (c) for the few +// symbols that are shared, the placing of the symbols is not egonomic for +// typing Mmuock as the _PRIMARY_ language. The aim of this keyboard, is to +// give priority to symbols that are actually used in the Mmuock alphabet. // // 6. The following fonts have been found to produce the best results with this // keyboard: @@ -404,7 +384,7 @@ // Ubuntu (except light) 8/10 // Droid (except sans mono) 7/10 // Gentium, Gentium Alt 6.5/10 -// In the terminal emulator, the following font variants have been tested: +// In the terminal emulator, the following font variants are most suitable: // Ubuntu Mono 9/10 // Unifont (Medium) 9/10 // DejaVu Sans Mono 7.5/10 @@ -412,21 +392,19 @@ // These fonts are all freely available. // // ------the layout----------- -// -// ┌─────┐ -// │ 2 4 │ 2 = Shift, 4 = Level3 + Shift -// │ 1 3 │ 1 = Normal, 3 = Level3 -// └─────┘ +// Note: this drawing does not show the symbols that are mapped by the included +// latin sybols files. Shown are only the symbols that are requiired by the +// Mmuock keyboard. // // ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓ -// │ ~ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & | * │ ( │ ) │ _ – │ + ̣┃ ⌫ Back- ┃ -// AE│ ` ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6  ̂│ 7  ̑│ 8  ̍│ 9  ̓│ 0  ̊│ ¯ - │ = ̋┃ space ┃ +// │ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & | * │ ( │ ) │ _ │ + ┃ ⌫ Back- ┃ +// AE│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6  ̂│ 7  ̑│ 8  ̍│ 9  ̓│ 0  ̊│ - │ = ┃ space ┃ // ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫ // ┃ ┃ Q │ W │ E Ǝ │ Š R │ T │ Y │ U Ω │ I Ɛ │ O Φ │ P ∏ │ Ø { │ Σ } ┃ Enter ┃ // AD┃Tab ↹ ┃ q │ w │ e ǝ │ š r │ t │ y │ u ω │ i ɛ │ o φ │ p π │ ø [ │ σ ] ┃ ⏎ ┃ // ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃ // ┃ ┃ A │ S │ D │ F │ G │  ̇ H │ J │ K │ L │ Œ : │ " ” │ Æ | ┃ ┃ -// AC┃Caps ⇬ ┃ a  ̃│ s  ̄| d ́| f  ̀| g  ̌|  ̣ h │ j  ̆│ k  ̏│ l  ̈│ œ ; │ ' ’ │ æ \ ┃ ┃ +// AC┃Caps ⇬ ┃ a │ s  ̃| d  ̀| f  ̌| g  ̈|  ̣ h │ j  ̆│ k  ̏│ l  ̄│ œ ; │ ' ’ │ æ \ ┃ ┃ // ┣━━━━━━━━┹────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━┫ // ┃ │ Z Dz │ X │ C │ V │ B │ N ŋ │ M │ < « │ > » │ ? ┃ ┃ // AB┃Shift ⇧ │ z dz │ x │ c │ v │ b │ n Ŋ │ m │ , ‹ │ . › │ / ┃Shift ⇧ ┃ @@ -439,17 +417,15 @@ partial alphanumeric_keys xkb_symbols "mmuock" { - include "us(basic)" + include "latin" include "level3(ralt_switch)" name[Group1]= "Mmuock"; key { [ 6, asciicircum, U0302 ] }; // tone 10 key { [ 7, ampersand, U0311 ] }; // tone 12 - key { [ 8, asterisk, U030D ] }; // tone 13 - key { [ 9, parenleft, U0307 ] }; // tone 7 - key { [ 0, parenright, U030A ] }; // tone 6 - key { [dead_macron, underscore, minus, endash ] }; - key { [ equal, plus, U030B, dead_belowdot ] }; // U030B = tone 8 + key { [ 8, asterisk, U030D, trademark ] }; // tone 13 + key { [ 9, parenleft, U0313, plusminus ] }; // tone 14 + key { [ 0, parenright, U030A, degree ] }; // tone 6 key { [ e, E, U01DD, U018E ] }; // U01DD = reversed E key { [ scaron, Scaron, r, R ] }; key { [ u, U, Greek_omega, Greek_OMEGA ] }; @@ -458,18 +434,17 @@ key { [ p, P, Greek_pi, Greek_PI ] }; key { [ oslash, Ooblique, bracketleft, braceleft ] }; key { [Greek_sigma, Greek_SIGMA, bracketright, braceright ] }; - key { [ a, A, U0303 ] }; // tone 0 - key { [ s, S, U0304 ] }; // tone 1 - key { [ d, D, U0301 ] }; // tone 3 - key { [ f, F, U0300 ] }; // tone 4 - key { [ g, G, U030C ] }; // tone 5 + key { [ s, S, U0303 ] }; // tone 1 + key { [ d, D, U0300 ] }; // tone 4 + key { [ f, F, U030C ] }; // tone 5 + key { [ g, G, U0308 ] }; // tone 7 key { [ U0323, U0307, h, H ] }; // COMBINING DOT BELOW, ABOVE key { [ j, J, U0306 ] }; // tone 9 key { [ k, K, U030F ] }; // tone 11 - key { [ l, L, U0308 ] }; // tone 14 + key { [ l, L, U0304 ] }; // tone 0 key { [ oe, OE, semicolon, colon ] }; - key { [ dead_acute, quotedbl, apostrophe ] }; - key { [ dead_grave, dead_tilde, grave, asciitilde ] }; + key { [ U0301, U030B, apostrophe, quotedbl ] }; // tone 3, 8 + key { [ grave, dead_tilde ] }; key { [ z, Z, U01F3, U01F2 ] }; // U01F3 = letter dz key { [ n, N, eng, ENG ] }; key { [ comma, less, guillemotleft, U2039 ] }; @@ -482,9 +457,9 @@ partial modifier_keys xkb_symbols "solidus_switch" { key { - symbols[Group1] = [ ISO_Level3_Latch, question, slash, dead_abovedot ] + symbols[Group1] = [ ISO_Level3_Latch, question, slash, NoSymbol ] }; modifier_map Mod5 { ISO_Level3_Latch }; }; -// ------- end of Mmuock keyboard map -------------------------------------------- +// ------- end Mmuock keyboard map --------------------------------------------