; begin Header coat (1000) name "Līvõ–latviešu" version 1 author "LAttilaD" description "Livonian and Latvian keyboard" ; end Header ; begin Colors let (lettercolor 0nodg) let (digitcolor 0nodv) let (spacecolor 0npwm) let (deletecolor 0nlhr) let (entercolor 0nmvm) let (shiftcolor 0nldo) let (specialcolor 0nlho) let (altcolor 0nodo) let (altsymcolor 0nlfy) let (diacolor 0nowg) let (switchcolor 0npdb) let (normalbgnd 0nk) let (secondbgnd 0ndg) let (thirdbgnd 0nowb) let (lbut 0nk) let (llet 0ng) ; end Colors ; begin Defaults activecolor 0ndfg lockcolor 0nlhs autocolor 0ndfy default (addtitle (size 1500)) ; begin Enter let (entertext "Enter") showtitles ( entertext (entertext) gotext (entertext) searchtext (entertext) sendtext (entertext) nexttext (entertext) donetext (entertext) prevtext (entertext) nonetext (entertext) unknowntext (entertext) ) ; end Enter ; end Defaults ; begin Slots ; end Slots ; begin Blocks ; begin Specials let (bkspblock block ( button (backspace repeat color deletecolor addtitle (text '←')) ) ) let (setblock block ( button (settings color specialcolor addtitle (text "Set" xoffset 750 size 500)) ) ) let (enterblock block ( enter (color entercolor addtitle (size 1000)) ) ) let (shiftblock block ( meta (caps color shiftcolor addtitle (text "Shift" size 1000)) ) ) let (spaceblock block ( button (text ' ' color spacecolor addtitle (text "Space" size 750)) ) ) let (cycle1block block ( switch (board secondlayout lock color switchcolor addtitle (text "Switch" size 500 xoffset -750)) ) ) let (cycle2block block ( switch (board thirdlayout lock color switchcolor addtitle (text "Switch" size 500 xoffset -750)) ) ) let (cycle3block block ( switch (board mainlayout lock color switchcolor addtitle (text "Switch" size 500)) ) ) ; end Specials ; begin QWERTY let (qwertyblock block ( button (text 'q' color lettercolor) button (text 'w' color lettercolor) button (text 'e' color lettercolor) button (text 'r' color lettercolor) button (text 't' color lettercolor) button (text 'y' color lettercolor) button (text 'u' color lettercolor) button (text 'i' color lettercolor) button (text 'o' color lettercolor) button (text 'p' color lettercolor) crr button (text 'a' color lettercolor) button (text 's' color lettercolor) button (text 'd' color lettercolor) button (text 'f' color lettercolor) button (text 'g' color lettercolor) button (text 'h' color lettercolor) button (text 'j' color lettercolor) button (text 'k' color lettercolor) button (text 'l' color lettercolor) crr button (text 'z' color lettercolor) button (text 'x' color lettercolor) button (text 'c' color lettercolor) button (text 'v' color lettercolor) button (text 'b' color lettercolor) button (text 'n' color lettercolor) button (text 'm' color lettercolor) ) ) ; end QWERTY ; begin Main Punctuation let (mainpunct block ( button (text '!' color altcolor addtitle(xoffset 700 color 0ny)) button (text '?' color altcolor addtitle(color 0ny)) button (text '@' color altcolor addtitle(color 0ny)) button (text '(' color altcolor addtitle(color 0ny)) button (text ')' color altcolor addtitle(color 0ny)) button (text ';' color altcolor addtitle(color 0ny)) button (text ':' color altcolor addtitle(color 0ny)) button (text '-' color altcolor addtitle(color 0ny)) button (text ',' color altcolor addtitle(color 0ny)) button (text '.' color altcolor addtitle(color 0ny)) ) ) ; end Main Punctuation ; begin Second Punctuation let (secondpunct block ( button (text '+' color altcolor addtitle(xoffset 700 color 0ny)) button (text '*' color altcolor addtitle(color 0ny)) button (text '/' color altcolor addtitle(color 0ny)) button (text '#' color altcolor addtitle(color 0ny)) button (text '$' color altcolor addtitle(color 0ny)) button (text '%' color altcolor addtitle(color 0ny)) button (text '&' color altcolor addtitle(color 0ny)) button (text '_' color altcolor addtitle(color 0ny)) button (text '=' color altcolor addtitle(color 0ny)) button (text '"' color altcolor addtitle(color 0ny)) crr skip 3 button (text '[' color altcolor addtitle(color 0ny)) button (text ']' color altcolor addtitle(color 0ny)) button (text '{' color altcolor addtitle(color 0ny)) button (text '}' color altcolor addtitle(color 0ny)) button (text '<' color altcolor addtitle(color 0ny)) button (text '>' color altcolor addtitle(color 0ny)) button (text '–' color altcolor addtitle(color 0ny)) crr skip 3 button (text "'" color altcolor addtitle(color 0ny)) button (text '\\' color altcolor addtitle(color 0ny)) button (text '|' color altcolor addtitle(color 0ny)) button (text '^' color altcolor addtitle(color 0ny)) button (text '©' color altcolor addtitle(color 0ny)) button (text '§' color altcolor addtitle(color 0ny)) crr skip 3 button (text '«' color altcolor addtitle(color 0ny)) button (text '»' color altcolor addtitle(color 0ny)) button (text '„' color altcolor addtitle(color 0ny)) button (text '”' color altcolor addtitle(color 0ny)) ) ) ; end Second Punctuation ; begin Digits let (digitblock block ( button (text '7' color digitcolor addtitle (color 0nlhv)) button (text '8' color digitcolor addtitle (color 0nlhv)) button (text '9' color digitcolor addtitle (color 0nlhv)) crr button (text '4' color digitcolor addtitle (color 0nlhv)) button (text '5' color digitcolor addtitle (color 0nlhv)) button (text '6' color digitcolor addtitle (color 0nlhv)) crl button (text '0' color digitcolor addtitle (color 0nlhv)) button (text '1' color digitcolor addtitle (color 0nlhv)) button (text '2' color digitcolor addtitle (color 0nlhv)) button (text '3' color digitcolor addtitle (color 0nlhv)) ) ) ; end Digits ; begin Livonian-Latvian let (thirdblock block ( button (text 'q' color lbut addtitle (color llet)) button (text 'w' color lbut addtitle (color llet)) button (text 'e' color lbut addtitle (color llet)) button (text 'r' color lbut addtitle (color llet)) button (text 't' color lbut addtitle (color llet)) button (text 'y' color lbut addtitle (color llet)) button (text 'u' color lbut addtitle (color llet)) button (text 'i' color lbut addtitle (color llet)) button (text 'o' color lbut addtitle (color llet)) button (text 'p' color lbut addtitle (color llet)) button (text 'ū' color lbut addtitle (color llet)) button (text 'ž' color lbut addtitle (color llet)) button (text "ō" color lbut addtitle (color llet)) crr button (text 'a' color lbut addtitle (color llet)) button (text 's' color lbut addtitle (color llet)) button (text 'd' color lbut addtitle (color llet)) button (text 'f' color lbut addtitle (color llet)) button (text 'g' color lbut addtitle (color llet)) button (text 'h' color lbut addtitle (color llet)) button (text 'j' color lbut addtitle (color llet)) button (text 'k' color lbut addtitle (color llet)) button (text 'l' color lbut addtitle (color llet)) button (text 'õ' color lbut addtitle (color llet)) button (text 'ē' color lbut addtitle (color llet)) button (text 'ā' color lbut addtitle (color llet)) crr button (text 'z' color lbut addtitle (color llet)) button (text 'x' color lbut addtitle (color llet)) button (text 'c' color lbut addtitle (color llet)) button (text 'v' color lbut addtitle (color llet)) button (text 'b' color lbut addtitle (color llet)) button (text 'n' color lbut addtitle (color llet)) button (text 'm' color lbut addtitle (color llet)) button (text 'ļ' color lbut addtitle (color llet)) button (text 'ņ' color lbut addtitle (color llet)) button (text 'š' color lbut addtitle (color llet)) button (text "ȳ" color lbut addtitle (color llet)) crl button (text 'ä' color lbut addtitle (color llet)) button (text "ǟ" color lbut addtitle (color llet)) button (text "ḑ" color lbut addtitle (color llet)) button (text "ī" color lbut addtitle (color llet)) button (text "ȯ" color lbut addtitle (color llet)) button (text "ȱ" color lbut addtitle (color llet)) skip 1 button (text "ŗ" color lbut addtitle (color llet)) button (text "ţ" color lbut addtitle (color llet)) button (text "č" color lbut addtitle (color llet)) button (text "ģ" color lbut addtitle (color llet)) button (text "ķ" color lbut addtitle (color llet)) ) ) ; end Livonian-Latvian ; end Blocks ; begin Layouts addlayout (id mainlayout start halfcolumns 20 rows 4 align evens turnoff (caps) asboard color normalbgnd) addlayout (id secondlayout halfcolumns 20 rows 4 align evens turnoff (caps) asboard color secondbgnd) addlayout (id thirdlayout halfcolumns 26 rows 5 align evens turnoff (caps) asboard color thirdbgnd) ; end Layouts ; begin Assembling Layouts ; begin Main default (block (layout mainlayout)) block (mainpunct row 1 column 1) block (qwertyblock row 2 column 1) block (bkspblock row 1 column 11) block (setblock row 3 column 1) block (cycle1block row 3 column 11) block (shiftblock row 4 column 1) block (spaceblock row 4 column 9) block (enterblock row 4 column 10) ; end Main ; begin Second default (block (layout secondlayout)) block (digitblock row 2 column 1) block (secondpunct row 1 column 1) block (bkspblock row 1 column 11) block (setblock row 3 column 1) block (cycle2block row 3 column 11) block (spaceblock row 4 column 9) block (enterblock row 4 column 10) ; end Second ; begin Third default (block (layout thirdlayout)) block (mainpunct row 1 column 1) block (thirdblock row 2 column 1) block (cycle3block row 1 column 11) block (bkspblock row 1 column 12) block (enterblock row 1 column 13) block (shiftblock row 4 column 1) block (spaceblock row 5 column 8) ; end Main ; end Assembling Layouts