From 7f576e8b6633571ed9eb8fa9106cb06592b7470c Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 5 Feb 2011 02:13:58 +0200 Subject: 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. --- input/input.c | 1 - 1 file changed, 1 deletion(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index dd4a27d63c..822a1e3b42 100644 --- a/input/input.c +++ b/input/input.c @@ -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" }, -- cgit v1.2.3