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 <ul class="keys omni">
27 <li class="mo chr27" onclick="setmode()"><b>Esc</b> q
28 <!-- not as static anymore, but never bothered; just see ^[ -->
33 use Shiar_Sheet::Keyboard;
34 my $keys = Shiar_Sheet::Keyboard->new({do 'mplayer.inc.pl'});
35 $keys->map($get{map}) or undef $get{map};
36 $keys->print_rows($get{rows}, [1,0]);
44 <dl class="legend legend-types">
46 <dd>Print information or change display.
47 <dt class="pm">subtitles
48 <dd>Alter subtitle selection and settings.
50 <dd>Video output adjustment.
52 <dd>Sound (track) configuration.
53 <dt class="mo">playback
55 <dt class="me">general
56 <dd>Other MPlayer features.
61 <dl class="legend legend-options">
62 <dt>key<:= $sign{arg} :>
63 <dd>Commands with a dot need an argument afterwards.
64 <dt class="ext">optional
65 <dd>Some features depend on setup and/or parameters.
68 <ul class="legend legend-set">
69 <li>keyboard <strong>map</strong> is
70 <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
71 <li><strong>ascii</strong> mode is
72 <:= defined $sign{-ascii} && 'forced ' :><em><:=
73 $sign{-ascii} ? 'on' : 'off' :></em>
74 <li><strong>keys</strong> are
75 <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
76 !exists $get{keys} && ' by default' :>
77 <li>default <strong>style</strong> is
78 <:= defined $get{style} && 'set to ' :><em><:= $style :></em>