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 $usint->[0]->[$_] => "$usint->[1]->[$_]<br>$usint->[2]->[$_]"
34 } 0 .. $#{ $usint->[0] }
37 $keys->map($get{map}) or undef $get{map};
38 $keys->print_rows($get{rows}, [0]);
44 <ul class="legend legend-set">
45 <li>keyboard <strong>map</strong> is
46 <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
47 <li><strong>keys</strong> are
48 <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
49 !exists $get{keys} && ' by default' :>
50 <li>default <strong>style</strong> is
51 <:= defined $get{style} && 'set to ' :><em><:= $style :></em>