1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

input: remove incorrect "CTRL" keyname alias for backspace

The keycodes.h file contains a KEY_CTRL define, then various control
keys expressed as "KEY_CTRL + 0" and so on. Back in 2002 when the key
name table in input.c was created this KEY_CTRL define was mistakenly
interpreted as a key name, apparently confusing it with the Ctrl key
(even though the input system didn't handle that key back then). As a
result there was an incorrect key name entry with the same key code as
backspace and name "CTRL". This incorrect entry was used when printing
the name of the key. Delete it.
This commit is contained in:
Uoti Urpala 2011-02-05 02:13:58 +02:00
parent 106c5f9989
commit 7f576e8b66

View File

@ -230,7 +230,6 @@ static const mp_key_name_t key_names[] = {
{ '#', "SHARP" },
{ KEY_ENTER, "ENTER" },
{ KEY_TAB, "TAB" },
{ KEY_CTRL, "CTRL" },
{ KEY_BACKSPACE, "BS" },
{ KEY_DELETE, "DEL" },
{ KEY_INSERT, "INS" },