keyboard/altgr/msx: anachronisic proposals of missing uppercase
[sheet.git] / keyboard / altgr / msx.eng.inc.pl
index 4ad315d37fa8c36873e98a493b745f63b442ffbc..eeb71c46f5c6195ee2bd030f5c79da00caccf05b 100644 (file)
@@ -1,7 +1,9 @@
 use utf8;
 use strict;
 use warnings;
-our %rows = (
+use Shiar_Sheet::KeyboardChars 'kbchars';
+
+my %rows = (
        '!' => '¡',
        '1' => 'ƒ',
        '@' => '₧',
@@ -20,8 +22,8 @@ our %rows = (
        '9' => 'ç',
        ')' => 'Δ',
        '0' => 'δ',
-       '-' => 'ε',
-       '=' => 'Θ',
+       '-' => '',
+       '=' => 'ϴ',
        '\\'=> '£',
 
        'q' => 'â',
@@ -34,7 +36,7 @@ our %rows = (
        'u' => 'é',
        'i' => 'í',
        'o' => 'ó',
-       'P' => 'π',
+       'P' => 'Π',
        'p' => 'ú',
        '{' => 'Φ',
        '[' => 'ø',
@@ -79,9 +81,22 @@ our %rows = (
        '/' => 'º',
 );
 
+my %uc = (
+       (map { (uc $_ => uc $rows{$_}) } grep {
+               !defined $rows{uc $_}
+       } keys %rows),
+       '|' => '€',
+       'M' => 'Ú',
+       '+' => 'Ø',
+);
+
+my $groups = kbchars({%rows, %uc});
+$groups->{def}{''}{$_} .= ' ext' for keys %uc;
+$groups->{flag}{ext} = ['anachrone', 'expected uppercase variants if allowed by charset'];
+
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
-       version => '1.0',
+       %{ $groups },
+       version => '1.1',
        title => 'msx code',
        intro => join("\n",
                'Resulting <a href="/unicode">selection</a> of equivalent <a href="/charset">Unicode</a> characters',