diff --git a/input/input.c b/input/input.c index 4474039f7a..913ca5e434 100644 --- a/input/input.c +++ b/input/input.c @@ -54,6 +54,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_TV_STEP_NORM, "tv_step_norm",0, { {-1,{0}} } }, { MP_CMD_TV_STEP_CHANNEL_LIST, "tv_step_chanlist", 0, { {-1,{0}} } }, #endif + { MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } }, { 0, NULL, 0, {} } }; @@ -177,6 +178,7 @@ static mp_cmd_bind_t def_cmd_binds[] = { { { JOY_BTN2, 0 }, "volume 1"}, { { JOY_BTN3, 0 }, "volume -1"}, #endif + { { 'f', 0 }, "vo_fullscreen" }, { { 0 }, NULL } }; diff --git a/input/input.h b/input/input.h index 41da9451aa..fb8eda444a 100644 --- a/input/input.h +++ b/input/input.h @@ -21,6 +21,7 @@ #define MP_CMD_TV_STEP_CHANNEL 17 #define MP_CMD_TV_STEP_NORM 18 #define MP_CMD_TV_STEP_CHANNEL_LIST 19 +#define MP_CMD_VO_FULLSCREEN 20 #define MP_CMD_ARG_INT 0 #define MP_CMD_ARG_FLOAT 1