mirror of
https://github.com/mpv-player/mpv
synced 2025-03-03 04:37:54 +00:00
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. |
||
---|---|---|
.. | ||
getch2-os2.c | ||
getch2-win.c | ||
getch2.c | ||
getch2.h | ||
gettimeofday.c | ||
glob-win.c | ||
glob.h | ||
macosx_finder_args.c | ||
macosx_finder_args.h | ||
mmap_anon.c | ||
mmap_anon.h | ||
mmap-os2.c | ||
mmap.h | ||
mplayer.exe.manifest | ||
mplayer.rc | ||
numcores.c | ||
numcores.h | ||
osdep.h | ||
priority.c | ||
priority.h | ||
setenv.c | ||
shmem.c | ||
shmem.h | ||
strsep.c | ||
strsep.h | ||
swab.c | ||
timer-darwin.c | ||
timer-linux.c | ||
timer-win2.c | ||
timer.h | ||
vsscanf.c |