mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 12:47:59 +01:00
Add <Left>/<Right> mappings for seeking.
These are the same as "h" and "l".
This commit is contained in:
@@ -68,12 +68,12 @@ function Player() // {{{
|
|||||||
function () { player.toggleRepeat(); });
|
function () { player.toggleRepeat(); });
|
||||||
|
|
||||||
mappings.add([modes.PLAYER],
|
mappings.add([modes.PLAYER],
|
||||||
["h"], "Seek -10s",
|
["h", "<Left>"], "Seek -10s",
|
||||||
function (count) { player.seekBackward(Math.max(1, count) * 10000); },
|
function (count) { player.seekBackward(Math.max(1, count) * 10000); },
|
||||||
{ flags: Mappings.flags.COUNT });
|
{ flags: Mappings.flags.COUNT });
|
||||||
|
|
||||||
mappings.add([modes.PLAYER],
|
mappings.add([modes.PLAYER],
|
||||||
["l"], "Seek +10s",
|
["l", "<Right>"], "Seek +10s",
|
||||||
function (count) { player.seekForward(Math.max(1, count) * 10000); },
|
function (count) { player.seekForward(Math.max(1, count) * 10000); },
|
||||||
{ flags: Mappings.flags.COUNT });
|
{ flags: Mappings.flags.COUNT });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user