finished keyboard layouts

pull/2/head
Amy 3 years ago
parent 4177e26a8c
commit 45391fb3cb
No known key found for this signature in database
GPG Key ID: C642EA4B2F4096BE

@ -6,6 +6,7 @@ List<Keymap> keymaps = [
layout: "Afghanistan", layout: "Afghanistan",
backLayout: "Af", backLayout: "Af",
variant: [ variant: [
"normal",
"fa-olpc", "fa-olpc",
"olpc-ps", "olpc-ps",
"ps", "ps",
@ -17,6 +18,7 @@ List<Keymap> keymaps = [
layout: "Albania", layout: "Albania",
backLayout: "al", backLayout: "al",
variant: [ variant: [
"normal",
"plisi", "plisi",
"veqilharxhi", "veqilharxhi",
], ],
@ -25,6 +27,7 @@ List<Keymap> keymaps = [
layout: "Armenia", layout: "Armenia",
backLayout: "am", backLayout: "am",
variant: [ variant: [
"normal",
"eastern", "eastern",
"eastern-alt", "eastern-alt",
"phonetic", "phonetic",
@ -36,6 +39,7 @@ List<Keymap> keymaps = [
layout: "Arabic", layout: "Arabic",
backLayout: "ara", backLayout: "ara",
variant: [ variant: [
"normal",
"azerty", "azerty",
"azerty_digits", "azerty_digits",
"buckwalter", "buckwalter",
@ -50,6 +54,7 @@ List<Keymap> keymaps = [
layout: "Austria", layout: "Austria",
backLayout: "at", backLayout: "at",
variant: [ variant: [
"normal",
"mac", "mac",
"nodeadkeyrs", "nodeadkeyrs",
], ],
@ -58,6 +63,7 @@ List<Keymap> keymaps = [
layout: "Australia", layout: "Australia",
backLayout: "au", backLayout: "au",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -65,6 +71,7 @@ List<Keymap> keymaps = [
layout: "Azerbaijan", layout: "Azerbaijan",
backLayout: "az", backLayout: "az",
variant: [ variant: [
"normal",
"cyrillic", "cyrillic",
], ],
), ),
@ -72,6 +79,7 @@ List<Keymap> keymaps = [
layout: "Bosnia and Herzegovina", layout: "Bosnia and Herzegovina",
backLayout: "ba", backLayout: "ba",
variant: [ variant: [
"normal",
"alternatequotes", "alternatequotes",
"unicode", "unicode",
"unicodeus", "unicodeus",
@ -82,6 +90,7 @@ List<Keymap> keymaps = [
layout: "Bangladesh", layout: "Bangladesh",
backLayout: "bd", backLayout: "bd",
variant: [ variant: [
"normal",
"probhat", "probhat",
], ],
), ),
@ -89,6 +98,7 @@ List<Keymap> keymaps = [
layout: "Belgium", layout: "Belgium",
backLayout: "be", backLayout: "be",
variant: [ variant: [
"normal",
"iso-alternate", "iso-alternate",
"nodeadkeys", "nodeadkeys",
"oss", "oss",
@ -100,6 +110,7 @@ List<Keymap> keymaps = [
layout: "Bulgaria", layout: "Bulgaria",
backLayout: "bg", backLayout: "bg",
variant: [ variant: [
"normal",
"bas_phonetic", "bas_phonetic",
"bekl", "bekl",
"phonetic", "phonetic",
@ -109,6 +120,7 @@ List<Keymap> keymaps = [
layout: "Brazil", layout: "Brazil",
backLayout: "br", backLayout: "br",
variant: [ variant: [
"normal",
"dvorak", "dvorak",
"nativo", "nativo",
"nativo-epo", "nativo-epo",
@ -121,6 +133,7 @@ List<Keymap> keymaps = [
layout: "Bhutan", layout: "Bhutan",
backLayout: "bt", backLayout: "bt",
variant: [ variant: [
"normal",
"latin", "latin",
], ],
), ),
@ -128,6 +141,7 @@ List<Keymap> keymaps = [
layout: "Botswana", layout: "Botswana",
backLayout: "bw", backLayout: "bw",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -135,6 +149,7 @@ List<Keymap> keymaps = [
layout: "Belarus", layout: "Belarus",
backLayout: "by", backLayout: "by",
variant: [ variant: [
"normal",
"intl", "intl",
"latin", "latin",
"legacy", "legacy",
@ -145,6 +160,7 @@ List<Keymap> keymaps = [
layout: "Canada", layout: "Canada",
backLayout: "ca", backLayout: "ca",
variant: [ variant: [
"normal",
"eng", "eng",
"fr-dvorak", "fr-dvorak",
"fr-legacy", "fr-legacy",
@ -158,6 +174,7 @@ List<Keymap> keymaps = [
layout: "Democratic Republic of Congo", layout: "Democratic Republic of Congo",
backLayout: "cd", backLayout: "cd",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -165,6 +182,7 @@ List<Keymap> keymaps = [
layout: "Switzerland", layout: "Switzerland",
backLayout: "ch", backLayout: "ch",
variant: [ variant: [
"normal",
"de_mac", "de_mac",
"de_nodeadkeys", "de_nodeadkeys",
"fr", "fr",
@ -177,6 +195,7 @@ List<Keymap> keymaps = [
layout: "Cameroon", layout: "Cameroon",
backLayout: "cm", backLayout: "cm",
variant: [ variant: [
"normal",
"azerty", "azerty",
"dvorak", "dvorak",
"french", "french",
@ -188,6 +207,7 @@ List<Keymap> keymaps = [
layout: "China", layout: "China",
backLayout: "cn", backLayout: "cn",
variant: [ variant: [
"normal",
"altgr-pinyin", "altgr-pinyin",
"mon_manchu_galik", "mon_manchu_galik",
"mon_todo_galik", "mon_todo_galik",
@ -205,6 +225,7 @@ List<Keymap> keymaps = [
layout: "Czechia", layout: "Czechia",
backLayout: "cz", backLayout: "cz",
variant: [ variant: [
"normal",
"bksl", "bksl",
"dvorak-ucw", "dvorak-ucw",
"qwerty", "qwerty",
@ -218,6 +239,7 @@ List<Keymap> keymaps = [
layout: "Germany", layout: "Germany",
backLayout: "de", backLayout: "de",
variant: [ variant: [
"normal",
"T3", "T3",
"deadacute", "deadacute",
"deadgraveacute", "deadgraveacute",
@ -243,6 +265,7 @@ List<Keymap> keymaps = [
layout: "Denmark", layout: "Denmark",
backLayout: "dk", backLayout: "dk",
variant: [ variant: [
"normal",
"dvorak", "dvorak",
"mac", "mac",
"mac_nodeadkeys", "mac_nodeadkeys",
@ -254,6 +277,7 @@ List<Keymap> keymaps = [
layout: "Algeria", layout: "Algeria",
backLayout: "dz", backLayout: "dz",
variant: [ variant: [
"normal",
"ar", "ar",
"azerty-deadkeys", "azerty-deadkeys",
"ber", "ber",
@ -265,6 +289,7 @@ List<Keymap> keymaps = [
layout: "Estonia", layout: "Estonia",
backLayout: "ee", backLayout: "ee",
variant: [ variant: [
"normal",
"dvorak", "dvorak",
"nodeadkeys", "nodeadkeys",
"us", "us",
@ -274,6 +299,7 @@ List<Keymap> keymaps = [
layout: "Spain", layout: "Spain",
backLayout: "es", backLayout: "es",
variant: [ variant: [
"normal",
"ast", "ast",
"cat", "cat",
"deadtilde", "deadtilde",
@ -287,14 +313,17 @@ List<Keymap> keymaps = [
layout: "Ethiopia", layout: "Ethiopia",
backLayout: "et", backLayout: "et",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
Keymap( Keymap(
layout: "finland", layout: "Finland",
backLayout: "fi", backLayout: "fi",
variant: [ variant: [
"classic", "normal",
"normal"
"classic",
"mac", "mac",
"nodeadkeys", "nodeadkeys",
"smi", "smi",
@ -305,6 +334,7 @@ List<Keymap> keymaps = [
layout: "Faroe Islands", layout: "Faroe Islands",
backLayout: "fo", backLayout: "fo",
variant: [ variant: [
"normal",
"nodeadkeys", "nodeadkeys",
], ],
), ),
@ -312,6 +342,7 @@ List<Keymap> keymaps = [
layout: "France", layout: "France",
backLayout: "fr", backLayout: "fr",
variant: [ variant: [
"normal",
"afnor", "afnor",
"azerty", "azerty",
"bepo", "bepo",
@ -335,6 +366,7 @@ List<Keymap> keymaps = [
layout: "Great Britian", layout: "Great Britian",
backLayout: "gb", backLayout: "gb",
variant: [ variant: [
"normal",
"colemak", "colemak",
"colemak_dh", "colemak_dh",
"dvorak", "dvorak",
@ -350,6 +382,7 @@ List<Keymap> keymaps = [
layout: "Georgia", layout: "Georgia",
backLayout: "ge", backLayout: "ge",
variant: [ variant: [
"normal",
"ergonomic", "ergonomic",
"mess", "mess",
"os", "os",
@ -360,6 +393,7 @@ List<Keymap> keymaps = [
layout: "Ghana", layout: "Ghana",
backLayout: "gh", backLayout: "gh",
variant: [ variant: [
"normal",
"akan", "akan",
"avn", "avn",
"ewe", "ewe",
@ -374,6 +408,7 @@ List<Keymap> keymaps = [
layout: "Guinea", layout: "Guinea",
backLayout: "gn", backLayout: "gn",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -381,6 +416,7 @@ List<Keymap> keymaps = [
layout: "Greece", layout: "Greece",
backLayout: "gr", backLayout: "gr",
variant: [ variant: [
"normal",
"extended", "extended",
"nodeadkeys", "nodeadkeys",
"polytonic", "polytonic",
@ -391,6 +427,7 @@ List<Keymap> keymaps = [
layout: "Croatia", layout: "Croatia",
backLayout: "hr", backLayout: "hr",
variant: [ variant: [
"normal",
"alternatequotes", "alternatequotes",
"unicode", "unicode",
"unicodeus", "unicodeus",
@ -401,6 +438,7 @@ List<Keymap> keymaps = [
layout: "Hungary", layout: "Hungary",
backLayout: "hu", backLayout: "hu",
variant: [ variant: [
"normal",
"101_qwerty_comma_dead", "101_qwerty_comma_dead",
"101_qwerty_comma_nodead", "101_qwerty_comma_nodead",
"101_qwerty_dot_dead", "101_qwerty_dot_dead",
@ -426,6 +464,7 @@ List<Keymap> keymaps = [
layout: "Indonesia", layout: "Indonesia",
backLayout: "id", backLayout: "id",
variant: [ variant: [
"normal",
"phoneticx", "phoneticx",
], ],
), ),
@ -433,6 +472,7 @@ List<Keymap> keymaps = [
layout: "Ireland", layout: "Ireland",
backLayout: "ie", backLayout: "ie",
variant: [ variant: [
"normal",
"CloGaelach", "CloGaelach",
"UnicodeExpert", "UnicodeExpert",
"ogam", "ogam",
@ -443,6 +483,7 @@ List<Keymap> keymaps = [
layout: "Israel", layout: "Israel",
backLayout: "il", backLayout: "il",
variant: [ variant: [
"normal",
"biblical", "biblical",
"lyx", "lyx",
"phonetic", "phonetic",
@ -452,6 +493,7 @@ List<Keymap> keymaps = [
layout: "India", layout: "India",
backLayout: "in", backLayout: "in",
variant: [ variant: [
"normal",
"ben", "ben",
"ben_baishakhi", "ben_baishakhi",
"ben_bornona", "ben_bornona",
@ -496,6 +538,7 @@ List<Keymap> keymaps = [
layout: "Iraq", layout: "Iraq",
backLayout: "iq", backLayout: "iq",
variant: [ variant: [
"normal",
"ku", "ku",
"ku_alt", "ku_alt",
"ku_ara", "ku_ara",
@ -506,6 +549,7 @@ List<Keymap> keymaps = [
layout: "Iran", layout: "Iran",
backLayout: "ir", backLayout: "ir",
variant: [ variant: [
"normal",
"ku", "ku",
"ku_alt", "ku_alt",
"ku_ara", "ku_ara",
@ -517,6 +561,7 @@ List<Keymap> keymaps = [
layout: "Iceland", layout: "Iceland",
backLayout: "is", backLayout: "is",
variant: [ variant: [
"normal",
"ku", "ku",
"ku_alt", "ku_alt",
"ku_ara", "ku_ara",
@ -528,6 +573,7 @@ List<Keymap> keymaps = [
layout: "Italy", layout: "Italy",
backLayout: "it", backLayout: "it",
variant: [ variant: [
"normal",
"fur", "fur",
"geo", "geo",
"ibm", "ibm",
@ -543,6 +589,7 @@ List<Keymap> keymaps = [
layout: "Japan", layout: "Japan",
backLayout: "jp", backLayout: "jp",
variant: [ variant: [
"normal",
"OADG109A", "OADG109A",
"dvorak", "dvorak",
"kana", "kana",
@ -554,6 +601,7 @@ List<Keymap> keymaps = [
layout: "Kenya", layout: "Kenya",
backLayout: "ke", backLayout: "ke",
variant: [ variant: [
"normal",
"kik", "kik",
], ],
), ),
@ -561,6 +609,7 @@ List<Keymap> keymaps = [
layout: "Kyrgyzstan", layout: "Kyrgyzstan",
backLayout: "kg", backLayout: "kg",
variant: [ variant: [
"normal",
"phonetic", "phonetic",
], ],
), ),
@ -568,6 +617,7 @@ List<Keymap> keymaps = [
layout: "Cambodia", layout: "Cambodia",
backLayout: "kh", backLayout: "kh",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -575,6 +625,7 @@ List<Keymap> keymaps = [
layout: "The Republic of Korea", layout: "The Republic of Korea",
backLayout: "kr", backLayout: "kr",
variant: [ variant: [
"normal",
"kr104", "kr104",
], ],
), ),
@ -582,6 +633,7 @@ List<Keymap> keymaps = [
layout: "Kazakhstan", layout: "Kazakhstan",
backLayout: "kz", backLayout: "kz",
variant: [ variant: [
"normal",
"ext", "ext",
"kazrus", "kazrus",
"latin", "latin",
@ -592,6 +644,7 @@ List<Keymap> keymaps = [
layout: "Laos", layout: "Laos",
backLayout: "la", backLayout: "la",
variant: [ variant: [
"normal",
"stea", "stea",
], ],
), ),
@ -599,6 +652,7 @@ List<Keymap> keymaps = [
layout: "Sri Lanka", layout: "Sri Lanka",
backLayout: "lk", backLayout: "lk",
variant: [ variant: [
"normal",
"tam_TAB", "tam_TAB",
"tam_unicode", "tam_unicode",
"us", "us",
@ -608,6 +662,7 @@ List<Keymap> keymaps = [
layout: "Lithuania", layout: "Lithuania",
backLayout: "lt", backLayout: "lt",
variant: [ variant: [
"normal",
"ibm", "ibm",
"lekp", "lekp",
"lekpa", "lekpa",
@ -621,6 +676,7 @@ List<Keymap> keymaps = [
layout: "Lativa", layout: "Lativa",
backLayout: "lv", backLayout: "lv",
variant: [ variant: [
"normal",
"adapted", "adapted",
"apostrophe", "apostrophe",
"ergonomic", "ergonomic",
@ -633,6 +689,7 @@ List<Keymap> keymaps = [
layout: "Morocco", layout: "Morocco",
backLayout: "ma", backLayout: "ma",
variant: [ variant: [
"normal",
"french", "french",
"tifinagh", "tifinagh",
"tifinagh-alt", "tifinagh-alt",
@ -646,6 +703,7 @@ List<Keymap> keymaps = [
layout: "Moldova", layout: "Moldova",
backLayout: "md", backLayout: "md",
variant: [ variant: [
"normal",
"gag", "gag",
], ],
), ),
@ -653,6 +711,7 @@ List<Keymap> keymaps = [
layout: "Montenegro", layout: "Montenegro",
backLayout: "me", backLayout: "me",
variant: [ variant: [
"normal",
"cyrillic", "cyrillic",
"cyrillicalternatequotes", "cyrillicalternatequotes",
"cyrillicyz", "cyrillicyz",
@ -666,6 +725,7 @@ List<Keymap> keymaps = [
layout: "Republic of North Macedonia", layout: "Republic of North Macedonia",
backLayout: "mk", backLayout: "mk",
variant: [ variant: [
"normal",
"nodeadkeys", "nodeadkeys",
], ],
), ),
@ -673,6 +733,7 @@ List<Keymap> keymaps = [
layout: "Mali", layout: "Mali",
backLayout: "ml", backLayout: "ml",
variant: [ variant: [
"normal",
"fr-oss", "fr-oss",
"us-intl", "us-intl",
"us-mac", "us-mac",
@ -682,6 +743,7 @@ List<Keymap> keymaps = [
layout: "Myanmar", layout: "Myanmar",
backLayout: "mm", backLayout: "mm",
variant: [ variant: [
"normal",
"zawgyi", "zawgyi",
], ],
), ),
@ -689,6 +751,7 @@ List<Keymap> keymaps = [
layout: "Mongolia", layout: "Mongolia",
backLayout: "mn", backLayout: "mn",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -696,6 +759,7 @@ List<Keymap> keymaps = [
layout: "Malta", layout: "Malta",
backLayout: "mt", backLayout: "mt",
variant: [ variant: [
"normal",
"alt-gb", "alt-gb",
"alt-us", "alt-us",
"us", "us",
@ -705,6 +769,7 @@ List<Keymap> keymaps = [
layout: "Maldives", layout: "Maldives",
backLayout: "mv", backLayout: "mv",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -712,6 +777,7 @@ List<Keymap> keymaps = [
layout: "Malaysia", layout: "Malaysia",
backLayout: "my", backLayout: "my",
variant: [ variant: [
"normal",
"phonetic", "phonetic",
], ],
), ),
@ -719,6 +785,7 @@ List<Keymap> keymaps = [
layout: "Nigeria", layout: "Nigeria",
backLayout: "ng", backLayout: "ng",
variant: [ variant: [
"normal",
"hausa", "hausa",
"igbo", "igbo",
"yoruba", "yoruba",
@ -728,6 +795,7 @@ List<Keymap> keymaps = [
layout: "Netherlands", layout: "Netherlands",
backLayout: "nl", backLayout: "nl",
variant: [ variant: [
"normal",
"mac", "mac",
"std", "std",
"us", "us",
@ -737,6 +805,7 @@ List<Keymap> keymaps = [
layout: "Norway", layout: "Norway",
backLayout: "no", backLayout: "no",
variant: [ variant: [
"normal",
"colemak", "colemak",
"dvorak", "dvorak",
"mac", "mac",
@ -751,6 +820,7 @@ List<Keymap> keymaps = [
layout: "Nepal", layout: "Nepal",
backLayout: "np", backLayout: "np",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -758,6 +828,7 @@ List<Keymap> keymaps = [
layout: "Philippines", layout: "Philippines",
backLayout: "ph", backLayout: "ph",
variant: [ variant: [
"normal",
"capewell-dvorak", "capewell-dvorak",
"capewell-dvorak-bay", "capewell-dvorak-bay",
"capewell-qwerf2k6", "capewell-qwerf2k6",
@ -773,6 +844,7 @@ List<Keymap> keymaps = [
layout: "Pakistan", layout: "Pakistan",
backLayout: "pk", backLayout: "pk",
variant: [ variant: [
"normal",
"ara", "ara",
"snd", "snd",
"urd-crulp", "urd-crulp",
@ -783,6 +855,7 @@ List<Keymap> keymaps = [
layout: "Poland", layout: "Poland",
backLayout: "pl", backLayout: "pl",
variant: [ variant: [
"normal",
"csb", "csb",
"dvorak", "dvorak",
"dvorak_altquotes", "dvorak_altquotes",
@ -798,6 +871,7 @@ List<Keymap> keymaps = [
layout: "Portugal", layout: "Portugal",
backLayout: "pt", backLayout: "pt",
variant: [ variant: [
"normal",
"mac", "mac",
"mac_nodeadkeys", "mac_nodeadkeys",
"nativo", "nativo",
@ -810,6 +884,7 @@ List<Keymap> keymaps = [
layout: "Romania", layout: "Romania",
backLayout: "ro", backLayout: "ro",
variant: [ variant: [
"normal",
"std", "std",
"winkeys", "winkeys",
], ],
@ -818,6 +893,7 @@ List<Keymap> keymaps = [
layout: "Serbia", layout: "Serbia",
backLayout: "rs", backLayout: "rs",
variant: [ variant: [
"normal",
"alternatequotes", "alternatequotes",
"latin", "latin",
"latinalternatequotes", "latinalternatequotes",
@ -832,6 +908,7 @@ List<Keymap> keymaps = [
layout: "Russia", layout: "Russia",
backLayout: "ru", backLayout: "ru",
variant: [ variant: [
"normal",
"bak", "bak",
"chm", "chm",
"cv", "cv",
@ -861,6 +938,7 @@ List<Keymap> keymaps = [
layout: "Sweden", layout: "Sweden",
backLayout: "se", backLayout: "se",
variant: [ variant: [
"normal",
"dvorak", "dvorak",
"mac", "mac",
"nodeadkeys", "nodeadkeys",
@ -877,6 +955,7 @@ List<Keymap> keymaps = [
layout: "Slovenia", layout: "Slovenia",
backLayout: "si", backLayout: "si",
variant: [ variant: [
"normal",
"alternatequotes", "alternatequotes",
"us", "us",
], ],
@ -885,6 +964,7 @@ List<Keymap> keymaps = [
layout: "Slovakia", layout: "Slovakia",
backLayout: "sk", backLayout: "sk",
variant: [ variant: [
"normal",
"bksl", "bksl",
"qwerty", "qwerty",
"qwerty_bksl", "qwerty_bksl",
@ -894,6 +974,7 @@ List<Keymap> keymaps = [
layout: "Senegal", layout: "Senegal",
backLayout: "sn", backLayout: "sn",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -901,6 +982,7 @@ List<Keymap> keymaps = [
layout: "Sierra Leone", layout: "Sierra Leone",
backLayout: "sl", backLayout: "sl",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -908,6 +990,7 @@ List<Keymap> keymaps = [
layout: "Syria", layout: "Syria",
backLayout: "sy", backLayout: "sy",
variant: [ variant: [
"normal",
"ku", "ku",
"ku_alt", "ku_alt",
"ku_f", "ku_f",
@ -919,6 +1002,7 @@ List<Keymap> keymaps = [
layout: "Togo", layout: "Togo",
backLayout: "tg", backLayout: "tg",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -926,6 +1010,7 @@ List<Keymap> keymaps = [
layout: "Thailand", layout: "Thailand",
backLayout: "th", backLayout: "th",
variant: [ variant: [
"normal",
"pat", "pat",
"tis", "tis",
], ],
@ -934,6 +1019,7 @@ List<Keymap> keymaps = [
layout: "Tajikistan", layout: "Tajikistan",
backLayout: "tj", backLayout: "tj",
variant: [ variant: [
"normal",
"legacy", "legacy",
], ],
), ),
@ -941,6 +1027,7 @@ List<Keymap> keymaps = [
layout: "Turkmenistan", layout: "Turkmenistan",
backLayout: "tm", backLayout: "tm",
variant: [ variant: [
"normal",
"alt", "alt",
], ],
), ),
@ -948,6 +1035,7 @@ List<Keymap> keymaps = [
layout: "Turkey", layout: "Turkey",
backLayout: "tr", backLayout: "tr",
variant: [ variant: [
"normal",
"alt", "alt",
"crh", "crh",
"crh_alt", "crh_alt",
@ -967,6 +1055,7 @@ List<Keymap> keymaps = [
layout: "Taiwan", layout: "Taiwan",
backLayout: "tw", backLayout: "tw",
variant: [ variant: [
"normal",
"indigenous", "indigenous",
"saisiyat", "saisiyat",
], ],
@ -975,6 +1064,7 @@ List<Keymap> keymaps = [
layout: "Tanzania", layout: "Tanzania",
backLayout: "tz", backLayout: "tz",
variant: [ variant: [
"normal",
"", "",
], ],
), ),
@ -982,6 +1072,7 @@ List<Keymap> keymaps = [
layout: "Ukraine", layout: "Ukraine",
backLayout: "ua", backLayout: "ua",
variant: [ variant: [
"normal",
"homophonic", "homophonic",
"legacy", "legacy",
"phonetic", "phonetic",
@ -995,6 +1086,7 @@ List<Keymap> keymaps = [
layout: "United States of America", layout: "United States of America",
backLayout: "us", backLayout: "us",
variant: [ variant: [
"normal",
"alt-intl", "alt-intl",
"altgr-intl", "altgr-intl",
"chr", "chr",
@ -1026,6 +1118,7 @@ List<Keymap> keymaps = [
layout: "Uzbekistan", layout: "Uzbekistan",
backLayout: "uz", backLayout: "uz",
variant: [ variant: [
"normal",
"latin", "latin",
], ],
), ),
@ -1033,6 +1126,7 @@ List<Keymap> keymaps = [
layout: "Vietnam", layout: "Vietnam",
backLayout: "vn", backLayout: "vn",
variant: [ variant: [
"normal",
"fr", "fr",
"us", "us",
], ],
@ -1041,6 +1135,7 @@ List<Keymap> keymaps = [
layout: "South Africa", layout: "South Africa",
backLayout: "za", backLayout: "za",
variant: [ variant: [
"normal",
"", "",
], ],
) )

@ -1,3 +1,5 @@
import 'package:jade_gui/Locales/arctic.dart';
import 'africa.dart'; import 'africa.dart';
import 'america.dart'; import 'america.dart';
import 'antarctica.dart'; import 'antarctica.dart';
@ -25,6 +27,7 @@ List<Local> locations = [
Local(africa, "Africa"), Local(africa, "Africa"),
Local(america, "America"), Local(america, "America"),
Local(antarctica, "Antarctica"), Local(antarctica, "Antarctica"),
Local(arctic, "Arctic"),
Local(asia, "Asia"), Local(asia, "Asia"),
Local(atlantic, "Atlantic"), Local(atlantic, "Atlantic"),
Local(australia, "Australia"), Local(australia, "Australia"),

@ -1,8 +1,51 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:jade_gui/Keymaps/keymaps.dart'; import 'package:jade_gui/Keymaps/keymaps.dart';
import 'package:jade_gui/classes/keymap.dart';
import 'package:jade_gui/functions/keymap/variant.dart';
Widget keyboard(next) { Keymap chosenLayout = Keymap();
String getChosenLayout() {
return chosenLayout.backLayout;
}
Widget layoutOrVariant(showVariant, keymap, choseLayout, nextPage) {
if (choseLayout && keymap == chosenLayout) {
return variant(chosenLayout, nextPage);
} else {
return Container(
color: const Color.fromARGB(100, 169, 0, 255),
padding: const EdgeInsets.all(8),
child: ElevatedButton(
onPressed: () {
chosenLayout = keymap;
showVariant();
},
style: TextButton.styleFrom(
primary: Colors.white,
backgroundColor: const Color.fromARGB(100, 169, 0, 255),
padding: const EdgeInsets.all(10),
),
child: Text(
keymap.layout,
style: const TextStyle(
fontWeight: FontWeight.bold,
),
),
),
);
}
}
Widget layoutTemplate(Keymap keymap, showVariant, choseLayout, nextPage) {
return Container( return Container(
color: const Color.fromARGB(100, 169, 0, 255),
padding: const EdgeInsets.all(8),
child: layoutOrVariant(showVariant, keymap, choseLayout, nextPage));
}
Widget keyboard(nextPage, showVariant, choseLayout) {
return SingleChildScrollView(
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
@ -13,9 +56,17 @@ Widget keyboard(next) {
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Color.fromARGB(255, 169, 0, 255)), color: Color.fromARGB(255, 169, 0, 255)),
), ),
Row( GridView.count(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, primary: false,
children: [], padding: const EdgeInsets.all(20),
shrinkWrap: true,
crossAxisSpacing: 10,
mainAxisSpacing: 10,
crossAxisCount: 3,
children: keymaps
.map<Widget>((keymap) =>
layoutTemplate(keymap, showVariant, choseLayout, nextPage))
.toList(),
), ),
], ],
), ),

@ -0,0 +1,25 @@
import 'package:flutter/material.dart';
Widget layout(keymap, chosenLayout, showVariant) {
return Container(
color: const Color.fromARGB(100, 169, 0, 255),
padding: const EdgeInsets.all(8),
child: ElevatedButton(
onPressed: () {
chosenLayout = keymap;
showVariant();
},
style: TextButton.styleFrom(
primary: Colors.white,
backgroundColor: const Color.fromARGB(100, 169, 0, 255),
padding: const EdgeInsets.all(10),
),
child: Text(
keymap.layout,
style: const TextStyle(
fontWeight: FontWeight.bold,
),
),
),
);
}

@ -0,0 +1,43 @@
import 'package:flutter/material.dart';
String chosenVariant = "none";
String getChosenVariant() {
return chosenVariant;
}
Widget variantButton(variant, nextPage) {
return Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
ElevatedButton(
onPressed: () {
chosenVariant = variant;
nextPage();
},
child: Text(variant),
style: TextButton.styleFrom(
primary: Colors.white,
backgroundColor: const Color.fromARGB(100, 169, 0, 255),
),
),
const SizedBox(height: 10),
],
);
}
Widget variant(keymap, nextPage) {
return Container(
padding: const EdgeInsets.all(8),
color: const Color.fromARGB(100, 169, 0, 255),
child: SingleChildScrollView(
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: keymap.variant
.map<Widget>((variant) => variantButton(variant, nextPage))
.toList()),
),
);
}

@ -6,33 +6,37 @@ Location choosenLocPack = Location();
Widget locationTemplate(location, nextSlide) { Widget locationTemplate(location, nextSlide) {
return Container( return Container(
padding: const EdgeInsets.all(8), padding: const EdgeInsets.all(8),
child: ElevatedButton( color: const Color.fromARGB(100, 169, 0, 255),
onPressed: () { child: Container(
nextSlide(); padding: const EdgeInsets.all(8),
choosenLocPack = location; color: const Color.fromARGB(100, 169, 0, 255),
}, child: ElevatedButton(
style: TextButton.styleFrom( onPressed: () {
primary: Colors.white, nextSlide();
backgroundColor: const Color.fromARGB(100, 169, 0, 255), choosenLocPack = location;
padding: const EdgeInsets.all(10), },
), style: TextButton.styleFrom(
child: Column( primary: Colors.white,
children: [ backgroundColor: const Color.fromARGB(100, 169, 0, 255),
Image( padding: const EdgeInsets.all(10),
image: AssetImage( ),
'${location.image}', child: Column(
children: [
Image(
image: AssetImage(
'${location.image}',
),
height: 300,
width: 300,
), ),
height: 300, Text(location.location,
width: 300, style: const TextStyle(
), fontWeight: FontWeight.bold,
Text(location.location, )),
style: const TextStyle( ],
fontWeight: FontWeight.bold, ),
)),
],
), ),
), ),
//color: Colors.teal[100],
); );
} }

@ -5,24 +5,28 @@ String selectedRegion = "";
Widget locationTemplate(next, location) { Widget locationTemplate(next, location) {
return Container( return Container(
padding: const EdgeInsets.all(8), padding: const EdgeInsets.all(8),
child: ElevatedButton( color: const Color.fromARGB(100, 169, 0, 255),
onPressed: () { child: Container(
next(); padding: const EdgeInsets.all(8),
selectedRegion = location.name; color: const Color.fromARGB(100, 169, 0, 255),
}, child: ElevatedButton(
style: TextButton.styleFrom( onPressed: () {
primary: Colors.white, next();
backgroundColor: const Color.fromARGB(100, 169, 0, 255), selectedRegion = location.name;
padding: const EdgeInsets.all(10), },
), style: TextButton.styleFrom(
child: Column( primary: Colors.white,
mainAxisAlignment: MainAxisAlignment.center, backgroundColor: const Color.fromARGB(100, 169, 0, 255),
children: [ padding: const EdgeInsets.all(10),
Text(location.name), ),
], child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(location.name),
],
),
), ),
), ),
//color: Color.fromARGB(255, 83, 83, 83),
); );
} }

@ -3,6 +3,7 @@ import 'package:jade_gui/functions/location/location.dart';
import 'package:jade_gui/functions/welcome.dart'; import 'package:jade_gui/functions/welcome.dart';
import 'package:jade_gui/functions/locale.dart'; import 'package:jade_gui/functions/locale.dart';
import 'package:jade_gui/functions/keyboard.dart'; import 'package:jade_gui/functions/keyboard.dart';
import 'package:jade_gui/functions/keymap/variant.dart';
void main() => runApp( void main() => runApp(
const MaterialApp( const MaterialApp(
@ -21,6 +22,7 @@ class Jadegui extends StatefulWidget {
class _JadeguiState extends State<Jadegui> { class _JadeguiState extends State<Jadegui> {
int _selectedIndex = 0; int _selectedIndex = 0;
bool nextpage = false; bool nextpage = false;
bool choseLayout = false;
void nextslide() { void nextslide() {
setState(() { setState(() {
_selectedIndex = _selectedIndex + 1; _selectedIndex = _selectedIndex + 1;
@ -262,9 +264,14 @@ class _JadeguiState extends State<Jadegui> {
setState(() { setState(() {
_selectedIndex = _selectedIndex + 1; _selectedIndex = _selectedIndex + 1;
}); });
}); }, () {
setState(() {
choseLayout = true;
});
}, choseLayout);
break; break;
case 3: case 3:
print("${getChosenLayout()} - ${getChosenVariant()}");
widget = const Text( widget = const Text(
'Showing Timezone screen', 'Showing Timezone screen',
style: TextStyle( style: TextStyle(

Loading…
Cancel
Save