diff options
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/input/input.c b/input/input.c index faa4cbb073..dd4a27d63c 100644 --- a/input/input.c +++ b/input/input.c @@ -453,6 +453,7 @@ static const mp_cmd_bind_t def_cmd_binds[] = { { { 'a', 0 }, "sub_alignment" }, { { 'v', 0 }, "sub_visibility" }, { { 'j', 0 }, "sub_select" }, + { { 'J', 0 }, "sub_select -3" }, { { 'F', 0 }, "forced_subs_only" }, { { '#', 0 }, "switch_audio" }, { { '_', 0 }, "step_property switch_video" }, @@ -1524,13 +1525,6 @@ static void bind_keys(struct input_ctx *ictx, memcpy(bind->input,keys,(MP_MAX_KEY_DOWN+1)*sizeof(int)); } -static void add_binds(struct input_ctx *ictx, const mp_cmd_bind_t* list) -{ - int i; - for(i = 0 ; list[i].cmd ; i++) - bind_keys(ictx, list[i].input,list[i].cmd); -} - static int parse_config(struct input_ctx *ictx, char *file) { int fd; |