From: Mischa POSLAWSKY Date: Tue, 19 Dec 2023 18:33:19 +0000 (+0100) Subject: keyboard/altgr: omit unaltered keys X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/1645f78531b64d0da285900056692309794cc600 keyboard/altgr: omit unaltered keys --- diff --git a/keyboard/altgr/groups.inc.pl b/keyboard/altgr/groups.inc.pl index 0017f50..92cbb03 100644 --- a/keyboard/altgr/groups.inc.pl +++ b/keyboard/altgr/groups.inc.pl @@ -28,7 +28,6 @@ my %g; # present group classes }, key => \%rows, flag => { - g1 => ['unaltered', "same results as without modifier"], g2 => ['accented', "decomposes to the original letter with a combining accent"], g4 => ['similar', "transliterates (mostly) into the unmodified letter"], g5 => ['latin', "a different (accented) latin letter"], diff --git a/keyboard/altgr/ukext.eng.inc.pl b/keyboard/altgr/ukext.eng.inc.pl index 29702ec..a6fe865 100644 --- a/keyboard/altgr/ukext.eng.inc.pl +++ b/keyboard/altgr/ukext.eng.inc.pl @@ -85,8 +85,8 @@ our %rows = ( 'v' => '“', 'B' => '’', 'b' => '”', - 'N' => 'N', - 'n' => 'n', + #'N'=> 'N', + #'n'=> 'n', 'M' => 'º', 'm' => 'µ', '<' => '×', diff --git a/keyboard/altgr/windows.eng.inc.pl b/keyboard/altgr/windows.eng.inc.pl index 3b68cf7..993ea33 100644 --- a/keyboard/altgr/windows.eng.inc.pl +++ b/keyboard/altgr/windows.eng.inc.pl @@ -7,13 +7,14 @@ my @letters = qw( á b © ð é f g h í j œ ø µ ñ ó ö ä ® ß þ ú v å x ü æ ); our %rows = map { - $az[$_] => $letters[$_] + ($az[$_] eq $letters[$_]) ? () : + ($az[$_] => $letters[$_]) } 0 .. $#az; +{ %{ do 'keyboard/altgr/groups.inc.pl' }, title => 'altgr', - version => '1.2', + version => '1.3', intro => join("\n", 'Special characters returned with the AltGr modifier', 'for the Windows US international layout.',