make rules for unicode-char.inc.pl and ttfsupport/
[sheet.git] / mplayer.plp
index 2de974a958d3f5c274f0b921719d2c546cce1b07..200b355a433d5c309e8844277cec040289821006 100644 (file)
@@ -2,7 +2,7 @@
 
 Html({
        title => 'mplayer cheat sheet',
-       version => 'v1.0',
+       version => 'v1.1',
        description => [
                "Keyboard cheat sheet for the MPlayer media player,",
                "overviewing the default controls."
@@ -20,22 +20,14 @@ Html({
 
 <h2>index (default)</h2>
 
-<ul id="rows">
-
-<li class="row">
-       <ul class="keys omni">
-       <li class="mo chr27" onclick="setmode()"><b>Esc</b> q
-               <!-- not as static anymore, but never bothered; just see ^[ -->
-       </ul>
-</li>
-
 <:
-use Shiar_Sheet::Keyboard;
-my $keys = Shiar_Sheet::Keyboard->new({do 'mplayer.inc.pl'});
+use Shiar_Sheet::Keyboard 2;
+my $info = do 'mplayer.eng.inc.pl' or die $@;
+$info->{def} = do 'mplayer.inc.pl';
+my $keys = Shiar_Sheet::Keyboard->new($info);
 $keys->map($get{map}) or undef $get{map};
 $keys->print_rows($get{rows}, [1,0]);
 :>
-</ul>
 
 <hr>