keyboard/altgr: proper function to convert char maps
[sheet.git] / keyboard / altgr / msx.eng.inc.pl
index 6ea44e2d8f07d190193f3c8e46c2fc83432491ef..08d961bf81a444ec6b618af7deaec228221b7b4b 100644 (file)
@@ -1,7 +1,9 @@
 use utf8;
 use strict;
 use warnings;
-our %rows = (
+do './keyboard/altgr/groups.inc.pl';
+
+my %rows = (
        '!' => '¡',
        '1' => 'ƒ',
        '@' => '₧',
@@ -80,7 +82,7 @@ our %rows = (
 );
 
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
+       %{ kbchars(\%rows) },
        version => '1.0',
        title => 'msx code',
        intro => join("\n",