keyboard: split specific letters into altgr include
[sheet.git] / keyboard.eng.inc.pl
index df1d3f01ffd60ef6f24a4686c5f2d1c1f4df59b1..0e6a8cbfb7ac3b9888d97b0717aa63f33406ef8f 100644 (file)
@@ -1,22 +1,8 @@
-use utf8;
 use Unicode::Normalize qw( NFKD );
 use Text::Unidecode qw( unidecode );
 
-my @usintrows = (
-       [  'a' ..                                            'z'],
-       [qw(Á B ¢ Ð É F G H Í J Œ Ø µ Ñ Ó Ö Ä ® § Þ Ú V Å X Ü Æ)],
-       [qw(á b © ð é f g h í j œ ø µ ñ ó ö ä ® ß þ ú v å x ü æ)],
-       [qw(Å ı Ç ð ´ ̉ ˝ ̣ ˆ ½  Þ ¾ ˜ Ø ∏ Œ ‰ / ˇ ¨ ◊ „ ˛ ¼ ¸)],
-       [qw(å ∫ ç ∂ ́ ƒ © ˙ ̂ ∆ ° ¬ µ ̃ ø π œ ® ß † ̈ √ ∑ ≈ ¥ Ω)],
-);
-my @usint = (
-       map {
-               my $c = $_;
-               [ map { $usintrows[$_]->[$c] } 0 .. 2 ]
-       } 0 .. $#{ $usintrows[0] }
-);
-
 {
+       rows => [0],
        def => {
                '' => {
                        map {
@@ -30,13 +16,13 @@ my @usint = (
                                        : 7
                                );
                                $row[0] => "g$class"
-                       } @usint
+                       } @rows
                },
        },
        key => {
                map {
                        $_->[0] => "$_->[1]<br>$_->[2]"
-               } @usint
+               } @rows
        },
        flag => {
                g1 => ['unaltered', "same results as without modifier"],