use utf8;

my $legacy = do 'keyboard/mplayer.eng.inc.pl' or die $@;

{
title => 'mpv',
version => '1.3',
intro => join("\n",
	'Default interface controls for version 0.35 of the mpv media player.',
	'Differences from the original <a href="/mplayer">MPlayer</a> are indicated.',
),
keywords => $legacy->{keywords},
rows => [1, 0],

mode => $legacy->{mode},

flag => { %{ $legacy->{flag} },
	new => ["mpv"      => "Introduced in <em>mpv</em>, not supported in original MPlayer"],
},

def => {
	'' => { %{ $legacy->{def}->{''} },
		'd' => ['g4 new', "deint<>erlace"],
		'5' => ['g4 ext', "gamma decrease"],
		'6' => ['g4 ext', "gamma increase"],

		'y' => undef,
		'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', "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'],
	},
},
}
