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>
26 use Shiar_Sheet::Keyboard 2;
27 my $info = do 'mplayer.eng.inc.pl' or die $@;
28 $info->{def} = do 'mplayer.inc.pl';
29 my $keys = Shiar_Sheet::Keyboard->new($info);
30 $keys->map($get{map}) or undef $get{map};
31 $keys->print_rows($get{rows}, [1,0]);
39 <dl class="legend legend-types">
41 <dd>Print information or change display.
42 <dt class="pm">subtitles
43 <dd>Alter subtitle selection and settings.
45 <dd>Video output adjustment.
47 <dd>Sound (track) configuration.
48 <dt class="mo">playback
50 <dt class="me">general
51 <dd>Other MPlayer features.
56 <dl class="legend legend-options">
57 <dt>key<:= $sign{arg} :>
58 <dd>Commands with a dot need an argument afterwards.
59 <dt class="ext">optional
60 <dd>Some features depend on setup and/or parameters.
63 <ul class="legend legend-set">
64 <li>keyboard <strong>map</strong> is
65 <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
66 <li><strong>ascii</strong> mode is
67 <:= defined $sign{-ascii} && 'forced ' :><em><:=
68 $sign{-ascii} ? 'on' : 'off' :></em>
69 <li><strong>keys</strong> are
70 <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
71 !exists $get{keys} && ' by default' :>
72 <li>default <strong>style</strong> is
73 <:= defined $get{style} && 'set to ' :><em><:= $style :></em>