3 my $mode = $Request eq 'mpv' ? $Request : 'MPlayer';
4 my $include = "\L$mode.eng.inc.pl";
7 title => "\L$mode\E cheat sheet",
10 "Keyboard cheat sheet for the $mode media player,",
11 "overviewing the default controls."
14 mpv mplayer mplayer2 media player video audio
15 sheet cheat reference overview control shortkey keyboard
17 stylesheet => [qw( light dark circus mono red )],
22 say "<h1>$mode cheat sheet</h1>";
25 use Shiar_Sheet::Keyboard 2;
26 my $info = do $include or die $@;
27 my $keys = Shiar_Sheet::Keyboard->new($info);
28 $keys->map($get{map}) or undef $get{map};
29 $keys->print_rows($get{rows}, [1,0]);
30 $keys->print_legends(\%get);