1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-03 04:37:54 +00:00
mpv/osdep
Uoti Urpala 23cb829072 input: move all key code lists to input/keycodes.h
Move the definitions of all special key codes (those not passed by
ASCII value) to input/keycodes.h. Before they were spread between
osdep/keycodes.h, input/joystick.h, input/mouse.h and input/ar.h, plus
some special values in input.h. This was especially inconvenient as
the codes had to be coordinated to not conflict between the files.

The change requires a bit of ugliness as appleir.c includes
<linux/input.h> which contains various conflicting KEY_* definitions.
Work around this by adding a special preprocessor variable which can
be used to avoid defining these in keycodes.h.
2011-05-02 00:43:31 +03:00
..
getch2-os2.c input: move all key code lists to input/keycodes.h 2011-05-02 00:43:31 +03:00
getch2-win.c input: move all key code lists to input/keycodes.h 2011-05-02 00:43:31 +03:00
getch2.c input: move all key code lists to input/keycodes.h 2011-05-02 00:43:31 +03:00
getch2.h
gettimeofday.c osdep: Fix gettimeofday type to match the real one 2010-11-02 04:14:44 +02:00
glob-win.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
glob.h
macosx_finder_args.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
macosx_finder_args.h osdep/macosx_finder_args.h: include required header m_config.h 2010-11-02 04:16:46 +02:00
mmap_anon.c
mmap_anon.h
mmap-os2.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
mmap.h
mplayer.exe.manifest Windows support: add a manifest file 2010-11-02 04:14:20 +02:00
mplayer.rc Windows support: add a manifest file 2010-11-02 04:14:20 +02:00
numcores.c vd_ffmpeg: set thread count to number of cores on machine by default 2010-12-20 05:53:28 +02:00
numcores.h vd_ffmpeg: set thread count to number of cores on machine by default 2010-12-20 05:53:28 +02:00
osdep.h
priority.c build: cygwin: don't rely on _WIN32 being defined 2011-01-29 04:04:53 +02:00
priority.h
setenv.c
shmem.c
shmem.h
strsep.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
strsep.h
swab.c
timer-darwin.c osdep: tweak some #includes 2011-01-31 16:03:10 +02:00
timer-linux.c
timer-win2.c
timer.h
vsscanf.c