keyboard/altgr: cache code include (package)
[sheet.git] / keyboard / altgr / msx.eng.inc.pl
index 4ad315d37fa8c36873e98a493b745f63b442ffbc..b84e37a42eefbaa7c1b25d07aa54984de7c63e8d 100644 (file)
@@ -1,7 +1,10 @@
 use utf8;
 use strict;
 use warnings;
-our %rows = (
+require './keyboard/altgr/groups.inc.pl';
+Shiar_Sheet::KeyboardChars->import('kbchars');
+
+my %rows = (
        '!' => '¡',
        '1' => 'ƒ',
        '@' => '₧',
@@ -20,8 +23,8 @@ our %rows = (
        '9' => 'ç',
        ')' => 'Δ',
        '0' => 'δ',
-       '-' => 'ε',
-       '=' => 'Θ',
+       '-' => '',
+       '=' => 'ϴ',
        '\\'=> '£',
 
        'q' => 'â',
@@ -34,7 +37,7 @@ our %rows = (
        'u' => 'é',
        'i' => 'í',
        'o' => 'ó',
-       'P' => 'π',
+       'P' => 'Π',
        'p' => 'ú',
        '{' => 'Φ',
        '[' => 'ø',
@@ -80,7 +83,7 @@ our %rows = (
 );
 
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
+       %{ kbchars(\%rows) },
        version => '1.0',
        title => 'msx code',
        intro => join("\n",