summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-26 20:39:28 +0200
committerwm4 <wm4@nowhere>2014-08-26 20:39:28 +0200
commitb7f72aa2f401037177149dde1a178c55741b0ff2 (patch)
tree047f65d467e5168ba8cd64efcc9ef1bb0d359d0c /player
parent480febf043be47f21b322c03abbcac953a67c468 (diff)
downloadmpv-b7f72aa2f401037177149dde1a178c55741b0ff2.tar.bz2
mpv-b7f72aa2f401037177149dde1a178c55741b0ff2.tar.xz
input: make key bindings like "Shift+X" work (for ASCII)
"Shift+X" didn't actually map any key, as opposed to "Shift+x". This is because shift usually changes the case of a character, so a plain printable character like "X" simply can never be combined with shift. But this is not very intuitive. Always remove the shift code from printable characters. Also, for ASCII, actually apply the case mapping to uppercase characters if combined with shift. Doing this for unicode in general would be nice, but that would require lookup tables. In general, we don't know anyway what character a key produces when combined with shift - it could be anything, and depends on the keyboard layout.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions