keyboard/altgr/macos: describe exceptions in nl language variant
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 28 Mar 2024 19:13:15 +0000 (20:13 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 22 Apr 2024 22:53:55 +0000 (00:53 +0200)
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 [new file with mode: 0644]
keyboard/altgr/macos.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 (file)
index 0000000..1cb96e3
--- /dev/null
@@ -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 <a href="/unicode">characters</a>',
+               "when pressing ⌥ Option (Alt) with Apple's Dutch layout.",
+               q{Not to be confused with <a href="/keyboard/altgr">Windows'</a> AltGr keys.},
+       ),
+       description => [
+               "Apple Dutch keyboard layout table",
+               "with the Option modifier key.",
+       ],
+}
index 2eab950b280460f707dd4d058d09fc1e5d65816f..b62c871462d3014a1bd6cbd7780eab258b6fb37e 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 use Shiar_Sheet::KeyboardChars 'kbchars';
 
-my %rows = (
+our %rows = (
        'A' => 'Å',
        'a' => 'å',
        'B' => 'ı',