// Keyboard layouts for Turkey. // This file distributed without any expressed or implied warranty. // Nilgün Belma Bugüner , 2005 // Turkish Q layout. default partial xkb_symbols "basic" { include "latin" name[Group1]="Turkish"; key {[ quotedbl, eacute, less, degree ]}; key {[ 1, exclam, greater, exclamdown ]}; key {[ 2, apostrophe, sterling, twosuperior ]}; key {[ 3,asciicircum, numbersign, threesuperior ]}; key {[ 4, plus, dollar, onequarter ]}; key {[ 6, ampersand, threequarters, none ]}; key {[ 7, slash, braceleft, none ]}; key {[ 8, parenleft, bracketleft, none ]}; key {[ 9, parenright, bracketright, plusminus ]}; key {[ 0, equal, braceright, degree ]}; key {[ asterisk, question, backslash, questiondown ]}; key {[ minus, underscore, bar, none ]}; key {[ w, W, none, none ]}; key {[ e, E, EuroSign, none ]}; key {[ t, T, U20BA, none ]}; key {[ u, U, ucircumflex, Ucircumflex ]}; key { type[group1] = "FOUR_LEVEL_ALPHABETIC", [ idotless, I, icircumflex, Icircumflex ]}; key {[ o, O, ocircumflex, Ocircumflex ]}; key {[ p, P, none, none ]}; key {[ gbreve, Gbreve ]}; key {[udiaeresis, Udiaeresis, asciitilde, dead_macron ]}; key {[ a, A, acircumflex, Acircumflex ]}; key {[ s, S, ssharp, none ]}; key {[ d, D, none, none ]}; key {[ f, F, ordfeminine, none ]}; key {[ g, G, none, none ]}; key {[ h, H, none, none ]}; key {[ k, K, none, none ]}; key {[ l, L, none, none ]}; key {[ scedilla, Scedilla, acute, dead_acute ]}; key { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ i, Iabovedot, apostrophe, dead_caron ]}; key {[ comma, semicolon, grave, dead_grave ]}; key {[ less, greater, bar, brokenbar ]}; key {[odiaeresis, Odiaeresis, multiply, none ]}; key {[ ccedilla, Ccedilla,periodcentered, division ]}; key {[ period, colon, dead_abovedot, dead_abovedot ]}; include "kpdl(comma)" include "level3(ralt_switch)" }; // Turkish F layout. partial xkb_symbols "f" { include "latin" name[Group1]="Turkish (F)"; key {[ plus, asterisk, notsign, plusminus ]}; key {[ 1, exclam, onesuperior, exclamdown ]}; key {[ 2, quotedbl, twosuperior, none ]}; key {[ 3,asciicircum, numbersign, threesuperior ]}; key {[ 4, dollar, onequarter, none ]}; key {[ 6, ampersand, threequarters, none ]}; key {[ 7, apostrophe, braceleft, none ]}; key {[ 8, parenleft, bracketleft, none ]}; key {[ 9, parenright, bracketright, plusminus ]}; key {[ 0, equal, braceright, degree ]}; key {[ slash, question, backslash, questiondown ]}; key {[ minus, underscore, bar, none ]}; key {[ f, F, at, none ]}; key {[ g, G, none, none ]}; key {[ gbreve, Gbreve, none, none ]}; key { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ idotless, I, paragraph, none ]}; key {[ o, O, ocircumflex, Ocircumflex ]}; key {[ d, D, yen, none ]}; key {[ r, R, registered, none ]}; key {[ n, N, none, none ]}; key {[ h, H, degree, none ]}; key {[ p, P, sterling, none ]}; key {[ q, Q,dead_diaeresis,dead_abovering ]}; key {[ w, W, asciitilde, dead_breve ]}; key {[ u, U, ucircumflex, Ucircumflex ]}; key { type[group1] = "FOUR_LEVEL_ALPHABETIC", [ i, Iabovedot, icircumflex, Icircumflex ]}; key {[ e, E, EuroSign, none ]}; key {[ a, A, acircumflex, Acircumflex ]}; key {[udiaeresis, Udiaeresis, ucircumflex, Ucircumflex ]}; key {[ t, T, U20BA, none ]}; key {[ k, K, none, none ]}; key {[ m, M, mu, none ]}; key {[ l, L, none, none ]}; key {[ y, Y, acute, dead_acute ]}; key {[ scedilla, Scedilla, numbersign, dead_caron ]}; key {[ x, X, grave, dead_grave ]}; key {[ less, greater, bar, brokenbar ]}; key {[ j, J, guillemotleft, less ]}; key {[odiaeresis, Odiaeresis, guillemotright, greater ]}; key {[ v, V, leftdoublequotemark, none ]}; key {[ c, C, cent, copyright ]}; key {[ ccedilla, Ccedilla,rightdoublequotemark, none ]}; key {[ z, Z, none, none ]}; key {[ s, S, section, none ]}; key {[ b, B, multiply, nobreakspace ]}; key {[ period, colon, division, dead_abovedot ]}; key {[ comma, semicolon,periodcentered, none ]}; include "kpdl(comma)" include "level3(ralt_switch)" }; // Turkish E layout. partial xkb_symbols "e" { include "latin" name[Group1]="Turkish (E)"; key {[ plus, asterisk, notsign, plusminus ]}; key {[ 1, exclam, onesuperior, exclamdown ]}; key {[ 2, quotedbl, twosuperior, none ]}; key {[ 3,asciicircum, numbersign, threesuperior ]}; key {[ 4, dollar, onequarter, none ]}; key {[ 6, ampersand, threequarters, none ]}; key {[ 7, apostrophe, braceleft, none ]}; key {[ 8, parenleft, bracketleft, none ]}; key {[ 9, parenright, bracketright, plusminus ]}; key {[ 0, equal, braceright, degree ]}; key {[ slash, question, backslash, questiondown ]}; key {[ minus, underscore, bar, none ]}; key {[ q, Q,dead_diaeresis,dead_abovering ]}; key {[ j, J, guillemotleft, less ]}; key {[udiaeresis, Udiaeresis, ucircumflex, Ucircumflex ]}; key {[ o, O, ocircumflex, Ocircumflex ]}; key {[ f, F, at, none ]}; key {[ c, C, cent, copyright ]}; key {[ t, T, U20BA, none ]}; key {[ m, M, mu, none ]}; key {[ k, K, none, none ]}; key {[ b, B, multiply, nobreakspace ]}; key {[ s, S, section, none ]}; key {[ p, P, sterling, none ]}; key {[ e, E, EuroSign, none ]}; key {[ a, A, acircumflex, Acircumflex ]}; key { type[group1] = "FOUR_LEVEL_ALPHABETIC", [ i, Iabovedot, icircumflex, Icircumflex ]}; key { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ idotless, I, paragraph, none ]}; key {[ g, G, none, none ]}; key {[ gbreve, Gbreve, none, none ]}; key {[ l, L, none, none ]}; key {[ n, N, none, none ]}; key {[ r, R, registered, none ]}; key {[ d, D, yen, none ]}; key {[ v, V, leftdoublequotemark, none ]}; key {[ comma, semicolon,periodcentered, none ]}; key {[ less, greater, bar, brokenbar ]}; key {[ x, X, grave, dead_grave ]}; key {[ w, W, asciitilde, dead_breve ]}; key {[odiaeresis, Odiaeresis, guillemotright, greater ]}; key {[ u, U, ucircumflex, Ucircumflex ]}; key {[ h, H, degree, none ]}; key {[ z, Z, none, none ]}; key {[ ccedilla, Ccedilla,rightdoublequotemark, none ]}; key {[ y, Y, acute, dead_acute ]}; key {[ scedilla, Scedilla, numbersign, dead_caron ]}; key {[ period, colon, division, dead_abovedot ]}; include "kpdl(comma)" include "level3(ralt_switch)" }; // Turkish Alt-Q layout. partial xkb_symbols "alt" { include "latin" name[Group1]="Turkish (Alt-Q)"; key {[ 7, ampersand, lowleftcorner, upleftcorner ]}; key {[ 8, asterisk, leftt, topt ]}; key {[ 9, parenleft, rightt, bott ]}; key {[ 0, parenright, lowrightcorner, uprightcorner ]}; key {[ minus, underscore, horizlinescan5, vertbar ]}; key {[ equal, plus, crossinglines ]}; key {[ e, E, EuroSign, none ]}; key {[ u, U, udiaeresis, Udiaeresis ]}; key {[ i, I, idotless, Iabovedot ], type[group1] = "FOUR_LEVEL_ALPHABETIC" }; key {[ o, O, odiaeresis, Odiaeresis ]}; key {[ a, A, acircumflex, Acircumflex ]}; key {[ s, S, scedilla, Scedilla ]}; key {[ g, G, gbreve, Gbreve ]}; key {[ c, C, ccedilla, Ccedilla ]}; include "level3(ralt_switch)" }; // Kurdish Q layout. // Originally by Erdal Ronahi , 2006. partial xkb_symbols "ku" { include "tr(basic)" name[Group1]="Kurdish (Turkey, Latin Q)"; key {[ i, I, idotless, I ]}; key {[ x, X, gbreve, Gbreve ]}; key {[ucircumflex, Ucircumflex, asciitilde, dead_macron ]}; key {[icircumflex, Icircumflex, apostrophe, dead_caron ]}; key {[ecircumflex, Ecircumflex, odiaeresis, Odiaeresis ]}; }; // Kurdish F layout. partial xkb_symbols "ku_f" { include "tr(f)" name[Group1]="Kurdish (Turkey, F)"; key {[ x, X, gbreve, Gbreve ]}; key {[ i, I, paragraph, none ]}; key {[ o, O, ocircumflex, Ocircumflex ]}; key {[ucircumflex, Ucircumflex, udiaeresis, Udiaeresis ]}; key {[icircumflex, Icircumflex, i, Iabovedot ]}; key {[ u, U, udiaeresis, Udiaeresis ]}; key {[ecircumflex, Ecircumflex, odiaeresis, Odiaeresis ]}; }; // Kurdish Alt-Q layout. partial xkb_symbols "ku_alt" { include "tr(alt)" name[Group1]="Kurdish (Turkey, Latin Alt-Q)"; key {[ e, E, ecircumflex, Ecircumflex ]}; key {[ u, U, ucircumflex, Ucircumflex ]}; key {[ i, I, icircumflex, Icircumflex ]}; key {[ o, O, odiaeresis, Odiaeresis ]}; }; // Turkish international Q layout. // Originally by Alexis Pellicier , 2007. partial xkb_symbols "intl" { include "latin" name[Group1]="Turkish (intl., with dead keys)"; key {[ quotedbl, eacute, plusminus, degree ]}; key {[ 1, exclam, onesuperior, exclamdown ]}; key {[ 2, apostrophe, sterling, twosuperior ]}; key {[ 3, dead_circumflex, numbersign, threesuperior ]}; key {[ 4, plus, dollar, onequarter ]}; key {[ 6, ampersand, threequarters, none ]}; key {[ 7, slash, braceleft, none ]}; key {[ 8, parenleft, bracketleft, none ]}; key {[ 9, parenright, bracketright, plusminus ]}; key {[ 0, equal, braceright, degree ]}; key {[ asterisk, question, backslash, questiondown ]}; key {[ minus, underscore, division, none ]}; key {[ w, W, none, none ]}; key {[ e, E, EuroSign, cent ]}; key {[ t, T, U20BA, none ]}; key {[ u, U, ucircumflex, Ucircumflex ]}; key {[ idotless, I, icircumflex, Icircumflex ], type[group1] = "FOUR_LEVEL_ALPHABETIC" }; key {[ o, O, ocircumflex, Ocircumflex ]}; key {[ p, P, none, none ]}; key {[ gbreve, Gbreve, dead_diaeresis ]}; key {[udiaeresis, Udiaeresis, dead_tilde, dead_macron ]}; key {[ a, A, acircumflex, Acircumflex ]}; key {[ s, S, section, none ]}; key {[ d, D, none, none ]}; key {[ f, F, ordfeminine, none ]}; key {[ g, G, none, none ]}; key {[ h, H, none, none ]}; key {[ k, K, none, none ]}; key {[ l, L, none, none ]}; key {[ scedilla, Scedilla, dead_acute, dead_acute ]}; key {[ i, Iabovedot, apostrophe, dead_caron ]}; key {[ comma, semicolon, dead_grave, dead_grave ]}; key {[ less, greater, bar, brokenbar ]}; key {[odiaeresis, Odiaeresis, multiply, none ]}; key {[ ccedilla, Ccedilla, periodcentered, division ]}; key {[ period, colon, dead_abovedot, dead_abovedot ]}; include "nbsp(level3)" include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "olpc" { // #HW-SPECIFIC include "tr(intl)" name[Group1]= "Turkish"; key {[ 1, exclam, none, none ]}; key {[ 6, ampersand, none, none ]}; key {[ minus, underscore, bar, none ]}; key {[ c, C, leftdoublequotemark, none ]}; key {[ v, V, rightdoublequotemark, none ]}; key {[ b, B, none, none ]}; key {[odiaeresis, Odiaeresis, none, none ]}; key {[ ccedilla, Ccedilla, multiply, none ]}; key {[ period, colon, division, dead_abovedot ]}; key {[ less, greater, none, none ]}; }; // EXTRAS: partial alphanumeric_keys xkb_symbols "sun_type6" { include "sun_vndr/tr(sun_type6)" }; // The basic Turkish layout with "i" and "ı" swapped. // Originally by Ali Riza KESKIN , 2021. partial xkb_symbols "us" { include "tr(basic)" name[Group1]="Turkish (i and ı swapped)"; key { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ i, I, paragraph, none ]}; key { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ idotless, Iabovedot, apostrophe, dead_caron ]}; }; // Layout for Old Turkic (Orkhon script). // Originally by Emir SARI , 2020. partial alphanumeric_keys xkb_symbols "otk" { name[Group1]="Old Turkic"; key {[quotedbl, guillemotleft, guillemotright, any ]}; key {[ U10C48, any, 1, exclam ]}; key {[ U10C05, any, 2, quotedbl ]}; key {[ U10C02, any, 3, asciicircum ]}; key {[ U10C47, any, 4, dollar ]}; key {[ U10C21, any, 5, percent ]}; key {[ U10C26, U10C27, 6, ampersand ]}; key {[ U10C36, U10C37, 7, apostrophe ]}; key {[ U10C38, U10C39, 8, parenleft ]}; key {[ U10C1C, U10C1D, 9, parenright ]}; key {[ U10C31, U2E2E, 0, equal ]}; key {[backslash, colon, slash, question ]}; key {[ comma, semicolon, minus, underscore ]}; key {[ U10C13, any, at, any ]}; key {[ U10C11, U10C12, numbersign, any ]}; key {[ U10C0F, U10C10, dollar, any ]}; key {[ U10C0D, U10C0E, braceleft, any ]}; key {[ U10C23, any, braceright, any ]}; key {[ U10C14, U10C15, bracketleft, any ]}; key {[ U10C43, U10C44, bracketright, any ]}; key {[ U10C3A, U10C3B, parenleft, any ]}; key {[ U10C3C, any, parenright, any ]}; key {[ U10C2F, U10C30, backslash, any ]}; key {[ U10C32, U10C33, bar, any ]}; key {[ U10C2A, U10C2B, asciitilde, any ]}; key {[ U10C00, U10C01, any, any ]}; key {[ U10C07, U10C08, any, any ]}; key {[ U10C06, any, EuroSign, any ]}; key {[ U10C03, U10C04, dead_breve, any ]}; key {[ U10C24, U10C25, dead_acute, any ]}; key {[ U10C45, U10C46, U20BA, any ]}; key {[ U10C34, U10C35, any, any ]}; key {[ U10C22, any, any, any ]}; key {[ U10C1E, U10C1F, sterling, any ]}; key {[ U10C16, U10C17, yen, any ]}; key {[ U10C41, U10C42, endash, any ]}; key {[ U10C3F, U10C40, emdash, any ]}; key {[ less, greater, plus, any ]}; key {[ U10C28, U10C29, any, less ]}; key {[ U10C2D, U10C2E, U10C2C, greater ]}; key {[ U10C3D, any, copyright, guillemotleft ]}; key {[ U10C09, U10C0A, registered, guillemotright ]}; key {[ U10C0B, U10C0C, any, any ]}; key {[ U10C1A, U10C1B, any, any ]}; key {[ U10C3E, any, any, any ]}; key {[ U10C20, any, multiply, any ]}; key {[ U10C18, U10C19, division, any ]}; key {[ U2E31, period, minus, any ]}; include "kpdl(comma)" include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "otkf" { include "tr(otk)" name[Group1]="Old Turkic (F)"; key {[ U10C03, U10C04, dead_breve, none ]}; key {[ U10C24, U10C25, dead_acute, none ]}; key {[ U10C32, U10C33, bar, none ]}; key {[ U10C3A, U10C3B, parenleft, none ]}; key {[ U10C3C, none, parenright, none ]}; key {[ U10C06, none, EuroSign, none ]}; key {[ U10C0D, U10C0E, braceleft, none ]}; key {[ U10C1A, U10C1B, none, none ]}; key {[ U10C45, U10C46, U20BA, none ]}; key {[ U10C2F, U10C30, backslash, none ]}; key {[ U10C13, none, at, none ]}; key {[ U10C11, U10C12, numbersign, none ]}; key {[ U10C43, U10C44, bracketright, none ]}; key {[ U10C41, U10C42, endash, none ]}; key {[ U10C0F, U10C10, dollar, none ]}; key {[ U10C00, U10C01, none, none ]}; key {[ U10C2A, U10C2B, asciitilde, none ]}; key {[ U10C23, none, braceright, none ]}; key {[ U10C22, none, none, none ]}; key {[ U10C3E, none, none, none ]}; key {[ U10C1E, U10C1F, sterling, none ]}; key {[ U10C14, U10C15, bracketleft, none ]}; key {[ U10C16, U10C17, yen, none ]}; key {[ U10C2D, U10C2E, U10C2C, none ]}; key {[ U10C34, U10C35, none, less ]}; key {[ U10C20, none, multiply, greater ]}; key {[ U10C09, U10C0A, registered, guillemotleft ]}; key {[ U10C3D, none, copyright, guillemotright ]}; key {[ U10C18, U10C19, division, none ]}; key {[ U10C28, U10C29, none, none ]}; key {[ U10C07, U10C08, none, none ]}; key {[ U10C0B, U10C0C, none, none ]}; key {[ U2E31, period, minus, none ]}; key {[ U10C3F, U10C40, emdash, none ]}; }; // Layout for Ottoman Turkish (Arabic script). partial alphanumeric_keys xkb_symbols "ot" { name[Group1]= "Ottoman (Q)"; key {[ quotedbl, division, none ]}; key {[ U06f1, exclam, grave ]}; key {[ U06f2, U066c, at ]}; key {[ U06f3, U066b, numbersign ]}; key {[ U06f4, Ufdfc, dollar ]}; key {[ U06f5, U066a, percent ]}; key {[ U06f6, multiply, asciicircum ]}; key {[ U06f7, Arabic_comma, ampersand ]}; key {[ U06f8, asterisk, enfilledcircbullet ]}; key {[ U06f9, parenright, U200e ]}; // LRM key {[ U06f0, parenleft, U200f ]}; // RLM key {[ minus, Arabic_tatweel, none ]}; key {[ equal, plus, none ]}; key {[ Arabic_qaf, U0670, none ]}; key {[ Arabic_thal, U0656, none ]}; key {[ Arabic_heh, Arabic_fatha, none ]}; key {[ Arabic_ra, none, none ]}; key {[ Arabic_teh, Arabic_tehmarbuta, none ]}; key {[ U06CC, Arabic_yeh, none ]}; key {[ Arabic_sad, Arabic_damma, none ]}; key {[ Arabic_ain, none, none ]}; key {[ Arabic_tah, none, none ]}; key {[ Arabic_peh, none, none ]}; key {[ Arabic_ghain, none, none ]}; key {[ Arabic_hah, none, none ]}; key {[ Arabic_alef, none, none ]}; key {[ Arabic_seen, Arabic_sukun, none ]}; key {[ Arabic_dal, Arabic_dammatan, none ]}; key {[ Arabic_feh, Arabic_fathatan, none ]}; key {[ Arabic_gaf, none, none ]}; key {[ Arabic_heh, Arabic_hamzaonyeh, none ]}; key {[ Arabic_jeh, none, none ]}; key {[ Arabic_keheh, Arabic_kasratan, none ]}; key {[ Arabic_lam, none, none ]}; key {[ Arabic_sheen, Arabic_shadda, none ]}; key {[ Arabic_dad, Arabic_kasra, none ]}; key {[ U2018, Arabic_semicolon, none ]}; key {[ Arabic_zain, Arabic_zah, none ]}; key {[ Arabic_khah, Arabic_hamza, none ]}; key {[ Arabic_jeem, Arabic_hamzaonalef, none ]}; key {[ Arabic_waw, Arabic_hamzaonwaw, none ]}; key {[ Arabic_beh, Arabic_hamzaunderalef, none ]}; key {[ Arabic_noon, U06AD, none ]}; key {[ Arabic_meem, U0653, none ]}; key {[ Arabic_theh, Arabic_maddaonalef, none ]}; key {[ Arabic_tcheh, none, none ]}; key {[ period, colon, none ]}; key {[ space, U200C, none ]}; // ZWNJ include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "otf" { include "tr(ot)" name[Group1]= "Ottoman (F)"; key {[ Arabic_feh, Arabic_fathatan, none ]}; key {[ Arabic_gaf, none, none ]}; key {[ Arabic_ghain, Arabic_fatha, none ]}; key {[ Arabic_ain, none, none ]}; key {[ Arabic_tah, none, none ]}; key {[ Arabic_dal, Arabic_dammatan, none ]}; key {[ Arabic_ra, none, none ]}; key {[ Arabic_noon, U06AD, none ]}; key {[ Arabic_heh, Arabic_hamzaonyeh, none ]}; key {[ Arabic_peh, none, none ]}; key {[ Arabic_qaf, U0670, none ]}; key {[ Arabic_thal, U0656, none ]}; key {[ Arabic_sad, Arabic_damma, none ]}; key {[ Arabic_dad, Arabic_kasra, none ]}; key {[ Arabic_heh, Arabic_fatha, none ]}; key {[ Arabic_alef, none, none ]}; key {[ Arabic_hah, none, none ]}; key {[ Arabic_teh, Arabic_tehmarbuta, none ]}; key {[ Arabic_keheh, Arabic_kasratan, none ]}; key {[ Arabic_meem, U0653, none ]}; key {[ Arabic_lam, none, none ]}; key {[ U06cc, Arabic_yeh, none ]}; key {[ Arabic_sheen, Arabic_shadda, none ]}; key {[ Arabic_khah, Arabic_hamza, none ]}; key {[ Arabic_jeh, none, none ]}; key {[ Arabic_theh, Arabic_maddaonalef, none ]}; key {[ Arabic_waw, Arabic_hamzaonwaw, none ]}; key {[ Arabic_jeem, Arabic_hamzaonalef, none ]}; key {[ Arabic_tcheh, none, none ]}; key {[ Arabic_zain, Arabic_zah, none ]}; key {[ Arabic_seen, Arabic_sukun, none ]}; key {[ Arabic_beh, Arabic_hamzaunderalef, none ]}; key {[ period, colon, none ]}; key {[ U2018, Arabic_semicolon, none ]}; };