keyboard/altgr: proper function to convert char maps
[sheet.git] / keyboard / altgr / spacecadet.eng.inc.pl
index cc6915d185edc299fc73c17e96a32de54af7ce21..d2e1eae5de59019bd174113105c967ce698dc56a 100644 (file)
@@ -1,7 +1,9 @@
 use utf8;
 use strict;
 use warnings;
-our %rows = (
+do './keyboard/altgr/groups.inc.pl';
+
+my %rows = (
        'q' => '∧',
        'w' => '∨',
        'e' => '∩',
@@ -88,7 +90,7 @@ our %rows = (
 );
 
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
+       %{ kbchars(\%rows) },
        version => '1.0',
        title => 'Space Cadet',
        intro => join("\n",