From 133e96335267b12bb7e97d9bbe551a3a043bd32a Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Thu, 28 Mar 2024 20:13:15 +0100 Subject: [PATCH] keyboard/altgr/macos: describe exceptions in nl language variant Comparison with English shows a couple of differences but only in uppercase, which seems stupid and warrants further investigation before linking it for public consumption. --- keyboard/altgr/macos-nl.eng.inc.pl | 38 ++++++++++++++++++++++++++++++ keyboard/altgr/macos.eng.inc.pl | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 keyboard/altgr/macos-nl.eng.inc.pl diff --git a/keyboard/altgr/macos-nl.eng.inc.pl b/keyboard/altgr/macos-nl.eng.inc.pl new file mode 100644 index 0000000..1cb96e3 --- /dev/null +++ b/keyboard/altgr/macos-nl.eng.inc.pl @@ -0,0 +1,38 @@ +use utf8; +use strict; +use warnings; +use Shiar_Sheet::KeyboardChars 'kbchars'; + +my $inherit = 'keyboard/altgr/macos.eng.inc.pl'; +do $inherit or warn "$inherit: ", $@ || $!; + +our %rows = (%rows, + '@' => '™', + '2' => '€', + 'E' => '‰', # R + 'R' => 'Â', # M + 'T' => 'Ê', + 'U' => 'Ë', + 'I' => 'È', + 'G' => 'Ì', + '~' => 'Ÿ', + 'Z' => 'Û', + 'X' => 'Ù', + 'N' => "\N{MODIFIER LETTER CIRCUMFLEX ACCENT}", + 'M' => "\N{SMALL TILDE}", +); + ++{ + %{ Shiar_Sheet::KeyboardChars::kbchars(\%rows) }, + version => '1.0', + title => 'Dutch option', + intro => join("\n", + 'Special characters', + "when pressing ⌥ Option (Alt) with Apple's Dutch layout.", + q{Not to be confused with Windows' AltGr keys.}, + ), + description => [ + "Apple Dutch keyboard layout table", + "with the Option modifier key.", + ], +} diff --git a/keyboard/altgr/macos.eng.inc.pl b/keyboard/altgr/macos.eng.inc.pl index 2eab950..b62c871 100644 --- a/keyboard/altgr/macos.eng.inc.pl +++ b/keyboard/altgr/macos.eng.inc.pl @@ -3,7 +3,7 @@ use strict; use warnings; use Shiar_Sheet::KeyboardChars 'kbchars'; -my %rows = ( +our %rows = ( 'A' => 'Å', 'a' => 'å', 'B' => 'ı', -- 2.30.0