Files
cnix/hosts/adampad/xkb/symbols/ke
2024-06-27 18:05:43 +02:00

64 lines
4.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Keyboard layouts for Kenya.
default partial alphanumeric_keys
xkb_symbols "swa" {
include "us"
name[Group1]= "Swahili (Kenya)";
key <TLDE> {[ grave, asciitilde, U0300, U0303 ]}; //COMBINING GRAVE ACCENT, COMBINING TILDE
key <AE06> {[ 6, asciicircum, U0302 ]}; //COMBINING CIRCUMFLEX ACCENT
key <AE08> {[ 8, asterisk, U0307, U0323 ]}; //COMBINING DOT ABOVE, COMBINING DOT BELOW
key <AE09> {[ 9, parenleft, U0306 ]}; //COMBINING BREVE
key <AE10> {[ 0, parenright, U030c ]}; //COMBINING CARON
key <AE11> {[ minus, underscore, U0304, U0331 ]}; //COMBINING MACRON,COMBINING MACRON BELOW
key <AC10> {[ semicolon, colon, U0324, U0324 ]}; //COMBINING DIAERESIS BELOW
key <AC11> {[ apostrophe, quotedbl, U0301, U0308 ]}; //COMBINING ACUTE ACCENT, COMBINING DIAERESIS
include "level3(ralt_switch)"
};
// Kikuyu (Gĩkũyũ) keyboard
// Based on Kasahorow keyboard layout
// https://code.google.com/archive/p/africakeyboards/
//
// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓
// │ ~ ¸ │ ! ¡ │ @ ⅛ │ # £ │ $ $ │ % ⅜ │ ^ ⅝ │ & ⅞ │ * ™ │ ( ± │ ) ° │ _ ¿ │ + ˛ ┃Backspace┃
// │ ` │ 1 ¹ │ 2 @ │ 3 ³ │ 4 ¼ │ 5 ½ │ 6 ¬ │ 7 { │ 8 [ │ 9 ] │ 0 } │ - \ │ = ¸ ┃ ┃
// ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫
// ┃ ┃ Ĩ Q │ W Ł │ E ¢ │ R ® │ T Ŧ │ Y ¥ │ U ↑ │ I ı │ O Ø │ P Þ │ { ° │ } ¯ ┃ Enter ┃
// ┃Tab ┃ ĩ q │ w ł │ e € │ r ¶ │ t ŧ │ y ← │ u ↓ │ i → │ o ø │ p þ │ [ ¨ │ ] ~ ┃ ⏎ ┃
// ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃
// ┃ ┃ A Æ │ S § │ D Ð │ F ª │ G Ŋ │ H Ħ │ J X │ K & │ L Ŀ │ : ˝ │ " ˇ │ | ˘ ┃ ┃
// ┃CAPS ┃ a æ │ s ß │ d ð │ f đ │ g ŋ │ h ħ │ j x │ k ĸ │ l ŀ │ ; ´ │ ' ^ │ \ ` ┃ ┃
// ┣━━━━━━━┳┹────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━┫
// ┃ ┃ > ¦ │ Z < │ Ũ > │ C © │ V │ B │ N │ M º │ < × │ > ÷ │ ? ˙ ┃ ┃
// ┃Shift ⇧┃ < | │ z « │ ũ » │ c ¢ │ v „ │ b “ │ n ” │ m µ │ , • │ . · │ / ̣ ┃Shift ⇧ ┃
// ┣━━━━━━━╋━━━━━┷━┳━━━┷━━━┱─┴─────┴─────┴─────┴─────┴─────┴───┲━┷━━━━━╈━━━━━┻━┳━━━━━━━┳━━━┛
// ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
// ┃Ctrl ┃Meta ┃Alt ┃ Space ┃AltGr ⇮┃Menu ┃Ctrl ┃
// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┛
partial alphanumeric_keys
xkb_symbols "kik" {
include "latin(basic)"
name[Group1]= "Kikuyu";
key <AE02> {[ 2, at, at ]};
key <AE06> {[ 6, asciicircum, notsign ]};
key <AD01> {[ itilde, Itilde, q, Q ]};
key <AD03> {[ e, E, EuroSign, cent ]};
key <AC07> {[ j, J, x, X ]};
key <AB02> {[ utilde, Utilde ]};
include "level3(ralt_switch)"
};