keyboard/altgr/index: move ctrl rows to distinct inventory mode
[sheet.git] / keyboard / mpv.eng.inc.pl
index 11d4aff9224ba88c69e6de6557bb0fb3fce53f3a..2a3bc8b1f0f3cfbba5fd66d3f84af0cb14596de1 100644 (file)
@@ -1,6 +1,7 @@
 use utf8;
 
 my $legacy = do 'keyboard/mplayer.eng.inc.pl' or die $@;
+$legacy->{def}{''}{$_}[0] =~ s/ ext\b// for '1'..'8';
 
 {
 title => 'mpv',
@@ -12,34 +13,6 @@ intro => join("\n",
 keywords => $legacy->{keywords},
 rows => [1, 0],
 
-key => { %{ $legacy->{key} },
-       ',' => "step backward<>s",
-       'Q' => "save and quit",
-       '_' => "cycle video tr<>ack<>s",
-       '+' => "audio delay +<>.1s", # +ctrl in mpv
-       '-' => "audio delay -<>.1s", # +ctrl in mpv
-       'o' => "osd state switch",
-       'O' => "osd mode toggle",
-       'd' => "deint<>erlace",
-       'E' => "edition cycle",
-       'i' => "stats info",
-       'I' => "toggle stats info",
-       'j' => "next sub<>title",
-       'J' => "prev<>ious sub<>title",
-       'A' => "aspect override",
-       'u' => "subtitle style",
-       'V' => "subtitle aspect",
-       'l' => "A-B loop",
-       'L' => "infinite looping",
-       'S' => "record screen<>shot<>s\n-vf screenshot", # mpv?
-       '^s'=> "actual screen<>shot",
-       '5' => "gamma decrease",
-       '6' => "gamma increase",
-       'F' => 'enlarge sub font',
-       'G' => 'smaller sub font',
-       '`' => 'console',
-},
-
 mode => $legacy->{mode},
 
 flag => { %{ $legacy->{flag} },
@@ -48,33 +21,41 @@ flag => { %{ $legacy->{flag} },
 
 def => {
        '' => { %{ $legacy->{def}->{''} },
-               '`' => 'g9 arg new',
-               'b' => undef,
-               'g' => undef,
+               '+' => ['g6 new', "audio delay +<>.1s\n+control"], # +ctrl in mpv
+               '-' => ['g6 new', "audio delay -<>.1s\n+control"], # +ctrl in mpv
+               'd' => ['g4 new', "deint<>erlace"],
+               '5' => ['g4 new', "gamma decrease"], # replaces hue
+               '6' => ['g4 new', "gamma increase"], # replaces hue
+
                'y' => undef,
-               'F' => 'g2 new',
-               'G' => 'g2 new',
+               'g' => undef,
+               'b' => undef,
+               'j' => ['g2 new', "next sub<>title"], # was b
+               'J' => ['g2 new', "prev<>ious sub<>title"], # was j
+
+               '`' => ['g9 arg new', 'console'],
+               'F' => ['g2 new', 'enlarge sub font'],
+               'G' => ['g2 new', 'smaller sub font'],
                'a' => undef,
                'c' => undef,
                'n' => undef,
-               'i' => 'g1 new',
-               'I' => 'g1 new',
-               ',' => 'g7 new',
-               '_' => 'g4 new',
-               'Q' => 'g9 new',
-               'O' => 'g1 new',
-               'P' => '=o new',
-               'J' => 'g2 new',
-               'A' => 'g4 new',
-               'u' => 'g2 new',
-               'V' => 'g2 new',
-               'l' => 'g7 new',
-               'L' => 'g7 new',
-               'E' => 'g4 new',
-               '^s'=> 'g9 ext new',
-               'R' => '=t new',
-               'Z' => '=x new',
-               'W' => '=e new',
+               'i' => ['g1 new', "stats info"],
+               'I' => ['g1 new', "toggle stats info"],
+               ',' => ['g7 new', "step backward<>s"],
+               '_' => ['g4 new', "cycle video tr<>ack<>s"],
+               'Q' => ['g9 new', "save and quit"],
+               'O' => ['g1 new', "osd mode toggle"],
+               'P' => [new => \'o'],
+               'A' => ['g4 new', "aspect override"],
+               'u' => ['g2 new', "subtitle style"],
+               'V' => ['g2 new', "subtitle aspect"],
+               'l' => ['g7 new', "A-B loop"],
+               'L' => ['g7 new', "infinite looping"],
+               'E' => ['g4 new', "edition cycle"],
+               '^s'=> ['g9 ext new', "actual screen<>shot"],
+               'R' => [new => \'t'],
+               'Z' => [new => \'x'],
+               'W' => [new => \'e'],
        },
 },
 }