keyboard/altgr: proper function to convert char maps
[sheet.git] / keyboard / altgr / macos.eng.inc.pl
index d7bed09ef66a534e2d27fcb84bbd37a843025faf..aa153adafb8f230308da76a2bcb36e3648106030 100644 (file)
@@ -1,7 +1,9 @@
 use utf8;
 use strict;
 use warnings;
-our %rows = (
+do './keyboard/altgr/groups.inc.pl';
+
+my %rows = (
        'A' => 'Å',
        'a' => 'å',
        'B' => 'ı',
@@ -99,7 +101,7 @@ our %rows = (
 );
 
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
+       %{ kbchars(\%rows) },
        version => '1.3',
        title => 'US option',
        intro => join("\n",