diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-25 13:14:27 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-25 13:14:27 +0000 |
commit | 4b6f1667dbc44aebfae5de7d92ae5b8a2095c243 (patch) | |
tree | db311478b0e3e25e7ad976f6c998d0b3d9cc4105 /input/input.c | |
parent | c256e5a766f673797a505727a8437ce78fd0dcdf (diff) | |
download | mpv-4b6f1667dbc44aebfae5de7d92ae5b8a2095c243.tar.bz2 mpv-4b6f1667dbc44aebfae5de7d92ae5b8a2095c243.tar.xz |
add half new input support for gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4859 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/input/input.c b/input/input.c index 2c61eb5b8e..537a897f0f 100644 --- a/input/input.c +++ b/input/input.c @@ -55,6 +55,18 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_TV_STEP_CHANNEL_LIST, "tv_step_chanlist", 0, { {-1,{0}} } }, #endif { MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } }, + +#ifdef HAVE_NEW_GUI + { MP_CMD_GUI_LOADFILE, "gui_loadfile", 0, { {-1,{0}} } }, + { MP_CMD_GUI_LOADSUBTITLE, "gui_loadsubtitle", 0, { {-1,{0}} } }, + { MP_CMD_GUI_ABOUT, "gui_about", 0, { {-1,{0}} } }, + { MP_CMD_GUI_PLAY, "gui_play", 0, { {-1,{0}} } }, + { MP_CMD_GUI_STOP, "gui_stop", 0, { {-1,{0}} } }, + { MP_CMD_GUI_PLAYLIST, "gui_playlist", 0, { {-1,{0}} } }, + { MP_CMD_GUI_PREFERENCES, "gui_preferences", 0, { {-1,{0}} } }, + { MP_CMD_GUI_SKINBROWSER, "gui_skinbrowser", 0, { {-1,{0}} } }, +#endif + { 0, NULL, 0, {} } }; @@ -137,7 +149,7 @@ static mp_cmd_bind_t def_cmd_binds[] = { { { '-', 0 }, "audio_delay -0.100" }, { { 'q', 0 }, "quit" }, { { KEY_ESC, 0 }, "quit" }, - { { 'p', 0 }, "pause" }, +// { { 'p', 0 }, "pause" }, { { ' ', 0 }, "pause" }, { { KEY_HOME, 0 }, "pt_up_step 1" }, { { KEY_END, 0 }, "pt_up_step -1" }, @@ -164,9 +176,19 @@ static mp_cmd_bind_t def_cmd_binds[] = { { { 'd', 0 }, "frame_drop" }, #ifdef USE_TV { { 'h', 0 }, "tv_step_channel 1" }, - { { 'l', 0 }, "tv_step_channel -1" }, + { { 'k', 0 }, "tv_step_channel -1" }, { { 'n', 0 }, "tv_step_norm" }, - { { 'b', 0 }, "tv_step_chanlist" }, + { { 'm', 0 }, "tv_step_chanlist" }, +#endif +#ifdef HAVE_NEW_GUI + { { 'l', 0 }, "gui_loadfile" }, + { { 't', 0 }, "gui_loadsubtitle" }, + { { 'a', 0 }, "gui_about" }, + { { KEY_ENTER, 0 }, "gui_play" }, + { { 's', 0 }, "gui_stop" }, + { { 'p', 0 }, "gui_playlist" }, + { { 'r', 0 }, "gui_preferences" }, + { { 'c', 0 }, "gui_skinbrowser" }, #endif #ifdef HAVE_JOYSTICK { { JOY_AXIS0_PLUS, 0 }, "seek 10" }, |