From a78d71029a0a7baf46f0028b13fdb4e73070fdad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6glund?= Date: Sat, 29 Aug 2015 21:53:34 +0200 Subject: [PATCH] Use DEVICE_ID_ANY for the NK_BACK key in default mappings --- Common/KeyMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/KeyMap.cpp b/Common/KeyMap.cpp index f1f2dc529..94dfc78e4 100644 --- a/Common/KeyMap.cpp +++ b/Common/KeyMap.cpp @@ -325,7 +325,7 @@ void UpdateNativeMenuKeys() { const KeyDef hardcodedCancelKeys[] = { KeyDef(DEVICE_ID_KEYBOARD, NKCODE_ESCAPE), - KeyDef(DEVICE_ID_KEYBOARD, NKCODE_BACK), + KeyDef(DEVICE_ID_ANY, NKCODE_BACK), }; for (size_t i = 0; i < ARRAY_SIZE(hardcodedCancelKeys); i++) {