%{$groups},
version => '1.0',
title => 'Drix',
- category => 'latin',
+ category => 'latin/xorg',
intro => join("\n",
"European Latin layout version 3.1 providing",
'<a href="/unicode">Unicode</a> characters while pressing AltGr,',
},
version => '1.1',
title => 'EurKEY',
- category => 'latin',
+ category => 'latin/thirdparty',
intro => join("\n",
'Third-party proposal <a href="https://eurkey.steffen.bruentjen.eu/">EurKEY</a>',
'<abbr title="last updated 2017-05-15">v1.3</abbr> by Steffen Brüntjen',
<: # included from keyboard.plp
use 5.014;
use warnings;
+use utf8;
my @incs = glob 'keyboard/altgr/*.eng.inc.pl';
require Shiar_Sheet::Keyboard;
use List::Util qw( uniq max );
+my %caticon = (
+ legacy => "\N{TOP HAT}",
+ windows => "\x{1FA9F}", # \N{WINDOW}
+ macos => "\N{RED APPLE}",
+ xorg => "\N{PENGUIN}",
+);
+
printf '<section class="%s">', @sample ? 'section' : 'gallery';
if (@sample) {
print '<table class="big keys cmp">';
- print '<thead><tr><th>';
+ print '<thead><tr><th colspan=2>';
print "<th>$_" for @sample;
say '</tr></thead>';
}
}
say '</span>';
}
+ print "\t<th>";
+ print join '<br>', map { $caticon{$_} // () } split m{/}, $keys->{category};
+ say '';
$keys->print_key('', $_, $keys->{def}{''}{$_} // 'ni') for @sample;
say '</tr>';
}
%{ kbchars(\%rows) },
version => '1.3',
title => 'US option',
- category => 'latin/windows',
+ category => 'latin/macos',
intro => join("\n",
'Resulting <a href="/unicode">selection</a> of <a href="/charset">Unicode</a> characters',
"while pressing ⌥ Option (Alt) with Apple's US (or US International) layout",
+{
%{ $groups },
version => '1.1',
- title => 'msx code',
+ title => 'MSX code',
category => 'legacy/latin',
intro => join("\n",
- 'Resulting <a href="/unicode">selection</a> of equivalent <a href="/charset">Unicode</a> characters',
+ 'Resulting <a href="/unicode">selection</a>",
+ "of equivalent <a href="/charset">Unicode</a> characters',
"when the <em>code</em> key is pressed on an MSX home computer",
"(International model such as Toshiba HX10 or Phillips NMS 8245).",
),
%{ $groups },
version => '1.0',
title => 'OLPC',
- category => 'legacy/latin',
+ category => 'legacy/latin/xorg',
intro => join("\n",
"International US English developed for the OLPC project,",
'providing mostly European',
%{ kbchars(\%rows) },
version => '1.0',
title => 'US Symbolics',
- category => 'specialised/greek',
+ category => 'specialised/greek/xorg',
intro => join("\n",
"A US English extension providing scientific",
'<a href="/unicode">Unicode</a> characters while pressing AltGr,',
+{
%{ kbchars(\%rows) },
title => 'UK-extended',
- category => 'latin',
+ category => 'latin/thirdparty',
version => '1.0',
intro => join("\n",
"A Chrome OS extension",
+{
%{$groups},
title => 'Windows AltGr',
- category => 'latin/windows',
+ category => 'latin/windows/xorg',
version => '1.4',
intro => join("\n",
'Resulting <a href="/unicode">selection</a> of <a href="/charset">Unicode</a> characters',