layouts/tr_q.rb
#Turkish Q keyboard layout

$layout_description = "TR Q keyboard layout"

$layout = {
				"!" => { 0 => "1", 1 => "2\"q"},
				"1" => { 0 => "!", 1 => "2\"q"},
				"q" => { 1 => "1!2\'wa"},
				"a" => { 1 => "qwsxz><"},
				"z" => { 1 => "asx<>"},
				">" => { 0 => "<", 1 => "az"},
				"<" => { 0 => ">", 1 => "az"},
				"2" => { 0 => "'", 1 => "1!qw3^"},
				"'" => { 0 => '2', 1 => "1!qw3^"},
				"w" => { 1 => "2'3^edsaq"},
				"s" => { 1 => "qwedcxza"},
				"x" => { 1 => "zasdc"},
				"3" => { 0 => "^" , 1 => "2wer4'+"},
				"e" => { 1 => "^+w34rfds"},
				"d" => { 1 => "werfvcxs"},
				"c" => { 1 => "xsdfv"},
				"4" => { 0 => "+", 1 => "3^\%er5"}, # should I add \ for %?
				"r" => { 1 => "4+5\%tgfde"},
				"f" => { 1 => "ertgvcd"},
				"v" => { 1 => "cfgb"},
				"5" => { 0 => "%", 1 => "4+rt6&"},
				"%" => { 0 => "5", 5 => "4+rt6&"},
				"t" => { 1 => "5%&6ygrf"},
				"g" => { 1 => "vbhfrty"},
				"b" => { 1 => "vghn"},
				"6" => { 0 => "&", 1 => "5\%ty7/"},
				"&" => { 0 => "6", 1 => "5\%ty7/"},
				"y" => { 1 => "67/&uhgtj" },
				"h" => { 1 => "tyujnbg" },
				"n" => { 1 => "bhjm" },
				"7" => { 0 => "/", 1 => "6&yu8("},
				"/" => { 0 => "7", 1 => "6&yu8("},
				"u" => { 1 => "78/(ijhyk"},
				"j" => { 1 => "uikmnhy"},
				"m" => { 1 => "njkö"},		#ö should I add as char?
				"8" => { 0 => "(", 1 => "7ui9/)"},
				"(" => { 0 => "8", 1 => "7ui9/)"},
				"ı" => { 1 => "89*(okju"},	#ı
				"k" => { 1 => "uıolömj"},
				"ö" => { 1 => "mklç"},
				"9" => { 0 => ")", 1 => "80(=ıo"},
				")" => { 0 => "9", 1 => "80(=ıo"},
				"o" => { 1 => "90)=plkı"},
				"l" => { 1 => "ıopşçök"},
				"ç" => { 1 => "lş.ö"},
				"." => { 0 => ":", 1 => "çlşi"},
				":" => { 0 => ".", 1 => "çlşi"},				
				"0" => { 0 => "=", 1 => "9*)?op"},
				"=" => { 0 => "0", 1 => "9*)?op"},
				"p" => { 1 => "o0*ğişl=?İ"},
				"ş" => { 1 => "opği.çlİ"},
				"*" => { 0 => "?", 1 => "0-ğp=_"},
				"?" => { 0 => "*", 1 => "0-ğp=_"},
				"ğ" => { 1 => "p*-üiş?_İ;,"},
				"İ" => { 1 => "pğüş.:;,"},
				"-" => { 0 => "_", 1 => "*ğü,?;"},
				"_" => { 0 => "-", 1 => "*ğü,?;"},
				"ü" => { 1 => "-ğiİ,;_"},
				"," => { 0 => ";", 1 => "ğüiİ"},
				";" => { 0 => ",", 1 => "ğüiİ"},
				"+" => { 0 => "=", 1 => "-_[{]}"},
				"]" => { 0 => "}", 1 => "=+[{'@#~"},
				"}" => { 0 => "}", 1 => "=+[{'@#~"},
				"#" => { 0 => "~", 1 => "]}'@"},
				"~" => { 0 => "#", 1 => "]}'@"},
			}

MAX_SCORE = 2