mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
23cb829072
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. |
||
---|---|---|
.. | ||
menu_chapsel.c | ||
menu_cmdlist.c | ||
menu_console.c | ||
menu_dvbin.c | ||
menu_filesel.c | ||
menu_list.c | ||
menu_list.h | ||
menu_param.c | ||
menu_pt.c | ||
menu_txt.c | ||
menu.c | ||
menu.h | ||
vf_menu.c |