1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 05:42:19 +00:00
mpv/osdep
wm4 ed71606e65 input: rework how input sources are added
Until now, there were two functions to add input sources (stuff like
stdin input, slave mode, lirc, joystick). Unify them to a single
function (mp_input_add_fd()), and make sure the associated callbacks
always have a context parameter.

Change the lirc and joystick code such that they take store their state
in a context struct (probably worthless), and use the new mp_msg
replacements (the point of this refactoring).

Additionally, get rid of the ugly USE_FD0_CMD_SELECT etc. ifdeffery in
the terminal handling code.
2013-12-21 20:50:13 +01:00
..
ar
glob-win.c
glob.h Reduce recursive config.h inclusions in headers 2013-12-18 17:12:21 +01:00
io.c Merge mp_talloc.h into ta/ta_talloc.h 2013-12-17 02:18:16 +01:00
io.h stream: move O_BINARY dummy definition 2013-12-18 17:12:16 +01:00
macosx_application_objc.h cocoa: fix race condition with input context creation 2013-10-24 00:07:05 +02:00
macosx_application.h
macosx_application.m Fix OSX build; remove all remaining mpvcore references 2013-12-17 08:44:21 +01:00
macosx_compat.h
macosx_events.h Move mpvcore/input/ to input/ 2013-12-17 01:23:09 +01:00
macosx_events.m Fix OSX build; remove all remaining mpvcore references 2013-12-17 08:44:21 +01:00
mpv.exe.manifest win32: edit resource files, in particular set CompanyName 2013-09-23 01:44:09 +02:00
mpv.rc Copyright, LICENSE: switch to GPL version 2 or later 2013-10-13 01:36:10 +02:00
numcores.c
numcores.h
path-macosx.m Fix OSX build; remove all remaining mpvcore references 2013-12-17 08:44:21 +01:00
path-win.c Move options/config related files from mpvcore/ to options/ 2013-12-17 02:07:57 +01:00
path.h
priority.c osdep/priority: drop message output when setting priority 2013-12-21 20:50:11 +01:00
priority.h
terminal-unix.c input: rework how input sources are added 2013-12-21 20:50:13 +01:00
terminal-win.c input: rework how input sources are added 2013-12-21 20:50:13 +01:00
terminal.h input: rework how input sources are added 2013-12-21 20:50:13 +01:00
threads.c stream: split out pthread helper function 2013-11-17 16:42:57 +01:00
threads.h stream: split out pthread helper function 2013-11-17 16:42:57 +01:00
timer-darwin.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
timer-linux.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
timer-win2.c
timer.c
timer.h