keyboard/altgr: automatically generate thumbnails from source images
[sheet.git] / keyboard / altgr / msx.eng.inc.pl
index af79ad3a03770dc00b46c9d08a3739d87ef0ac4a..6ed49a6c3f119f5f91e173de5d3e14ece2dbebdd 100644 (file)
@@ -81,9 +81,22 @@ my %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'];
+
 +{
-       %{ kbchars(\%rows) },
-       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',
@@ -94,5 +107,5 @@ my %rows = (
                "MSX keyboard layout table",
                "with the code modifier key.",
        ],
-       image => 'keyboard/altgr/msxcode.jpg',
+       image => 'data/keyboard/thumb/msxcode.jpg',
 }