x11: add KP_Separator to key mapping
commit7f6dae08e11fa90f7c8cb170daaf7ad23812f66d
authorwm4 <wm4@mplayer2.org>
Fri, 13 Jan 2012 07:25:21 +0000 (13 08:25 +0100)
committerUoti Urpala <uau@mplayer2.org>
Sun, 25 Mar 2012 19:30:37 +0000 (25 22:30 +0300)
tree3e144552a92d51d0ecb4ef2fe5b389db597ee451
parent467817ff9f653ce1ee188a149634129c9eaafb01
x11: add KP_Separator to key mapping

At least on some keyboards, the key between '0' and 'Enter' on the
key pad is mapped to KP_Separator. Since X11 VOs accept unicode
input, the mplayer keycode this key generates depended on the numlock
state, and with numlock enabled this mapped to an ASCII character.
This is probably not what the user wanted, since two physical keys
will always map to the same key code.

Map it to KP_DEC.
libvo/wskeys.h
libvo/x11_common.c