1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00
mpv/input
wm4 166a7de4cf input: allow unicode keys and reassign internal key codes
This moves all key codes above the highest valid unicode code point
(which is 0x10FFFF). All key codes below MP_KEY_BASE now directly map
to unicode (KEY_ENTER is 13, carriage return). Configuration files
(input.conf) can contain unicode characters in UTF-8 to map non-ASCII
characters/keys.

This shouldn't change anything user visible, except that "direct key
codes" (as used in input.conf) will change their meaning.

Parts of the bstr functions taken from libavutil's GET_UTF8 and
slightly modified.
2012-03-25 22:30:37 +03:00
..
appleir.c input: move all key code lists to input/keycodes.h 2011-05-02 00:43:31 +03:00
ar.c input/ar.c, input/lirc.c: fix changes missing from 1916b95b8 2011-09-04 08:04:31 +03:00
ar.h cleanup: remove some unnecessary input.[ch] typedefs 2011-07-16 21:32:37 +03:00
input.c input: allow unicode keys and reassign internal key codes 2012-03-25 22:30:37 +03:00
input.h libmenu: remove OSD menu functionality (--menu) 2011-10-25 07:05:47 +03:00
joystick.c input/joystick.c: add #include missing from 23cb829072 2011-05-03 13:26:30 +03:00
joystick.h input: move all key code lists to input/keycodes.h 2011-05-02 00:43:31 +03:00
keycodes.h input: allow unicode keys and reassign internal key codes 2012-03-25 22:30:37 +03:00
lirc.c input/ar.c, input/lirc.c: fix changes missing from 1916b95b8 2011-09-04 08:04:31 +03:00
lirc.h cleanup: remove some unnecessary input.[ch] typedefs 2011-07-16 21:32:37 +03:00