-
-
Save aso2101/6b8abea4e712a94e1df60135c350ab15 to your computer and use it in GitHub Desktop.
Andrew's keyboard layout for typing Sanskrit (and other languages) in transliteration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --- BEGIN Sanskrit (Ollett) --- | |
partial alphanumeric_keys | |
xkb_symbols "san-trans" { | |
name[Group1] = "Sanskrit (Transliteration)"; | |
key.type="FOUR_LEVEL"; | |
// Roman digits | |
key <TLDE> { [ apostrophe, asciitilde, dead_grave, dead_tilde ] }; | |
key <AE01> { [ 1, exclam, U0323 ] }; | |
key <AE02> { [ 2, at, U0324 ] }; | |
key <AE03> { [ 3, numbersign, U0325 ] }; | |
key <AE04> { [ 4, dollar ] }; | |
key <AE05> { [ 5, percent ] }; | |
key <AE06> { [ 6, asciicircum ] }; | |
key <AE07> { [ 7, ampersand ] }; | |
key <AE08> { [ 8, asterisk ] }; | |
key <AE09> { [ 9, parenleft ] }; | |
key <AE10> { [ 0, parenright ] }; | |
key <AE11> { [ minus, underscore, U2013, U2014 ] }; | |
key <AE12> { [ equal, plus, dead_macron ] }; | |
key <BKSL> { [ backslash, pipe, U0964, U0965 ] }; | |
//Q Row | |
key <AD01> { [ q, Q, U0259, U018F ] }; | |
key <AD02> { [ w, W ] }; | |
key <AD03> { [ e, U0113, E, U0112 ] }; | |
key <AD04> { [ r, U1E5B, R, U1E5A ] }; | |
key <AD05> { [ t, U1E6D, T, U1E6C ] }; | |
key <AD06> { [ y, Y ] }; | |
key <AD07> { [ u, U016B, U, U016A ] }; | |
key <AD08> { [ i, U012B, I, U012A ] }; | |
key <AD09> { [ o, U014D, O, U014C ] }; | |
key <AD10> { [ p, P ] }; | |
key <AD11> { [ bracketleft, braceleft, U2018, U201C ] }; | |
key <AD12> { [ bracketright, braceright, U2019, U201D ] }; | |
//A Row | |
key <AC01> { [ a, U0101, A, U0100 ] }; | |
key <AC02> { [ s, U015B, S, U015A ] }; | |
key <AC03> { [ d, U1E0D, D, U1E0C ] }; | |
key <AC04> { [ f, F ] }; | |
key <AC05> { [ g, U1E45, G, U1E44 ] }; | |
key <AC06> { [ h, U1E25, H, U1E24 ] }; | |
key <AC07> { [ j, U00F1, J, U00D1 ] }; | |
key <AC08> { [ k, K ] }; | |
key <AC09> { [ l, U1E37, L, U1E36 ] }; | |
key <AC10> { [ semicolon, colon, dead_diaeresis ] }; | |
key <AC11> { [ apostrophe, quotedbl, dead_acute ] }; | |
//Z Row | |
key <AB01> { [ z, Z, U1E41, U1E40 ] }; | |
key <AB02> { [ x, X ] }; | |
key <AB03> { [ c, U1E63, C, U1E62 ] }; | |
key <AB04> { [ v, V ] }; | |
key <AB05> { [ b, B ] }; | |
key <AB06> { [ n, U1E47, N, U1E46 ] }; | |
key <AB07> { [ m, U1E43, M, U1E42 ] }; | |
key <AB08> { [ comma, less, dead_breve ] }; | |
key <AB09> { [ period, greater, dead_belowdot, U0307 ] }; | |
key <AB10> { [ slash, question ] }; | |
include "level3(ralt_switch)" | |
}; | |
// --- END Sanskrit (Ollett) --- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment