use utf8;
use strict;
use warnings;
+use Shiar_Sheet::KeyboardChars 'kbchars';
my %dyalogx = (
'Q' => '⍰',
'N' => '⍡',
'M' => '∥',
);
-our %rows = (
+my %rows = (
'~' => '⌺',
'!' => '⌶',
'@' => '⍫',
%dyalogx,
);
-my $groups = do 'keyboard/altgr/groups.inc.pl';
-$groups->{def}{''}{$_} = 'g4' for split //,'weEriIoOa/*'; # lookalikes
-$groups->{def}{''}{$_} .= ' ext' for keys %dyalogx;
+my $groups = kbchars(\%rows);
+$groups->{def}{''}{$_}[0] .= ' ext' for keys %dyalogx;
$groups->{flag}{ext} = ['extended', 'optional operators not available in all variants'];
+{
%{$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',
'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',
}