keyboard/mpv: indicate changes in similar mplayer numbers
[sheet.git] / keyboard / mpv.eng.inc.pl
1 use utf8;
2
3 my $legacy = do 'keyboard/mplayer.eng.inc.pl' or die $@;
4 $legacy->{def}{''}{$_}[0] =~ s/ ext\b// for '1'..'8';
5
6 {
7 title => 'mpv',
8 version => '1.3',
9 intro => join("\n",
10         'Default interface controls for version 0.35 of the mpv media player.',
11         'Differences from the original <a href="/mplayer">MPlayer</a> are indicated.',
12 ),
13 keywords => $legacy->{keywords},
14 rows => [1, 0],
15
16 mode => $legacy->{mode},
17
18 flag => { %{ $legacy->{flag} },
19         new => ["mpv"      => "Introduced in <em>mpv</em>, not supported in original MPlayer"],
20 },
21
22 def => {
23         '' => { %{ $legacy->{def}->{''} },
24                 '+' => ['g6 new', "audio delay +<>.1s\n+control"], # +ctrl in mpv
25                 '-' => ['g6 new', "audio delay -<>.1s\n+control"], # +ctrl in mpv
26                 'd' => ['g4 new', "deint<>erlace"],
27                 '5' => ['g4 new', "gamma decrease"], # replaces hue
28                 '6' => ['g4 new', "gamma increase"], # replaces hue
29
30                 'y' => undef,
31                 'g' => undef,
32                 'b' => undef,
33                 'j' => ['g2 new', "next sub<>title"], # was b
34                 'J' => ['g2 new', "prev<>ious sub<>title"], # was j
35
36                 '`' => ['g9 arg new', 'console'],
37                 'F' => ['g2 new', 'enlarge sub font'],
38                 'G' => ['g2 new', 'smaller sub font'],
39                 'a' => undef,
40                 'c' => undef,
41                 'n' => undef,
42                 'i' => ['g1 new', "stats info"],
43                 'I' => ['g1 new', "toggle stats info"],
44                 ',' => ['g7 new', "step backward<>s"],
45                 '_' => ['g4 new', "cycle video tr<>ack<>s"],
46                 'Q' => ['g9 new', "save and quit"],
47                 'O' => ['g1 new', "osd mode toggle"],
48                 'P' => [new => \'o'],
49                 'A' => ['g4 new', "aspect override"],
50                 'u' => ['g2 new', "subtitle style"],
51                 'V' => ['g2 new', "subtitle aspect"],
52                 'l' => ['g7 new', "A-B loop"],
53                 'L' => ['g7 new', "infinite looping"],
54                 'E' => ['g4 new', "edition cycle"],
55                 '^s'=> ['g9 ext new', "actual screen<>shot"],
56                 'R' => [new => \'t'],
57                 'Z' => [new => \'x'],
58                 'W' => [new => \'e'],
59         },
60 },
61 }