X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/3011a80c730f0a13b47453ccc3497596f0831c44..d5673328262606bd06f36fd41f0ec866977db7b2:/keyboard/altgr/msx.eng.inc.pl
diff --git a/keyboard/altgr/msx.eng.inc.pl b/keyboard/altgr/msx.eng.inc.pl
index 6ea44e2..ec8e556 100644
--- a/keyboard/altgr/msx.eng.inc.pl
+++ b/keyboard/altgr/msx.eng.inc.pl
@@ -1,7 +1,9 @@
use utf8;
use strict;
use warnings;
-our %rows = (
+use Shiar_Sheet::KeyboardChars 'kbchars';
+
+my %rows = (
'!' => '¡',
'1' => 'Æ',
'@' => 'â§',
@@ -79,12 +81,27 @@ our %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'];
+
+{
- %{ do 'keyboard/altgr/groups.inc.pl' },
- version => '1.0',
- title => 'msx code',
+ %{ $groups },
+ version => '1.1',
+ title => 'MSX code',
+ category => 'legacy/latin',
intro => join("\n",
- 'Resulting selection of equivalent Unicode characters',
+ 'Resulting selection",
+ "of equivalent Unicode characters',
"when the code key is pressed on an MSX home computer",
"(International model such as Toshiba HX10 or Phillips NMS 8245).",
),
@@ -92,5 +109,6 @@ our %rows = (
"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',
}