diff options
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 4 | ||||
-rw-r--r-- | input/input.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index c8bb838079..f07a81622f 100644 --- a/input/input.c +++ b/input/input.c @@ -91,6 +91,10 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_TV_SET_CONTRAST, "tv_set_contrast", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, { MP_CMD_TV_SET_HUE, "tv_set_hue", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, { MP_CMD_TV_SET_SATURATION, "tv_set_saturation", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, + { MP_CMD_TV_SET_BRIGHTNESS, "tv_set_brightness", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, + { MP_CMD_TV_SET_CONTRAST, "tv_set_contrast", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, + { MP_CMD_TV_SET_HUE, "tv_set_hue", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, + { MP_CMD_TV_SET_SATURATION, "tv_set_saturation", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, #endif { MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } }, { MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } }, diff --git a/input/input.h b/input/input.h index 95ee5ae76f..1950bf0b7b 100644 --- a/input/input.h +++ b/input/input.h @@ -49,6 +49,10 @@ #define MP_CMD_TV_SET_CONTRAST 45 #define MP_CMD_TV_SET_HUE 46 #define MP_CMD_TV_SET_SATURATION 47 +#define MP_CMD_TV_SET_BRIGHTNESS 44 +#define MP_CMD_TV_SET_CONTRAST 45 +#define MP_CMD_TV_SET_HUE 46 +#define MP_CMD_TV_SET_SATURATION 47 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 |