git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keyboard/altgr: automatically generate thumbnails from source images
[sheet.git]
/
keyboard
/
altgr
/
apl.eng.inc.pl
diff --git
a/keyboard/altgr/apl.eng.inc.pl
b/keyboard/altgr/apl.eng.inc.pl
index d5eb309ec796af05d0cdafdb226ef2bfd65d8c32..efae0ba2a747e8cbeb3ff5d500eed30b37dffbfe 100644
(file)
--- a/
keyboard/altgr/apl.eng.inc.pl
+++ b/
keyboard/altgr/apl.eng.inc.pl
@@
-1,6
+1,7
@@
use utf8;
use strict;
use warnings;
use utf8;
use strict;
use warnings;
+use Shiar_Sheet::KeyboardChars 'kbchars';
my %dyalogx = (
'Q' => '⍰',
my %dyalogx = (
'Q' => '⍰',
@@
-10,7
+11,7
@@
my %dyalogx = (
'N' => '⍡',
'M' => '∥',
);
'N' => '⍡',
'M' => '∥',
);
-
our
%rows = (
+
my
%rows = (
'~' => '⌺',
'!' => '⌶',
'@' => '⍫',
'~' => '⌺',
'!' => '⌶',
'@' => '⍫',
@@
-91,7
+92,8
@@
our %rows = (
%dyalogx,
);
%dyalogx,
);
-my $groups = do 'keyboard/altgr/groups.inc.pl';
+my $groups = kbchars(\%rows);
+$groups->{def}{''}{$_} = 'g4' for split //,'weEriIoOa/*'; # lookalikes
$groups->{def}{''}{$_} .= ' ext' for keys %dyalogx;
$groups->{flag}{ext} = ['extended', 'optional operators not available in all variants'];
$groups->{def}{''}{$_} .= ' ext' for keys %dyalogx;
$groups->{flag}{ext} = ['extended', 'optional operators not available in all variants'];
@@
-110,5
+112,5
@@
$groups->{flag}{ext} = ['extended', 'optional operators not available in all var
'Typical IBM-derived APL keyboard layout,',
'as found in APLX and Dyalog implementations.',
],
'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',
}
}