X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/5b1e36fe6ef82d91db40148dee2fde1f39ff4b7f..c107916780c5d7bf0267ae031a72eb331145d935:/keyboard/altgr/msx.eng.inc.pl
diff --git a/keyboard/altgr/msx.eng.inc.pl b/keyboard/altgr/msx.eng.inc.pl
index 4ad315d..95ce772 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' => 'Æ',
'@' => 'â§',
@@ -20,8 +22,8 @@ our %rows = (
'9' => 'ç',
')' => 'Î',
'0' => 'δ',
- '-' => 'ε',
- '=' => 'Î',
+ '-' => 'â',
+ '=' => 'Ï´',
'\\'=> '£',
'q' => 'â',
@@ -34,7 +36,7 @@ our %rows = (
'u' => 'é',
'i' => 'Ã',
'o' => 'ó',
- 'P' => 'Ï',
+ 'P' => 'Î ',
'p' => 'ú',
'{' => 'Φ',
'[' => 'ø',
@@ -79,18 +81,36 @@ our %rows = (
'/' => 'º',
);
+my %uc = (
+ (map { (uc $_ => uc $rows{$_}) } grep {
+ !defined $rows{uc $_}
+ } keys %rows),
+ '|' => 'â¬',
+ 'M' => 'Ã',
+ '+' => 'Ã',
+);
+
+my $groups = kbchars({%rows, %uc});
+$groups->{def}{''}{$_}[0] .= ' 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.2',
+ title => 'MSX code',
+ category => 'legacy/msx/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).",
+ 'See also block graphics',
+ "from pressing graph.",
),
description => [
"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',
}