keyboard/altgr: msx-graph mode counterpart to msx code
[sheet.git] / keyboard / altgr / apl.eng.inc.pl
index a2459967cae39a5d83959b5cbcf762282ae60366..c796cb31f61169737c74cb102addcd2529301e0a 100644 (file)
@@ -1,6 +1,7 @@
 use utf8;
 use strict;
 use warnings;
+use Shiar_Sheet::KeyboardChars 'kbchars';
 
 my %dyalogx = (
        'Q' => '⍰',
@@ -10,7 +11,7 @@ my %dyalogx = (
        'N' => '⍡',
        'M' => '∥',
 );
-our %rows = (
+my %rows = (
        '~' => '⌺',
        '!' => '⌶',
        '@' => '⍫',
@@ -91,8 +92,7 @@ our %rows = (
        %dyalogx,
 );
 
-my $groups = do 'keyboard/altgr/groups.inc.pl';
-$groups->{def}{''}{$_} = 'g4' for split //,'weEriIoOa/*'; # lookalikes
+my $groups = kbchars(\%rows);
 $groups->{def}{''}{$_} .= ' ext' for keys %dyalogx;
 $groups->{flag}{ext} = ['extended', 'optional operators not available in all variants'];
 
@@ -100,6 +100,7 @@ $groups->{flag}{ext} = ['extended', 'optional operators not available in all var
        %{$groups},
        version => '1.0',
        title => 'APL',
+       category => 'specialised',
        intro => join("\n",
                'Resulting <a href="/charset">Unicode</a> characters',
                'of a typical <a href="/apl">APL</a> keyboard layout',
@@ -111,5 +112,6 @@ $groups->{flag}{ext} = ['extended', 'optional operators not available in all var
                'Typical IBM-derived APL keyboard layout,',
                'as found in APLX and Dyalog implementations.',
        ],
-       image => 'keyboard/altgr/unicomp-apl.jpg',
+       image => 'data/keyboard/thumb/unicomp-apl.jpg',
+       imagealt => 'Alt on a custom keyboard with APL labels',
 }