summaryrefslogtreecommitdiffstats
path: root/input/input.c
Commit message (Collapse)AuthorAgeFilesLines
* introduced new MP_CMD_DVDNAV_MOUSECLICK command (bound to mouse0);nicodvb2006-09-191-1/+1
| | | | | | | | | | it's used to activate the button corresponding to the last mouse position. This is a workaround against possibly buggy implementation of upper_lower/upper_button_select() and friends; will be removed when possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19918 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed old dvdnav_event definitionsnicodvb2006-09-191-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19917 b3059339-0415-0410-9bf9-f77b7e298cf2
* when dvdnav is enabled associate MOUSE_BTN0 to dvdnav 6 (to simulate ↵nicodvb2006-09-161-0/+1
| | | | | | confirmation) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19858 b3059339-0415-0410-9bf9-f77b7e298cf2
* report to mplayer with a slave command the coordinates of the pointer ↵nicodvb2006-09-161-0/+1
| | | | | | reported by x11; rescale coordinates to [0,1]x[0,1] range - patch by Jonas Jermann and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19856 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add repeated screenshot mode to vf_screenshot.eugeni2006-09-151-2/+3
| | | | | | | It is triggered by "screenshot 1". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19839 b3059339-0415-0410-9bf9-f77b7e298cf2
* permit to select previous dvdnav menu, in the order chapter->title->rootnicodvb2006-09-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19783 b3059339-0415-0410-9bf9-f77b7e298cf2
* reassigned to KEY_KP? the dvdnav bindings used in input.confnicodvb2006-09-091-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19782 b3059339-0415-0410-9bf9-f77b7e298cf2
* Radio support, patch by Vladimir Voroshilov (voroshil gmail com)reimar2006-08-281-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19574 b3059339-0415-0410-9bf9-f77b7e298cf2
* extended slave mode with metadata retrieval commandsben2006-08-261-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19539 b3059339-0415-0410-9bf9-f77b7e298cf2
* added new filter option to menu file browser to only display some files ↵ben2006-08-221-0/+1
| | | | | | according to extension git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19497 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add matroska chapter seeking capability.eugeni2006-08-061-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19348 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several strings inside structs as const when they hold just reynaldo2006-07-161-1/+1
| | | | | | | | | read-only information and modifies GetLanguage in Gui/mplayer/gtk/menu.c to cope which the changes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19115 b3059339-0415-0410-9bf9-f77b7e298cf2
* get_path as const, patch by Stefan Huehner, stefan AT huehner-orgreynaldo2006-07-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 4reynaldo2006-07-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18890 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 2reynaldo2006-07-021-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
* gets ride of a few more sizeof(char)sreynaldo2006-06-301-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18862 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure mp_input_read_key_code always sleeps. Avoids 100% CPU loadreimar2006-06-251-4/+8
| | | | | | | during cache fill. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18814 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make EDL compilation unconditionaluau2006-04-271-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18313 b3059339-0415-0410-9bf9-f77b7e298cf2
* Align osd_show_text with osd_show_property_text.albeu2006-04-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18224 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a new command: osd_show_property_text that show an expanded propertyalbeu2006-04-231-0/+2
| | | | | | | | string on the OSD. Based on a patch 'by someone named "veal" on irc' that showed the filename. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18223 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle the tv color control commands with the properties.albeu2006-04-221-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18207 b3059339-0415-0410-9bf9-f77b7e298cf2
* Switch audio delay keys to something more sane (+ to increase, - to decrease)diego2006-04-151-2/+2
| | | | | | | that happens to also match the documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Subtitles properties: move sub_select, sub_pos, sub_visibilty,albeu2006-03-241-2/+2
| | | | | | | sub_alignment and sub_forced_only to properties. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17936 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert fullscreen, panscan, color controls, ontop, rootwin,albeu2006-03-231-4/+4
| | | | | | | | border, framedrop and vsync to properties. Also add a couple of video related properties like width, height, etc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17929 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move audio_delay to a property and add a few read only properties toalbeu2006-03-221-1/+1
| | | | | | | query samplerate, format, etc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17926 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the new property API and implement a couple properties.albeu2006-03-221-2/+4
| | | | | | | | Move the volume and mute command to the command to property bridge. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17912 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable gui key bindings only when running the gui. Fix enter and escalbeu2006-03-181-14/+28
| | | | | | | not working with a GUI enabled build running w/o GUI. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17891 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless cruft (binds variable)reimar2006-03-121-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17839 b3059339-0415-0410-9bf9-f77b7e298cf2
* add "pausing_keep" and "pausing_toggle" input cmd prefixesods152005-12-251-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17242 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add double-click mouse events.joey2005-11-111-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16975 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a switch, slave command, and vo control to toggle borderless window.joey2005-11-101-0/+1
| | | | | | | includes documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo input cleanup: remove the dependency on libinput,albeu2005-11-021-8/+40
| | | | | | | remove most of the crappy mappings (like O->o or ESC->q). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.diego2005-10-251-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16861 b3059339-0415-0410-9bf9-f77b7e298cf2
* translatable eng strings to new section on help_mp-enreynaldo2005-10-251-30/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16857 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make a few more messages translatable by moving them into help_mp-en.h.diego2005-10-181-1/+2
| | | | | | | patch by Paul TT < paultt == at == hackerjournal == dot == it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
* When compiled with gui, bind ESC to gui_stop so that s is free for screenshot.reimar2005-09-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16493 b3059339-0415-0410-9bf9-f77b7e298cf2
* add key_down_eventto slave mode, used to inject key down event with ↵nplourde2005-08-311-0/+1
| | | | | | mplayer_put_key git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16324 b3059339-0415-0410-9bf9-f77b7e298cf2
* loadfile/loadlist can now also add files to the playlistreimar2005-08-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16228 b3059339-0415-0410-9bf9-f77b7e298cf2
* use calloc so that mp_cmd_free won't use uninitialized data in case of an errorreimar2005-07-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16072 b3059339-0415-0410-9bf9-f77b7e298cf2
* consume empty lirc events at once.reimar2005-06-271-0/+2
| | | | | | | Patch by Lev A. Melnikovsky {leva at kapitza ras ru}. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15826 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add sub_load and sub_remove slave commands.reimar2005-06-091-0/+2
| | | | | | | Patch by kiriuja [mplayer-patches at en-directo dot net] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15707 b3059339-0415-0410-9bf9-f77b7e298cf2
* new get_time_pos slave mode commandoreimar2005-05-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15505 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds a parameter to the switch_audio command to directly select a track.reimar2005-04-281-1/+1
| | | | | | | Patch by kiriuja mplayer-patches at en-directo net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15286 b3059339-0415-0410-9bf9-f77b7e298cf2
* when parsing one cmd argument, only un-escape _this_ argument, not the ↵aurel2005-04-151-1/+1
| | | | | | following ones git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15163 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow sub_select and vobsub_lang to select particular subtitlehenry2005-04-111-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15129 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support of audio stream switching in the MPEG demuxer using the #-keygpoirier2005-04-031-0/+2
| | | | | | | | Patch by Michael Behrisch < behrisch $ informatik * hu-berlin * de > commited with the kind blessing of D. Richard Felker III git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15047 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make seek command parameter float.reimar2005-02-171-1/+1
| | | | | | | Patch by Oded Shimon [ods15 at ods15 dot dyndns dot org]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14719 b3059339-0415-0410-9bf9-f77b7e298cf2
* command to log current subtitle to filehenry2005-02-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14685 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix "Unknown argument" with cmd containing spacesaurel2005-02-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14682 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove all setlocale calls, they break the behaviour of sscanf andreimar2005-01-201-11/+0
| | | | | | | | strcasecmp, especially with tr_TR locale - and do not seem to be good for anything. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing break that caused an irritating error message all the time when ↵reimar2005-01-031-0/+1
| | | | | | using slave mode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14326 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable the run slave commande even without libmenuaurel2004-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14088 b3059339-0415-0410-9bf9-f77b7e298cf2
* add "pausing" prefix for MPlayer commandsreimar2004-11-201-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13992 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity.diego2004-11-151-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
* small memleak fix, based on patch by Wei Jiang <jiangw98@yahoo.com>faust32004-10-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13809 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow changing playback speed during playback.reimar2004-10-201-0/+8
| | | | | | | | | Based on patch by Steve Mueller (diffusor <at> ugcs (dot) caltech [dot] edu), OSD support by Frank Schertan (scherthan (at) uni-landau <dot> de), several modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make '.' key default for framesteppingreimar2004-10-141-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13643 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow to step only one frame forward by pressing s.reimar2004-10-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13627 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not loose commands while paused.reimar2004-10-101-8/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13604 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix a memory corruption and make sure only getch2 handles stdinfaust32004-09-151-2/+2
| | | | | | | | in order to avoid delayed events caused by lost input patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13346 b3059339-0415-0410-9bf9-f77b7e298cf2
* slave mode command to switch aspect ratio, patch by Aurelien Jacobs <aurel ↵faust32004-09-151-0/+1
| | | | | | at gnuage.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13340 b3059339-0415-0410-9bf9-f77b7e298cf2
* quit slave mode command now accepts an exit value, patch by Aurelien Jacobs ↵faust32004-09-151-1/+1
| | | | | | <aurel at gnuage.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13339 b3059339-0415-0410-9bf9-f77b7e298cf2
* slave mode command to en/disable vsync, patch by Aurelien Jacobs <aurel at ↵faust32004-09-021-0/+1
| | | | | | gnuage.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13229 b3059339-0415-0410-9bf9-f77b7e298cf2
* added runtime toggle of root window playbackjoey2004-08-221-0/+1
| | | | | | | only directx supports this at the moment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13092 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved combined vobsub_lang into sub_selectjoey2004-08-221-1/+1
| | | | | | | | | add support for dvd subs and ogg subs into sub_select document sub_select vobsub_lang left as a link to sub_select for backwards compatibility git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13090 b3059339-0415-0410-9bf9-f77b7e298cf2
* Corrected my mistake in the last memfix patch.al2004-08-031-4/+13
| | | | | | | | Bug was discovered by Shachar Raindel <shacharr@gmail.com>. The basic patch idea is also from him. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12943 b3059339-0415-0410-9bf9-f77b7e298cf2
* false-use-of-get_path() memleak fixes.al2004-07-231-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12891 b3059339-0415-0410-9bf9-f77b7e298cf2
* individual sub_select option not interferring with vobsub_langalex2004-07-171-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12842 b3059339-0415-0410-9bf9-f77b7e298cf2
* slave command dvb_set_channel now takes 2 arguments: channel cardnicodvb2004-04-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12307 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support binding F11 and F12 keys to commands.diego2004-01-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11794 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forced subtitles patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de>attila2003-09-211-0/+2
| | | | | | | | | | | | | | | | | | | | | For a given subtitle language you can now chose to display only the forced subtitles. Defaut is set to "show all subtitles" so that current mplayer behaviour is not changed. For DVD: Use -forced_subs_only additionally to e.g. -slang en if you are only interested in the forced subtitles. For VobSub: The idx file is now parsed for the "forced subs: ON/OFF" tag and used according to its settings. Key: You can toggle the display of forced subtitles by pressing "F" (upper case letter). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10918 b3059339-0415-0410-9bf9-f77b7e298cf2
* slave mode commands to print out vo_fs and sub_visibility globals, patch by ↵faust32003-09-191-0/+3
| |