4 title => 'mplayer cheat sheet',
7 "Keyboard cheat sheet for the MPlayer media player,",
8 "overviewing the default controls."
11 mplayer video media sheet cheat reference overview control shortkey keyboard
13 charset => $sign{charset},
14 stylesheet => [qw'light dark circus mono red terse'],
19 <h1>MPlayer cheat sheet</h1>
21 <h2>index (default)</h2>
24 use Shiar_Sheet::Keyboard 2;
25 my $info = do 'mplayer.eng.inc.pl' or die $@;
26 $info->{def} = do 'mplayer.inc.pl';
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]);
36 <dl class="legend legend-types">
38 <dd>Print information or change display.
39 <dt class="pm">subtitles
40 <dd>Alter subtitle selection and settings.
42 <dd>Video output adjustment.
44 <dd>Sound (track) configuration.
45 <dt class="mo">playback
47 <dt class="me">general
48 <dd>Other MPlayer features.
53 <dl class="legend legend-options">
54 <dt>key<:= $sign{arg} :>
55 <dd>Commands with a dot need an argument afterwards.
56 <dt class="ext">optional
57 <dd>Some features depend on setup and/or parameters.
60 <ul class="legend legend-set">
61 <li>keyboard <strong>map</strong> is
62 <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
63 <li><strong>ascii</strong> mode is
64 <:= defined $sign{-ascii} && 'forced ' :><em><:=
65 $sign{-ascii} ? 'on' : 'off' :></em>
66 <li><strong>keys</strong> are
67 <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
68 !exists $get{keys} && ' by default' :>
69 <li>default <strong>style</strong> is
70 <:= defined $get{style} && 'set to ' :><em><:= $style :></em>