X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/18606a64db0a6c02e5e289074b62728c93b5231b..b64a25c8b02cab34613c4652ca374ded921f54af:/keyboard/altgr/msx.eng.inc.pl diff --git a/keyboard/altgr/msx.eng.inc.pl b/keyboard/altgr/msx.eng.inc.pl index b84e37a..eeb71c4 100644 --- a/keyboard/altgr/msx.eng.inc.pl +++ b/keyboard/altgr/msx.eng.inc.pl @@ -1,8 +1,7 @@ use utf8; use strict; use warnings; -require './keyboard/altgr/groups.inc.pl'; -Shiar_Sheet::KeyboardChars->import('kbchars'); +use Shiar_Sheet::KeyboardChars 'kbchars'; my %rows = ( '!' => '¡', @@ -82,9 +81,22 @@ 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', intro => join("\n", 'Resulting selection of equivalent Unicode characters',