4 title => 'keyboard cheat sheet',
6 stylesheet => [qw( light dark circus mono red )],
11 <h1>keyboard cheat sheet</h1>
13 <h2>normal mode (default)</h2>
16 use Shiar_Sheet::Keyboard 2;
19 [qw(Á B ¢ Ð É F G H Í J Œ Ø µ Ñ Ó Ö Ä ® § Þ Ú V Å X Ü Æ)],
20 [qw(á b © ð é f g h í j œ ø µ ñ ó ö ä ® ß þ ú v å x ü æ)],
21 [qw(Å ı Ç ð ´ ̉ ˝ ̣ ˆ ½ Þ ¾ ˜ Ø ∏ Œ ‰ / ˇ ¨ ◊ „ ˛ ¼ ¸)],
22 [qw(å ∫ ç ∂ ´ ƒ © ˙ ^ ∆ ° ¬ µ ~ ø π œ ® ß † ¨ √ ∑ ≈ ¥ Ω)],
25 my $keys = Shiar_Sheet::Keyboard->new({
28 map { $_ => [''] } @{ $usint->[0] }
33 my $i = ord($_) - ord('a');
34 $_ => ["$usint->[1]->[$i]<br>$usint->[2]->[$i]"]
38 $keys->map($get{map}) or undef $get{map};
39 $keys->print_rows($get{rows}, [0]);
45 <ul class="legend legend-set">
46 <li>keyboard <strong>map</strong> is
47 <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
48 <li><strong>keys</strong> are
49 <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
50 !exists $get{keys} && ' by default' :>
51 <li>default <strong>style</strong> is
52 <:= defined $get{style} && 'set to ' :><em><:= $style :></em>