keyboard/altgr: precompute data includes
[sheet.git] / keyboard / altgr / eurkey.eng.inc.pl
index d62971f87da09ab06e3fa6654e13a4358b1a4118..a0b9ea21cbb7918c036256bb43d446a8913f1d30 100644 (file)
@@ -1,8 +1,7 @@
 use utf8;
 use strict;
 use warnings;
-require './keyboard/altgr/groups.inc.pl';
-Shiar_Sheet::KeyboardChars->import('kbmodes');
+use Shiar_Sheet::KeyboardChars 'kbmodes';
 
 my $V = v1.3;
 
@@ -276,10 +275,11 @@ my %rows = (
                ''  => 'option-shifted ⌥',
                'm' => 'Ω greek prefix ⌥m',
                'M' => '√ maths prefix ⌥M',
-               $presymbol => "$rows{$presymbol} symbol prefix ⌥$presymbol",
+               $presymbol => "$rows{''}{$presymbol} symbol prefix ⌥$presymbol",
        },
        version => '1.0',
        title => 'EurKEY',
+       category => 'latin',
        intro => join("\n",
                'Third-party proposal <a href="https://eurkey.steffen.bruentjen.eu/">EurKEY</a>',
                '<abbr title="last updated 2017-05-15">v1.3</abbr> by Steffen Brüntjen',
@@ -291,5 +291,6 @@ my %rows = (
        description => [
                "An interactive map of EurKEY, the European Keyboard Layout.",
        ],
-       image => 'keyboard/altgr/eurkeyboard.jpg',
+       image => 'data/keyboard/thumb/eurkeyboard.jpg',
+       imagealt => 'Right alt on the EurKEYboard created by Psy-Q',
 }