From b64a25c8b02cab34613c4652ca374ded921f54af Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 2 Jan 2024 03:29:07 +0100 Subject: [PATCH] keyboard/altgr/msx: anachronisic proposals of missing uppercase --- keyboard/altgr/msx.eng.inc.pl | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/keyboard/altgr/msx.eng.inc.pl b/keyboard/altgr/msx.eng.inc.pl index af79ad3..eeb71c4 100644 --- a/keyboard/altgr/msx.eng.inc.pl +++ b/keyboard/altgr/msx.eng.inc.pl @@ -81,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', -- 2.30.0