summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Cochran <sj26@sj26.com>2018-09-16 18:10:26 +1000
committerMichael Lutz <michi@icosahedron.de>2018-09-16 11:36:25 +0200
commit1a73c3983863304bde1810913525ad0c4d07883c (patch)
tree49d8ed4fbc5da8f23ddcdd40344168e8ea620c0f
parentca5b68145ad6f9631b72635fdfa0ab3a1937b707 (diff)
downloadopenttd-1a73c3983863304bde1810913525ad0c4d07883c.tar.xz
Add: BACKSPACE can be mapped as a hotkey
-rw-r--r--src/hotkeys.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hotkeys.cpp b/src/hotkeys.cpp
index 870e2cbea..12bd827fa 100644
--- a/src/hotkeys.cpp
+++ b/src/hotkeys.cpp
@@ -41,6 +41,7 @@ static const KeycodeNames _keycode_to_name[] = {
{"GLOBAL", WKC_GLOBAL_HOTKEY},
{"ESC", WKC_ESC},
{"DEL", WKC_DELETE},
+ {"BACKSPACE", WKC_BACKSPACE},
{"RETURN", WKC_RETURN},
{"BACKQUOTE", WKC_BACKQUOTE},
{"F1", WKC_F1},