use utf8;
use strict;
use warnings;
-do './keyboard/altgr/groups.inc.pl';
+use Shiar_Sheet::KeyboardChars 'kbchars';
my %rows = (
'!' => '¡',
'/' => 'º',
);
+my %uc = (
+ (map { (uc $_ => uc $rows{$_}) } grep {
+ !defined $rows{uc $_}
+ } keys %rows),
+ '|' => '€',
+ 'M' => 'Ú',
+ '+' => 'Ø',
+);
+
+my $groups = kbchars({%rows, %uc});
+$groups->{def}{''}{$_} .= ' ext' for keys %uc;
+$groups->{flag}{ext} = ['anachrone', 'expected uppercase variants if allowed by charset'];
+
+{
- %{ kbchars(\%rows) },
- version => '1.0',
+ %{ $groups },
+ version => '1.1',
title => 'msx code',
+ category => 'legacy/latin',
intro => join("\n",
'Resulting <a href="/unicode">selection</a> of equivalent <a href="/charset">Unicode</a> characters',
"when the <em>code</em> key is pressed on an MSX home computer",
"MSX keyboard layout table",
"with the code modifier key.",
],
- image => 'keyboard/altgr/msxcode.jpg',
+ image => 'data/keyboard/thumb/msxcode.jpg',
+ imagealt => 'Code key on a Toshiba HX10 with graph labels',
}